Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: IDlgrSymbol...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 5596 of 6457
Post > Topic >>

Re: IDlgrSymbol recompute_dimensions ??

by bernat <bernat.puigdomenech@[EMAIL PROTECTED] > Apr 3, 2008 at 11:24 AM

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.
 




 5 Posts in Topic:
IDlgrSymbol recompute_dimensions ??
bernat <bernat.puigdom  2008-04-03 10:46:02 
Re: IDlgrSymbol recompute_dimensions ??
David Fanning <news@[E  2008-04-03 11:58:51 
Re: IDlgrSymbol recompute_dimensions ??
bernat <bernat.puigdom  2008-04-03 11:24:22 
Re: IDlgrSymbol recompute_dimensions ??
David Fanning <news@[E  2008-04-03 12:42:13 
Re: IDlgrSymbol recompute_dimensions ??
bernat <bernat.puigdom  2008-04-03 12:31:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 21:46:44 CST 2008.