Wind Vectors
WallaceStevens
Hi,
I am trying to create a wind vector plot and have been mostly successful (see attachment). I followed the Arrow Markers example in the IGOR manual and used my data. It is mostly what I am looking for, but I would like to have the arrow tails to all originate from the same y-coordinate. It appears the arrow markers in Igor are aligned along an arrow center line.
One way to do this is to deconstruct the wind vectors and adjust the y-coordinate individually for each arrow based on the y-component of each wind vector. But I don't know how to do that in Igor. Any help would be much appreciated. (My coding is pretty awful so I prefer not to share that here.)
Best,
Wallace
Try:
ModifyGraph arrowMarker(yData) = {arrowData, 1, 10, 1, 0}
The last parameter (0 in this case, but 1 in the demo in the manual) is the 'posMode'.
For more info, run this from the command line:
DisplayHelpTopic("ModifyGraph for Traces")
Hope this helps.
May 8, 2020 at 02:30 am - Permalink
In reply to Try: ModifyGraph… by KurtB
Hi KurtB, brilliant, thanks so much. I should have studied those options more closely
Best,
Wallace
May 8, 2020 at 07:51 pm - Permalink