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

Home » Public Forums » archive » Vector legend with PARTVELVEC
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Vector legend with PARTVELVEC [message #84232] Fri, 03 May 2013 09:43
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Widget Hyperlink
Next Topic: Re: Subscripting arrays.

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

Current Time: Wed Oct 08 13:39:35 PDT 2025

Total time taken to generate the page: 0.00544 seconds