Generate screen graphics using the Aquaterm library for
For Unix/Linux platforms, Dataplot typically uses the
X Window System to generate screen graphics. If you have
X11 installed on your Mac OSX system, this option is
available (initiate Dataplot from an xterm window and
enter the command DEVICE 1 X11 to open the graphics
The native mode windowing/graphics system under Mac OSX is
referrred to as Aqua. In addition to X11, Dataplot supports
an Aqua driver. If you initiate Dataplot from a regular
Mac OSX terminal session, you use the Aqua driver for screen
graphics rather than the X11 driver.
DEVICE <1/2/3> AQUA <xsize> <ysize>
where <xsize> and <ysize> are the size of the graphics
window in pixels.
This form designates one of DATAPLOT's 3 devices (typically
device 1) as an AQUA device.
The and arguments are optional and default
to 600 and 450, respectively.
DEVICE 1 AQUA
DEVICE 1 AQUA 800 600
The Aquaterm graphics window will become visible when you
generate the first plot after the DEVICE 1 AQUA command,
not when the DEVICE 1 AQUA command is initiated.
The Aquaterm graphics window persists even after you complete
the Dataplot session. You can delete this window manually.
Several SET commands were added to support AQUA specific
- SET AQUA FONT <font name>
The AQUA font name can be up to 80 characters long.
The default is "Helvetica".
The list of available fonts is typically quite long
and not given here. To see the list of available
fonts, intitiate Dataplot and enter a DEVICE 1 AQUA
command. Click on the graphics window (you may need to
generate a plot before this becomes visible). This will
switch the top menus on the Mac OSX screen to the Aquaterm
menus. From this menu bar, select HELP and then select
These Aquaterm menus will also allow you to save or print
the contents of the graphics window.
- SET AQUA CAP <BUTT/ROUND/SQUARE>
The cap style determines how the end of lines are drawn
(referred to as end-caps). We suggest that you experiment
with these options to see which you prefer.
- SET AQUA HARDWARE FILL <ON/OFF>
This command specifies whether solid regions are filled
in hardware (i.e., Aquaterm library) or software (i.e.,
Dataplot draws the lines to fill the area).
The default is ON (i.e., Aquaterm does the fill). This
is typically the most efficient method. However, if
the hardware fill has a problem, you can try setting
this switch to OFF.
The CROSS HAIR command (used to read the current coordinates
when you click the mouse) is not currently supported with
Also, the SAVE PLOT/REPEAT PLOT/CYCLE PLOT commands are not
currently supported for Aqua.
= Direct graphical output to an X11 window.
= Direct graphical output to a Postscript device.
= Specify certain actions for the graphics output.
SET AQUA FONT
= Specify the Aqua font to use.
SET AQUA CAP
= Specify the Aqua cap style to use.
SET AQUA HARDWARE FILL
= Specify how solid fills are performed.
DEVICE 1 AQUA
PLOT SIN(X) FOR X = 0 0.01 6
NIST is an agency of the U.S.
Date created: 01/15/2008
Last updated: 10/07/2016
Please email comments on this WWW page to