All Questions
11 questions
1
vote
1
answer
3k
views
Best way to generate pdf output from gnuplot
I have many data files in a directory. Each data file has various columns and I want vector plots using a few of them. Earlier I was generating .png files using a .gp script and combining them into a ...
2
votes
0
answers
141
views
xmgrace: bar graph vizualisation using batch
I am using xmgrace to plot 2D bar plot from the following input data:
@ title "H-bonds"
@ xaxis label "Donor"
@ yaxis label "Frac"
@s0 line type 0
@s0 symbol linewidth 1
@...
1
vote
1
answer
260
views
Sort the data to plot a circle
Here I have a data which I would to plot with line using Gnuplot.
Using the code
pl 'Sphere_ISOTEST_data.txt' w p
I get below figure
but, using
pl 'Sphere_ISOTEST_data.txt' w l
I get the following:
...
0
votes
1
answer
2k
views
working directory in gnuplot
How do I specify the working directory for gnuplot in interactive mode?
If I want to call a script with "call 'label_loop.gnu'" and do not want to put the script file in the gnuplot installation ...
3
votes
1
answer
973
views
gnuplot y1 y2 common zero
Is there an easy way to make gnuplot automatically show y1=0 and y2=0 at the same height in the image while the y1 and y2 axes have different scales?
The only way I am aware is to make sure the ...
1
vote
0
answers
837
views
Plotting first column as X and every other column as a separate line for Y in gnuplot
I have a data file that is formatted as following:
1 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000
2 0.943177 1.305333 1.735536 1.797774 1.598829 1.737834 ...
0
votes
1
answer
401
views
How to draw jitter plot using gnuplot?
I'm trying to plot the data of 100x11 array in plot using gnuplot. I created a .gnu file to generate plot but unable to get jitter plot.
I'm using the below code
set terminal pngcairo size 1280,800 ...
0
votes
1
answer
2k
views
gnuplot - is there a way to make a 1-variable live plot display the latest value with a label?
I am using a data-logging system that adds a value to a data file called today.dat every 2 minutes.
Here is what the data looks like:
Here is the gnuplot program I use, where X is time and Y is ...
1
vote
1
answer
1k
views
How to use bash shell for gnuplot to show Greek letter?
I want to write a bash shell for gnuplot to produce figures automatically. But my figure includes Greek letters inside. I have known their ASCII number, how can I show them correctly in figures after ...
4
votes
1
answer
2k
views
How to get rid of unnecessary lines in gnuplot
So using gnuplot, and my code looks like this:
set isosamples 40
unset key
set title "Radial Matrix Elements"
set xrange [1:15]
set yrange [1:15]
set xlabel "n1*"
set ylabel "n2*"
set zlabel 'R'
...
2
votes
2
answers
568
views
gnuplot 'with lines' produces unwanted "boxes"
I have following commands:
set xdata time
set timefmt "%s"
set terminal jpeg size 800,600
set output "image.jpg"
set yrange [-100:]
plot "file" using 1:2
Which provide the following output:
But if ...