Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Hi guys, I want to plot, using object graphics, the following data: xr=[0,10] yr=[5,-5] datax=findgen(10) datay=reverse(findgen(10)-5) Using direct graphics I don't have any problem: PLOT, datax, datay, xr=xr, yr=yr Normally, when I use object graphics I use the normalize.pro function from coyote's library. So, the same code to plot the data using object graphics should be this: aa=OBJ_NEW('IDLgrPlot') aa->Setproperty, datax=datax, datay=datay, xr=xr, yr=yr, THICK=20 position=[10,90] xs=NORMALIZE(xr, POSITION=position) ys=NORMALIZE(yr, POSITION=position) aa->SetProperty, xcoord_conv=xs, ycoord_conv=ys XOBJVIEW, aa Oups ! what's happening here. There is no result... ?? I think that the problem is because my yrange is from a positive value to a negative value. Do you know what's happening here and how can I obtain the same result as direct graphics ? thanks nata