9prady9 · GitHub

vectorField is a graphical function, so it is not included in the test series. The only way to test it, is by using it in examples. The are 3 versions of vectorField, dependent on the provision of the coordinates 1. full coordinates in 1 array 2. X & Y axis as separate arrays 3. X, Y & Z axis as separate arrays The corrected error is the part that combines all those different provisions (join) into 1 common set that is forwarded to forge to display. So in the example I added the 2nd form so that it can be verified. PS: The last form 3D is not included since forge has problems displaying those. I noticed that multiple 3D examples are broken. Willy

On Wed, 2 Oct 2024 at 19:20, Christophe Murphy ***@***.***> wrote: ***@***.**** commented on this pull request. ------------------------------ In examples/graphics/field.cpp <#3375 (comment)>: > myWindow(0, 0).vectorField(points, saddle, "Saddle point"); myWindow(0, 1).vectorField( points, hbowl, "hilly bowl (in a loop with varying amplitude)"); + + // 2D coordinates + myWindow(1, 0).vectorField(2.0 * flat(x), flat(y), flat(x), What are these extra plots for? — Reply to this email directly, view it on GitHub <#3375 (review)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQ2WGPFGG6GHRQ5DOK57LOLZZQTPFAVCNFSM6AAAAAAV2S2GCKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNBTGU4TKNJZGU> . You are receiving this because you were mentioned.Message ID: ***@***.***>

Read the original on github.com ↗