useful tricks of xmgrace
https://www.physik.tu-cottbus.de/~racec/graph.html
Graphic programs
Plots (2D, 3D), graphics
- XmGrace 2D-plots
- it works on every workstation
- is started by the xmgrace command
- can produce EPS and PDF files which can be includes in LaTeX files
- can produce graphic in graphic
- advanced topics
- GraceTMPL
(for automation of XMGrace)
- the plots contain a white background, which makes that
the eps file covers some text in LaTeX. You can change this
in two ways:
- Main Menu --> Plot --> Plot appearance --> Page background
-->deactivate Fill
- or in LaTeX use
\includegraphics*
(please, remark the * symbol)
- write text on the graph:
Main Menu --> Window --> Drawing Object -->
(pop-up a menu) Text --> click with the mouse on a location on the
graph -->
(pop-up a new menu) type the text on the String box
- A\sm\N\Sn\N (writes A with subscript m and superscript n)
- \x a \f{} (writes the greek letter alpha)
- \#{b7} (creates a dot for multiplication)
- some advanced symbol-text , and the
the xmgrace source of it
- operations with data sets
- Call up the command interpreter from Main:Window/Commands ...
- We need to create a set to hold the result, S2.
We can type a command: s2 length s0.length
- We have to break up the computation into an x part and a
y part.
s2.x = s0.x
Now we can perform the math:
s2.y = cos(s0.y) + sin(s1.y)
Unhide the set by typing: S2 on
.
- ftp://gd.tuwien.ac.at/visual/grace/ (agrmerge.pl,...)
- one can use the Help item on main menu.
Also a tutorial is provided.
- see local documentation
- xmgr (old version of XmGrace)
- it works on every workstation
- is started by the xmgr command
- advanced topics
- xmgr -maxgraph 50 (allows 50 graphs)
- xmgr -maxsets 50 (allows 50 sets)
- Xmgr User Guide
没有评论:
发表评论