Grace (originally named Xmgrace) is a 2D plotting tool which allows you to interactively modify plots, to set all kind of plot parameters, change the appearance of your figure, and to save the figure in the format of your choice. It can also be scripted to automate the generation of plot images. Grace also includes many tools for data set analysis, including regression fitting, plotting of functions and data set manipulations.
Questions tagged [xmgrace]
85 questions
2
votes
0 answers
How to plot multiple sub graph using xmgrace in one file
I want to plot data from multiple files to one page using xmgrace.
Example:
I have files name a.dat b.dat c.dat with data in two columns.
Now I want to plot the data from the *.dat files in different sub-plots using xmgrace. The Sub-plot Matrix is…

Narender Bansal
- 47
- 7
2
votes
2 answers
How to plot 10th power range in gnuplot or xmgrace?
I am using the following data set:
x = 10, 20, 50, 100;
y = 1.2e-5, 3.5e-8, 6.8e-14, 2.5e-20;
If I plot x:y in gnuplot or xmgrace, the y points in the plots are indistinguishable (particularly the last three ones).
Is there is any trick to…

Somnath Bhowmick
- 25
- 7
2
votes
1 answer
Simple file legend in Xmgrace
I am using xmgrace to plot several graphs on a shared axed, from a two-column data file like so:
@ title "RMSD"
@ xaxis label "Time (ns)"
@ yaxis label "RMSD (nm)"
@TYPE xy
@ subtitle "C-alpha after lsq fit to C-alpha"
1.7125001 …
user4007276
2
votes
1 answer
xmgrace: finding the sum of residuals
I am using xmgrace's curve fitting option (DATA-->TRANSFORMATION-->REGRESSION), and I want to find the sum of all residuals^2. xmgrace has an option giving me all the residuals, and I already took the square of this, but I want to find the sum of…

tptptpfg
- 51
- 1
- 9
2
votes
1 answer
How to use batch script with xmgrace
I am trying to use a batch script to plot data with xmgrace. However, I have encountered major problems in trying to find documentation on how to do this. I am trying to produce a panel plot, with graphs looking like this:
I am having problems with…

Eyching
- 21
- 1
- 3
2
votes
2 answers
Increase font size in grace/xmgrace editor window
I would like to increase the font size in the Grace editor window (e.g. 'File', 'Edit', 'Data', dropdown menus, push-buttons etc.). I am running Grace 5.1.23 on Ubuntu 14.04. I have run the program on 2 machines and 4 monitors with various…

srcerer
- 1,068
- 10
- 19
1
vote
1 answer
How to write symbols bold font in xmgrace?
Hi I can write symbols in xmgrace but couldn't find option to bold symbol (for example , I couldn't write bold mu symbol. Any help would be appreciated.

krishna
- 11
- 1
1
vote
1 answer
How can I fix the error in installing xmgrace in Mac Mojave?
I tried to install xmgrace via brew with the command brew install grace, but then following error occurs:
Can't open display
Failed initializing GUI, exiting
I operate in the bash shell on a macOS Mojave10.14.6.
How can I fix the error?

Lucila Alvarez Zuzek
- 13
- 1
- 3
1
vote
1 answer
How to make a hat vector character in xmgrace
How can I make a hat vector character in XMGRACE? I've been trying all combinations for two hours now.

Mona
- 13
- 3
1
vote
1 answer
Evaluate expression: how to also modify error bar values
Given a set of points with vertical error bars, if I simply apply a transformation on them through Data > Transformations > Evaluate Expression (such as y=y/5) only the points themselves are transformed, but not the error bars.
How can I apply the…

Quasímodo
- 3,812
- 14
- 25
1
vote
2 answers
Is it possible to rotate the legend box in xmgrace?
This may be useful if the legend text is long and the graph has some empty vertical space on one side. Can the legend be in the green box with text going vertically (see figure below)?

Saurish Chakrabarty
- 23
- 3
1
vote
1 answer
would you help me how to change the order of data set on xmgrace?
I've been trying to find a way how to change the order of data on xmgrace.
Let's say on my dat file, my data is
x dx y dy instead of x y dx dy. So, how can I change and set this order on xmgrace? I mean I think I could do it using evaluate exp but…

usermrt
- 53
- 8
1
vote
1 answer
Good-looking bar plots via xmgrace?
I have the simple 2D graphs in the following format:
@ title "No tittle"
@ xaxis label "Water Index"
@ yaxis label "Occupancy"
@TYPE xy
22710 1147
24183 3
25029 1198
30513 671
33768 1
44475 69
45612 …
user8510929
1
vote
1 answer
Scatter plot for every pairs in a two column matrix
I have a matrix which contains the atom numbers of the pairs of atoms which are in contact with each other. My matrix is like this:
column 1: atom number i;
column 2: atom number j
i,j runs from 1 to 800.
If there is a pair i-j in the matrix,…

user135539
- 13
- 4
1
vote
1 answer
How to fit and calculate the average for data sets in xmgrace?
I have a function which I like to fit it to a function of Y=a+(1-a)exp(-x/T) to get the T value for it.
I want to do these using Xmgrace but I do not know how.
Thanks for your suggestions.

Mon
- 61
- 1
- 8