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.


|