comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Vector legend with PARTVELVEC
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Vector legend with PARTVELVEC [message #84218] Sun, 05 May 2013 04:25 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 05/05/2013 12:26 AM, ljs15@fsmail.net wrote:
> Perhaps I misunderstand, but if you just want to draw a single arrowfor
> a legend, I would use cgArrow.pro (or arrow.pro), rather than partvelvec.

Yes, but the length of the arrow should correspond to the length of the
arrows drawn by partyvelec. Typically, you have a windfield to plot on
an image, and you now the (u,v) or your wind field and their (x,y)
positions in /data coordinates. for example, if your wind speed ranges
from 0 to 12. m.s-1, you might want to add a legend to your plot with an
arrow showing the length of a wind arrow of 10 m.s-1.

Anyways, I'll think about a version of partvelvec which provides an
ouptut structure (in /NORMAL coordinates) of the longest arrow it has
plotted and use cgArrow to draw the legend. This should be fine.

Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: dialog_pickfile bug?
Next Topic: Re: dialog_pickfile bug?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:21:03 PDT 2025

Total time taken to generate the page: 0.00176 seconds