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
0
votes
1 answer
Xmgrace: linear regression using error bars
The question is really simple: how do I perform a linear regression using errorbars on Xmgrace?
I know I have to load the data as XYDY (my file is a 3-column file with y-errors on the third column), but I just can't figure out how to tell him to…

valerio
- 677
- 4
- 12
- 25
0
votes
0 answers
Found a type error for plotting grap in xmgrace
I found this error when I run command for plotting a graph using the GracePlot module in Python. please tell me how can i resolve it?
in gen_axis
self.gen_axis('x', ax_min=xmin, ax_max=xmax, **kwargs)
in xaxis
…

Ayesha Kanwal
- 11
- 5
0
votes
1 answer
How to sum spectra in xmgrace?
I have a batch file for xmgrace. When I plot several sets of voltage signal measurements, the batch file Fourier-transforms them all and moves them to a different graph. I would like to add a command to the batch file, that will sum the…

Nikolay Sosnin
- 13
- 4
0
votes
1 answer
Performing FFT on data in xmgrace on command-line startup
I have a bash script which features reading of an input file by xmgrace. It reads everything in and formats the window correctly. I would also like it to automatically perform an FFT as soon as the data is read in, instead of clicking all the GUI…

Nikolay Sosnin
- 13
- 4
0
votes
1 answer
Text boxes in xmgrace (preferably with GracePlot.py)
I am currently plotting figures with xmgrace from python using GracePlot.py and I would like to make text annotations in the graph and place them inside a box, in order to make the reading easy when the grid is on.
Does anybody know how to do it…

OriolAbril
- 7,315
- 4
- 29
- 40
0
votes
1 answer
how to set different font in xmgrace batch file
How do I change the font of xaxis, yaxis label and title to (arial for example) in xmgrace batch file?

Michal Škultéty
- 200
- 3
- 20
0
votes
2 answers
How to fix error and install xmgrace smoothly?
I tried to install xmgrace via brew with the command brew install grace, but then following error occurs:
Error: No available formula for grace
Searching formulae...
Searching taps...
homebrew/x11/grace
I operate in the bash shell on a Mac OSX…
user3182395
0
votes
1 answer
How to add a line in xmgrace plot
I have a plot of distance vs. time for a large set of data. I want to draw a line, say, parallel to x-axis at a distance 2.00 (in some scale) i.e. need to add another plot of y =2.
Any help might be useful;I did it by transferring the plot in…

Mahendra Thapa
- 163
- 2
- 4
- 12
-1
votes
1 answer
How to place files containing increasing numeric names consecutively in the terminal
I have certain files named something like file_1.txt, file_2.txt, ..., file_40.txt and I want to plot them in the terminal using xmgrace like this:
xmgrace file_01.txt file_02.txt [...] file_40.txt
What would be a bash code, maybe a for loop code…

Camilo Febres
- 11
- 6
-1
votes
1 answer
xmgrace: changing color of the XY graph in batch execution
I am using gracebat integrated into my bash script to make simple XY graph from 2D numerical data
gracebat input.xvg -hdevice PNG -fixed 800 600 -world 0 0.02 610 0.5 -printfile output.png -hardcopy
This simple execution without GUI produces the XY…

James Starlight
- 317
- 1
- 6