Difference between revisions of "Xmgrace"

From CUC3
Jump to navigation Jump to search
import>Mp466
(Xmgrace Commands)
import>Mp466
Line 3: Line 3:
   
 
gracebat batch.agr -block qscore.plot -bxy 0:2 -hardcopy -printfile temp.ps -saveall temp.agr
 
gracebat batch.agr -block qscore.plot -bxy 0:2 -hardcopy -printfile temp.ps -saveall temp.agr
  +
   
 
Will save a file as SVG file format
 
Will save a file as SVG file format
Line 12: Line 13:
   
 
superscript (A\S2\N)
 
superscript (A\S2\N)
  +
 
F(Q)/\xe
 
F(Q)/\xe
  +
 
\AA angstrom
 
\AA angstrom
  +
 
\8D\4\S2\4\N=400 \1meV
 
\8D\4\S2\4\N=400 \1meV
  +
 
\1 Bold
 
\1 Bold
  +
 
\2 Italics
 
\2 Italics
  +
 
\4 Normal
 
\4 Normal
  +
 
\8 Greek Font
 
\8 Greek Font
   

Revision as of 12:15, 13 June 2008

The below command will read in a saved session file, read some data in column format (blank space delimited). Use the index and the second column as the X and Y axises. A post script file with be saved as well as a new session file. The command will be run interactively.

gracebat batch.agr -block qscore.plot -bxy 0:2 -hardcopy -printfile temp.ps -saveall temp.agr


Will save a file as SVG file format

xmgrace -hdevice SVG temp.agr -hardcopy -printfile eq_template.svg


Special xmgrace formating examples

superscript (A\S2\N)

F(Q)/\xe

\AA angstrom

\8D\4\S2\4\N=400 \1meV

\1 Bold

\2 Italics

\4 Normal

\8 Greek Font

--mp466 12:15, 13 June 2008 (BST)