One of the frustrating things about using xmgrace is that it is not immediately obvious how to copy and paste.
You can copy selected text with ctrl-insert
and paste it using shift-insert
. This will work, for example, when editing the data set legend labels or axis labels.
However, if you do this many times it will become tedious. If you have already created a graph with labels you can re-use them all by saving a parameters file (a kind of template file).
To do this, with your first plot file loaded click 'Plot' > 'Save parameters' then choose a filename and click 'OK'.
You can then load the parameters file into any later plot. The parameters file contains lots of Graph, Set and Axis properties too.
Alternatively, when you are creating your second graph, add the -param
flag to your command on the terminal.
e.g. xmgrace -param /foo/bar/template.par data1.dat data2.dat