Hi Greg,
I tried to do a similar thing. Here is a piece of code that worked for me:
; get a reference to the itool
oTool = oSystem->_GetCurrentTool()
; get ref to x data
oDataX = otool->GETBYIDENTIFIER("/DATA MANAGER/PLOT PARAMETERS/X")
status = oDataX->GetData( x, ident )
; get ref to y data
oDataY = otool->GETBYIDENTIFIER("/DATA MANAGER/PLOT PARAMETERS/Y")
status = oDataY->GetData( y, ident )
xnew = 5+indgen(100)
ynew = indgen(100)*0.1
status = oDataX->SetData( xnew, ident )
status = oDataY->SetData( ynew, ident )
Regards,
Pepijn
|