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

Home » Public Forums » archive » IDlgrSymbol recompute_dimensions ??
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: IDlgrSymbol recompute_dimensions ?? [message #59669 is a reply to message #59571] Thu, 03 April 2008 11:24 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I do that,

plot=OBJ_NEW('IDlgrPlot', SYMBOL=oSymbol)

plot->SetProperty, DATAX=datax, DATAY=datay
plot->GetProperty, XRANGE=xrange, YRANGe=yrange

xs=NORMALIZE(xrange, POSITION=[location[0],
location[0]+dimensions[0]])
ys=NORMALIZE(yrange, POSITION=[location[1],
location[1]+dimensions[1]])

plot->SetProperty, XCOOR_CONV=xs, YCOORD_CONV=ys

Where datax and datay are my values, oSymbol is my IDLgrSymbol and
location and dimensions is the position and dimensions of the plot in
the View.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: something strange with MESH_VOLUME
Next Topic: Re: something strange with MESH_VOLUME

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

Current Time: Fri Oct 10 15:11:55 PDT 2025

Total time taken to generate the page: 1.84223 seconds