Any tricks for including cursors/crosshairs when saving graphs as images?

Hi,

Is there some trick I don't know for including cursors/crosshairs when saving graphs as images? Seems like this should be a flag option in SavePICT. I recognize it's possible to achieve this with drawing tools, but positioning cursors is much easier than producing the equivalent drawing.

Thanks,
Nick
I don't think there is a way to save the cursors, but others might correct me.

Have you considered using a tag to mark data points?

A way to generate a tag that "mimicks" the standard cursors, and based on current cursor position, might be
Tag/C/N=Acsr/X=0/Y=0/L=0/F=0/B=1 $CsrWave(A), pcsr(A), "\\Z14\\W542"
and
Tag/C/N=Bcsr/X=0/Y=0/L=0/F=0/B=1 $CsrWave(B), pcsr(B), "\\Z14\\W512"
You can kill the cursors using
Cursor/K A; Cursor/K B

Wolfgang
nplumb wrote:
Hi,

Is there some trick I don't know for including cursors/crosshairs when saving graphs as images? Seems like this should be a flag option in SavePICT. I recognize it's possible to achieve this with drawing tools, but positioning cursors is much easier than producing the equivalent drawing.

Thanks,
Nick

SavePICT [/B=dpi /C=c /D=d /E=e /I/M/N=winName /O/P=pathName /PICT=pict PLL=p /Q=q /R=resID /RES=dpi /S /SNAP=s /T=t /TRAN[=[1][0]] /W=(left,top,right,bottom ) /WIN=winSpec /Z] [as fileNameStr ]
The SavePICT operation creates a picture file representing the top graph, table or layout. The picture file can be opened by many word processing, drawing, and page layout programs.

Try SavePICT/SNAP with the cursor info panel internal to the graph by un-checking the "Floating Graph info palettes" checkbox in the Misc Settings dialog's "Compatibility" tab.

/SNAP=s Saves a snapshot (screen dump) of a graph or panel window.
s =1: Include all controls in capture.
s =2: Capture only window data content (graph only.)
Snapshot mode is available only for graphs and panels and only for bitmap export formats PNG, JPEG, and TIFF at screen resolution. When using /W to specify the size of a graph, the capture is sized to fit within the specified rectangle while maintaining the window aspect ratio. Coordinates used with /W are in pixels.



--Jim Prouty
Software Engineer, WaveMetrics, Inc.