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 #84231 is a reply to message #84223] Fri, 03 May 2013 10:25 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
Perhaps I misunderstand, but if you just want to draw a single arrow for a legend, I would use cgArrow.pro (or arrow.pro), rather than partvelvec.

--Wayne

On Friday, May 3, 2013 12:43:11 PM UTC-4, Fabien wrote:
> Hey IDLers,
>
>
>
> Maybe I haven't been searching hard enough but I did not find a way to
>
> use PARTVELVEC to draw only one vector as a legend vector. I guess I
>
> could do this myself by making my own partvelvec routine, but I thought
>
> this would be something the community might already have done.
>
>
>
> It is not that trivial since partvelvec draws in DATA coordinates, while
>
> the legend vector should be plotted outside the image. And the length of
>
> the legend should correspond to that of the plot of course ;-). I think
>
> this can only be done by modifying partvelvec so that it returns
>
> "something" that can be used to plot a legend afterwards. Like:
>
>
>
> cgImage, myImage
>
> partvelvec, vx, vy, px, py, /OVER, LEGEND_struc=legend ;output
>
> partvelvec_legend, legend, POSITION=poslegend, etc.
>
>
>
> Anyways, if someone did this already and is willing to share I would be
>
> very thankful. If not, I'm open to suggestions on how to do this the
>
> right way ;)
>
>
>
> Cheers,
>
>
>
> Fab
[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 19:55:22 PDT 2025

Total time taken to generate the page: 0.00437 seconds