Tagged Questions

Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms.

learn more… | top users | synonyms

1
vote
0answers
133 views

extracting data from a log file and plotting it using Gnuplot

I have a logfile with the following data in it: Sat Sep 20 11:25:01 BST 2014 -- temp=53.0'C -- message from script /usr/src/scripts/wifi_test_2.sh Sat Sep 20 11:26:01 BST 2014 -- temp=53.0'C -- ...
0
votes
0answers
57 views

My gnuplot-pdflatex plot script produces a pdf with a bug

I have written a script in bash to easily make gnuplot multiplots via the epslatex terminal and then automatically make a pdf file via pdflatex. However when I open the pdf file with evince (on Ubuntu ...
1
vote
1answer
40 views

Home and End keys in a gnuplot interactive terminal do not move cursor

When working interactively with gnuplot, the home and end keys do not move the cursor to the beginning and end of a line, but instead produce the characters "OH" and "OF", respectively. What's the ...
0
votes
0answers
18 views

Reverse yrange without shifting histogram in the downward direction

i want to draw the given image in gnuplot. I tried it in gnuplot, but i am stucked with reversing of y axis (below the graph which i currently obtained). i want to represent yrange from 2300 ...
5
votes
1answer
53 views

How to get rid of unnecessary lines in gnuplot

So I'm pretty new to 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*" ...
0
votes
0answers
122 views

Gnuplot and process-substitution

I have a log file where I need to cut out two values at different positions. these are: time and dQ in my file. The main problem is the paste I think. cause the other utilities work pretty well on ...
1
vote
0answers
533 views

Octave - warning: unable to open X11 DISPLAY

My setup is as follows: Octave 3.6.4 Mac OS X Mavericks 2009 Macbook Pro I'm trying to run Octave in Terminal, with gnuplot. I'm trying to plot matrices in a graph, as part of an online Coursera ...
2
votes
1answer
145 views

How to take advantage of gnuplot internal functions by column reference at shell

I want to do something like: echo "p 'myfile.txt' u 1:(exp($2))" | gnuplot -p but need the shell to pass the $2 as a literal into gnuplot.
3
votes
1answer
319 views

gnuplot lost the plot

I'm experimenting with evolutionary algorithms and I have written two text files that I cannot get the plot. Based on the information on google, I think I have the format correct. ...
3
votes
1answer
1k views

GNUplot--Change steps of yrange

I'm learning GNUplot. I need to change steps in which Y values increase while plotting my graph.xrange command will change range but steps. Ex. I have data like this 1 1000 2 1500 3 1 4 200 ... By ...
3
votes
1answer
1k views

gnuplot shell variable substitution and arrays

I need to use shell variables in my gnuplot commands, for which I'm using the here document style. I also need to use loops inside the gnuplot code. Both these things are working. Now -- I want to ...
2
votes
1answer
598 views

specify geometry of a new gnuplot window in lxde

I have a script that runs a calculation and then plots the result using gnuplot script file. The problem is that I need to make more than one plot and I don't want windows to cover each other. I ...
3
votes
2answers
171 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: ...
6
votes
1answer
12k views

automate gnuplot plotting with bash

I have 6 files which need to be plotted as line graphs with error margins and output them to different png files. The file format is as follows. seconds mean-average min max How would I go about ...
1
vote
2answers
622 views

How to plot many linegraphs on one page with gnuplot

In gnuplot, I want to plot many line graph in one window. I drew graph with multiplot but the label names are not displayed properly, label1 and label2 are printed over each other. How can I solve ...
3
votes
1answer
3k views

Plotting in gnuplot

I have a set of data in a text file (X,Y coordinates which are not sorted). I want to plot it using gnuplot and connect plotted points using lines. I tried: plot "a.txt" with lines but it is ...