Xmgrace

Name

grace - command line interface
xmgrace - full-featured GUI mode
gracebat - batch mode - print and exit

  1. Xmgrace is the wysiwyg version on linux side that also uses grace as a backend. Qtgrace is a native windows application that uses QT in similar fashion than Xmgrace uses X and motif.
  2. Packages for openSUSE Factory. Xmgrace-5.1.25-28.103.i586.rpm xmgrace-5.1.25-28.103.src.rpm xmgrace-5.1.25-28.103.x8664.rpm.

The usual data-format for Grace/xmgrace is an ascii-file with tabs as column-separators and new-lines as row-sparators. But if you are using dates or time this will not work nevertheless. If you want I can upload the current development-version of QtGrace that is very capable of reading files of differnt formats via simple drag and drop.

Description

Grace is a WYSIWYG tool to make two-dimensional plots of scientific data.

Synopsis

grace [ option | filename ]...
xmgrace
[ option | filename ]...
gracebat
[ option | filename ]...

Options

-autoscalex|y|xy|none

Set autoscale type
-barebones
Turn off all toolbars
-batchfile
Execute batch file on start up (i.e., after all other options have been processed and the UI initialized)
-blockfile
Assume the data file is block data
-bxyx:y:etc.
Xmgrace
Form a set from the current block data set using the current set type from columns given in the argument
-datehintiso|european|us|days|seconds|nohint
Set the hint for dates analysis
-dpipedescriptor
Read data from descriptor on startup
-fixedwidth height
Set canvas size fixed to width*height
-free

Use free page layout

-graphnumber
Set the current graph number
-graphtypetype
Set the type of the current graph
-hardcopy
No interactive session, just print and quit
-hdevicedevice_name
Set default hardcopy device. See xmgrace -version for a list of supported devices.
-install
Install private colormap
-legend load
Turn the graph legend on
-logx|y|xy
Set the axis scaling of the current graph to logarithmic
-maxpathlength
Set the maximal drawing path length
-mono

Run grace in monochrome mode (affects the display only)

-netcdffile
Assume data file is in netCDF format. This option is present only if the netCDF support was compiled in
-netcdfxyX_var Y_var
If -netcdf was used previously, read from the netCDF file X_var and Y_var variables and create a set. If X_var is 'null' then load the index of Y to X. Thisoption is present only if the netCDF support was compiled in
-noask

Assume the answer is yes to all requests, if the operation would overwrite a file, grace will do so without prompting

-noinstall
Don't use private colormap
-noprint
In batch mode, do not print
-nosafe
Disable safe mode
-nosigcatch
Don't catch signals
-npipefile
Read data from named pipe on startup
-nxyfile
Assume data file is in X Y1 Y2 Y3 ... format
-paramfile
Load parameters from file to the current graph
-pexecstring
Interpret string as a parameter setting
-pipe

Read data from stdin on startup

-printfilefile
Save print output to file
-remove
Remove data file(s) after read
-resultsfile
Write results of some data manipulations to file
-rvideo
Exchange the color indices for black and white
-safe

Run in the safe mode (default)

-saveallfile
Save all to file
-seedvalue
Integer seed for random number generator
-settypexy|xydx|...
Set the type of the next data file
-sourcedisk|pipe
Source type of next data file
-timerdelay
Set allowed time slice for real time inputs to delay ms
-timestamp
Add timestamp to plot
-version
Show the program version, registered devices and build time configuration information.
-viewportxmin ymin xmax ymax
Set the viewport for the current graph
-wdpath
Set the working directory
-worldxmin ymin xmax ymax
Set the world coordinates for the current graph
-usage|-help
This message

Resources

When run in the GUI mode, the interface is a subject to X resource settings.

Environment

GRACE_HOME

mozilla %s
GRACE_EDITOR
Specifies the editor which is used to edit sets. Default is xterm -e vi
GRACE_PRINT_CMD
The print command.
GRACE_FFTW_RAM_WISDOM
and GRACE_FFTW_WISDOM_FILE A flag (0 or 1) and a file name which determine whether a FFT should use 'wisdom' when using the FFTWlibraries.

Files

In many cases, when Grace needs to access a file given with a relative pathname, it searches for the file along the following path:./pathname:./.grace/pathname:~/.grace/pathname:$GRACE_HOME/pathname

The following files are of a special importance:

Xmgrace Download

gracerc - init file loaded upon start up.

templates/Default.agr - the default template, loaded whenever a new project is started.

fonts/FontDataBase - the file responsible for font configuration.

See Also

grconvert(1), X(1) [or xorg(1)], Grace User's Guide

Home Page

Bugs

The best way to submit a bug report is using the 'Help/Comments' menu entry. Alternatively, see the home page.

Authors

Grace is derived from ACE/gr (a.k.a Xmgr ) written by Paul J Turner. From version number 4.00, the development was taken over by a teamof volunteers under the coordination of Evgeny Stambulchik.

Xmgrace Tutorial

Copyright

Copyright © 1991-1995 Paul J Turner, Portland, OR
Copyright © 1996-2007 Grace Development Team

Xmgrace Greek Letters

License

The program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License,or (at your option) any later version.