LC Hotline: 2-4531

From offsite: (925) 422-4531

 

Hours

Monday–Friday
8am–12pm, 1–4:45pm
B453 R1103 | Q-clearance area

 

Grace

Overview

Grace is a WYSIWYG 2D plotting tool for the X Window System and M*tif. Grace is the successor to ACE/gr, also known as Xmgr.

Grace Features at a Glance

General

  • WYSIWYG design
  • Convenient point-and-click graphical user interface
  • Precise control of graph features
  • True publication quality
  • Graphs refresh almost instantly

Export Options

  • Exports high-resolution graphics to (E)PS, PDF, MIF, and SVG formats
  • Supports cross-platform PNM, JPEG and PNG formats
  • Device-independent Type1 font rastering, including anti-aliasing, ligatures and kerning

Flexibility

  • Unlimited number of graphs, unlimited number of curves on a graph
  • Up to 256 customizable colors, 9 dashed line styles, 32 fill patterns, 10 built-in marker symbols; plus, any character glyph from any font can be used as a marker
  • Color/fill markers, text annotations with subscripts, superscripts, mixed fonts, styles and colors and more complex typesetting

Curve Fitting

  • Linear and nonlinear least-squares
  • Calculation and display of residuals
  • Arbitrarily complex user-defined fitting functions, including dynamically loadable C/Fortran/... modules
  • Fitting with constraints
  • Region restrictions
  • Fitting with arbitrary weight functions

Data Analysis

  • FFT, integration and differentiation, histograms, splines, including Akima splines, interpolation and smoothing, convolution, correlation, covariation, sorting

Data Formats

  • Unlimited data size; up to six dimensions plus an optional array of strings
  • Reads text data input files, 1D netCDF files

Programmability

  • Built-in programming language
  • Math functions manipulate entire array
  • Variables, including arrays (1D)
  • User-definable functions via loadable modules
  • All aspects of plot outlook can be programmed
  • Controllable by external programs

Customization/Extensibility

  • Dynamic module loading - write your own C/Fortran/...
  • User-defined colors
  • User-supplied fonts and encodings

Environment

Machines and Versions

See LC graphics software page.

Location

/usr/local/bin/xmgrace

Settings

no special settings are needed to run Grace at LLNL. The setting of environment variables is done automatically.

Usage

Just type xmgrace .

Help

There are links to the FAQ, User's Guide, a tutorial, and mailing list archives at
http://plasma-gate.weizmann.ac.il/Grace/.
The developers of the software seem very receptive to feedback if one is diligent in first reading the FAQ and other docs before asking questions.

Help is available from the lc-hotline@llnl.gov, (925) 422-4531.

Download

RPM's, source and binary distributions are available at ftp://plasma-gate.weizmann.ac.il/pub/grace/

Links

Grace Home Page

UCRL-MI-128467-REV-1