Difference between revisions of "Xmgrace"

From CUC3
Jump to navigation Jump to search
import>Mp466
import>Mp466
Line 2: Line 2:
 
interactively.
 
interactively.
   
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
   
xmgrace -hdevice SVG temp.agr -hardcopy -printfile eq_template.svg
+
xmgrace -hdevice SVG temp.agr -hardcopy -printfile eq_template.svg
   
   
 
Special xmgrace formating examples
 
Special xmgrace formating examples
   
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
   
 
--[[User:mp466|mp466]] 12:15, 13 June 2008 (BST)
 
--[[User:mp466|mp466]] 12:15, 13 June 2008 (BST)

Revision as of 12:35, 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)