>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User

# Plot Commands

The units used in these commands are based on an isigraph window of 1000 by 1000. The point 0,0 is the bottom left corner.

Some of these commands refer to "gl" commands which are documented in the wd Commands online help.

Command | Description
reset [parent] | reset plot with optional parent window id. For example:
       pd 'reset'
new [window] | starts new plot with optional window, sets user defaults. Use to set initial values, and when display multiple plots. The default window is 0 0 1000 1000. For example, create a new plot window with xy position 100 100, and of size 400 by 600:
       pd 'new 100 100 400 600'
use window | change window
text, textc, textr arg | text (left aligned), centered, right aligned. Argument is x y text, where x y are coordinates relative to window. For example, the following writes the text "J Graphics" centered at position 500 950:
       pd 'textc 500 950 J Graphics'
{options} | sets plot options. See Plot Options For example:
       pd 'backcolor white; frame 1'
{numeric data} | sets plot data. More than one set of data can be given.
clip [w h] | copy plot to clipboard in wmf format w h are clipboard width and height in 0.01 millimeters, default 10000 7500
show | displays plot
save [file w h] | save plot to file in wmf format file is filename. The file extension defaults to .wmf. If file not given, 'save' is treated as 'clip'. w h are relative width and height. Default is current plot width and height. For example, 1000 1000 same width and height 1000 500 width is twice height
savebmp [file w h] | save plot as 24bit color bitmap file. file is filename. The file extension defaults to .bmp. If file not given, the bitmap is copied to the clipboard. w h are width and height in pixels, default 512 512.

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User