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

Home » Public Forums » archive » PARTVELVEC procedure not overplotti​ng despite setting OVER keyword;Trouble with OPLOT
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
PARTVELVEC procedure not overplotti​ng despite setting OVER keyword;Trouble with OPLOT [message #77101] Wed, 27 July 2011 17:10
jake is currently offline  jake
Messages: 2
Registered: July 2011
Junior Member
Hi all,

I thought I successfully posted this message earlier, but apparently I
was not yet a member.
However, in essence, I have been trying to plot vector
arrows (using the partvelvec procedure) ontop of a previously plotted
flux distribution to help visualize the direction of a gradient. One
uncertainty I have is the coordinate system Partvelvec expects. One
individual I have communicated with believes that the program utilizes
"the data coordinate system of the positions you pass into
Partvelvec." Is this correct? I have been inclined to use normalized
coordinates after seeing a null plot spanning from 0 to 1 on the x and
y axes. I realize that if the positions I define in my argument do not
match up with the previously established positions, i.e. on the flux
distribution, then that could be particularly problematic in getting
the result I want. Apart from this, or perhaps because of this, my
setting the overplot keyword seemed to have no effect. Just to throw
in a few lines of interest from my code:

Partvelvec,grad_intensity_x,grad_intensity_y, xarrow, yarrow, $
color = 'white', /over, length = 0.1.

While this is somewhat vague I have taken care to verify that the
above arguments are adequately defined.

Also, just to try my luck in plotting something ontop of the
aforementioned flux distribution I have overplotted a couple asterisks
upon normalizing my data, calling:

pointx = [0.25, 0.75] & pointy = [0.25, 0.75]
OPLOT, pointx, pointy, color = 190, linestyle=0, $
SYMSIZE=10.0, PSYM=2

PLOTS, pointx, pointy, color=190, linestyle=0, $
SYMSIZE-10.0, PSYM=2, /NORMAL

PLOTS seemed to work better than OPLOT as OPLOT only partially
displayed an asterisk in the lower left window ontop of my color bar.
Any idea(s) why?

Much appreciative,

Jake
[Message index]
 
Read Message
Previous Topic: v8.1 Workbench Path problem?
Next Topic: Re: Out of Africa

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

Current Time: Wed Oct 08 16:02:59 PDT 2025

Total time taken to generate the page: 0.00197 seconds