Questions tagged [gnuplot]
Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms.
98
questions
1
vote
1
answer
73
views
Gnuplot doesnt fit line graph to left and right edges
With Gnuplot 5.2 and 5.4.5, when plotting time-series data the drawn lines dont meet the left and right edges
If I delete a few data rows from the end of my CSV file it gets better
If I delete more, ...
1
vote
1
answer
110
views
set mouse mouseformat with gnuplot 5.2 or 5.4 for windows: wrong when explicit timedate format provided
set mouse mouseformat
seems not to work when specifying format that includes timedate data.
set mouseformat 3
gives you timedate vs y-axis, timedate format being previously specified with set ...
2
votes
1
answer
4k
views
Plotting multiple columns in gnuplot
I have these data:
-22.42778 20.55840 -4.3E+0015
-22.41731 20.58783 -4.3E+0015
-22.40206 20.59463 -4.3E+0015
-22.39814 20.57130 -4.3E+0015
-22.39906 20.53965 -4.3E+0015
-22.39983 20.50836 -...
3
votes
0
answers
132
views
Notepad++: Edited and saved gnuplot script is not read properly
When editing and saving a gnuplot script in Notepad++ (on Windows, obviously) and then immidiatly executing it, I almost always get error messages about crazy syntax errors that don't exist in the ...
1
vote
1
answer
407
views
Plotting modified data in gnuplot
I have generated a data file named silicon.dos while performing Density Functional Theory (DFT) calculations using Quantum Espresso on Ubuntu.
The data file looks like this:
I plotted it using the ...
1
vote
1
answer
651
views
How can I add a semi-transparant vertical plane in 3D plot in gnuplot?
I am trying to plot a three dimensional plot with a data file which is successfully plotted using Gnuplot. Now within that plot I have to add a semi-transparent vertical plane like parallel to xz ...
0
votes
1
answer
135
views
Prevent the legend from being obscured in gnuplot's "dumb" terminal
Gnuplot's set term dumb is useful for visualizing data directly on a remote PC, where a GUI may not be available.
However, I am seeing an issue, where the legend becomes obscured, causing the result ...
0
votes
1
answer
754
views
gnuplot replace old plot with new
I am running a program which uses a plotting library for gnuplot. I am running a script and am supposed to view the resultant plot in real time.
Inside the do loop, the plotting command would come ...
1
vote
1
answer
1k
views
including Angstrom and Greek letters in gnuplot?
I am using gnuplot and would like to get the symbol for "Angstrom" (iso encoding 305) and the Greek letter Delta (Symbol 104) in the plot. How can I combine the two encoding schemes when producing my ...
3
votes
1
answer
71
views
GNUPLOT command syntax
I have used GNUPLOT a few years from from my own software and I am increasingly impressed by its flexibility and power. One case I want to plot is several columns from a table generated by my ...
1
vote
1
answer
505
views
GnuPlot how do I plot a wireframe surface with uneven grid data
I am trying to plot a set of grid data with specific axis values where the y-axis is uneven (eg ... 150 180 195). Believe it or not, it's the deformation in an concrete ceiling that I want to level ...
-1
votes
1
answer
152
views
Draw a graph with gnuplot
I found a graph in Wikimedia collection of graphs made using gnuplot. Its URL is https://commons.wikimedia.org/wiki/Category:Gnuplot_diagrams#/media/File:Boucle_comby_paris_2011.svg . It was done by ...
1
vote
1
answer
361
views
Plotting a data file using matrix with image and multiple arrows
How can I plot a data file matrix with image and some horizontal lines (no head arrows) on the same figure? I already tried this code:
set arrow 2 nohead from 0,50, graph 0 to 200,50, graph 1 front ...
2
votes
1
answer
33k
views
Is there a way to show only specific values in x-axis of an excel chart?
In my problem, I have 0.1 0.2 0.5 1.0 on the x-axis and I want to plot my chart by showing only these values on the horizontal-axis. Is there anyway or any extension (like kutools) to make this happen ...
0
votes
1
answer
340
views
Gnuplot - can "smooth frequency" work whole file (including multiple datablocks/indices)
Situation
Two metering devices (A, B) give data like
# meter A
time1 14.5
time2 9.3
time3 11.1
…
Thanks to some "binning" the timestamps from A and B might be identical (think of ice cream cones of ...
0
votes
1
answer
338
views
No install option displayed when installing gnuplot using brew
I want to install gnuplot with options like --with-aquaterm, --wx ..., but when I type brew options gnuplot before installation, terminal displays nothing. When I installed gnuplot before, there was ...
9
votes
4
answers
17k
views
Trouble with readline library on mac
I was updating some programs on my mac and I suddenly encountered some troubles running gnuplot. The error was something like :
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7....
1
vote
1
answer
683
views
Translate/scale axes on splot (heat map) of matrix in Gnuplot
I'm trying to load a 60x150 matrix from a data file to create a heat map. I would like for these data points to span the range [-30,29] on the y axis, and [0:1490] on the x-axis. How can I scale/...
2
votes
1
answer
245
views
How can I install gnuplot from this point?
When I try to install gnuplot from this website, and I extract the .tar.gz file twice, I see the following:
How do I install gnuplot from this point? Also, where is the 'bin' folder? (As the bin-...
2
votes
0
answers
460
views
How to open windows window from gnuplot cmd
I'm trying to force GNUplot plot in windows terminal when I invoke it from CLI.
What exactly I want:
WIN + R
gnuplot set term windows (gnuplot when invoked from windows CMD doesn't know this type of ...
1
vote
1
answer
753
views
GnuPlot - Multiple time series in data, plotting separate lines
I have a SQLite3 database which contains data similar to the following
time_index Circuit dateTimeRecorded activepower
404503 GPOs 2018-05-30 00:03:50 ...
1
vote
1
answer
1k
views
How to plot sin(x) + sin(y) = 1 in gnuplot?
I am trying to plot the parametric function sin(x) + sin(y) = 1, but I'm not quite there yet. Here's my script:
set parametric
set urange [-10:10]
set vrange [-10:10]
set sample 2000
set size ratio -...
0
votes
1
answer
1k
views
cannot omit right margin in gnuplot
I have a plot and want to omit the white margins around the plot but the rmargin doesn't influence the plot:
enter image description here
below is the gnuplot code:
set terminal postscript enhanced ...
0
votes
0
answers
301
views
The following package has umet dependencies:
I did apt-get dist-upgrade and got this error while installing.
The following package has umet dependencies:
gnuplot-qt : Depends: gnuiplot-data (=5.0.7+dfsg1-1) but it is not installed
E: Umet ...
0
votes
1
answer
234
views
Data visualization: how to make special 2D plot from 3 columns of data?
Recently I found the following plot:
and I'm curious if something like this can be done with e.g. Gnuplot (or other software)? I do have data in three columns i.e. distance angle energy. Has anyone ...
1
vote
1
answer
1k
views
How to plot summation over exp function in gnuplot?
Is there any short way to plot the following summation of exp function?
plot f1*exp(-0.001*(x-L1)^2) + f2*exp(-0.001*(x-L2)^2) + etc
where f and L values are sorted in coulmns 1 & 2 in the file ...
3
votes
3
answers
2k
views
Start an interactive session in gnuplot and execute some commands when it opens
When I execute my script, it should
Open a terminal with gnuplot (interactive session)
Execute some gnuplot commands.
The interactive session stays open. (user can execute commands)
I've tried the -...
2
votes
2
answers
3k
views
Creating new data in a table and do a fit
I want to do the following:
I have a data set following a Gaussian line shape, but there are some data which is strongly deviating. For the resulting fit these data points should not be included.
So ...
2
votes
1
answer
2k
views
GNUPlot - Contour Plot Without Isolines?
I want to know how to do a contour plot of a 3D-dataset, but without the isolines. The closest to what I'm looking for that I've seen are heat maps, but that requires your data to be in the form of a ...
4
votes
1
answer
456
views
gnuplot abbreviation reference
Where are the gnuplot abbreviations specifically documented?
For example:- the single letter "l" command.
> help l
gives a big list and does not identify what the single letter "L" command is ...
3
votes
1
answer
5k
views
Gnuplot colorbar. Control of numbers steps and format
I'm trying to create a chart using Gnuplot, as shown here:
My questions about it:
How to control the numbers of the colorbars in Gnuplot? I want to set the number for each 2 points. For example, ...
1
vote
2
answers
2k
views
Gnuplot - Fixing see-through 3D plot interpolation
In the picture below, you can see the lines through the interpolated surface. How can I prevent this from happening? I have produced the plot by the following commands ("data.txt" holds a set of ...
2
votes
1
answer
460
views
Plot a toroid with rectangular cross-section in 3D
Does anybody know how to plot with gnuplot in 3D the surface of a disk on the XY-plane with a certain thickness, and having a circular hole in the center and flat upper and lower surfaces at fixed z (...
1
vote
1
answer
3k
views
how to get different offset in gnuplot labels
I found a very weird way to plot horizontal lines of discrete
values with labels on the left or on the right of the lines
I construct an input data file where:
the values in the 1st column determine ...
4
votes
1
answer
2k
views
How to plot column in unix in one line
I would like to plot a column of data output by a script in unix in just one line.
For example, something like
script | cut -f2 -d ',' | gnuplot ....
3
votes
3
answers
23k
views
Execute gnuplot from cmd
I need to execute gnuplot from the Windows cmd, however, when I type in gnuplot, I get the error:
“gnuplot” is not recognized as an internal or external command,
operable program or batch file.
...
4
votes
1
answer
4k
views
Installing Cairo terminals in Gnuplot (Ubuntu)
I didn't find the "cairo" terminals installed with Gnuplot downloaded from the project site: they aren't listed after set terminal. How do I install it? I can't find any instructions on the internet.
...
7
votes
2
answers
18k
views
How to plot data with lines and label in each point?
I have an archive "curva-l" with the data:
2.308E-05 5.397E-01 1.0E-09
2.318E-05 5.224E-01 1.0E-08
2.426E-05 5.029E-01 1.0E-07
4.012E-05 4.718E-01 1.0E-06
1.311E-04 4....
1
vote
1
answer
155
views
Blender's features missed in gnuplot?
I am designing a particle physics visualization where electron accelerates in a hole and multiplies in many other electrons in a high electric field through avalanche.
I know that Blender has ...
2
votes
1
answer
2k
views
GNU plots_Plotting histograms from given set of values against the number of their occurances
How can we plot a histogram from a csv file containing all data into a single column. I need to plot those values vs the number of times they get repeated.
1
vote
1
answer
111
views
Gnuplot: a different way to write the same function in 1d and 2d
I am confused about following type of function
f(x) = b/x**nb * exp(y_(y)/k)
f(x,y) = (b/(x**nb))*exp(y/k)
Here y seems to be the same in the two expression.
I would like to understand the ...
1
vote
1
answer
190
views
Logs of Gnuplot for startupt?
I have now many times uninstalled and installed different gnuplots.
However, now, the gnuplot with qt crashes in the startup if I simply run
gnuplot -e "plot 'data.dat'"
The crash occurs such that ...
2
votes
1
answer
3k
views
Automatically open a file when gnuplot starts on Windows
I would like to assign gnuplot to .gnuplot files (gnuplot scripts) on Windows 8.1, in such a way that the gnuplot environment starts with the script file loaded.
For this I would need to pass the ...
2
votes
0
answers
738
views
How can I edit the delay of the first frame of an animated gif
I've assembled a gif using gnuplot, however I want the first frame to be still for a few seconds before the graphic starts animating. How can I edit the delay of the first frame of the gif?
3
votes
1
answer
1k
views
How to use mathematical functions not built-in in gnuplot
I've always considered gnuplot as very useful, and even more since I use tikz in LATEX documents. Unfortunately, the number of core implemented functions in gnuplot is quite small, I often need ...
1
vote
1
answer
5k
views
Cannot install gnuplot with aquaterm support (OS X Yosemite)
I'm having issues trying to get aqua term support in gnuplot.
I've installed aquaterm, rebooted the system, then installed gnuplot using homebrew.
When I start gnuplot, it sets terminal to 'unknown' ...
4
votes
2
answers
16k
views
Plot .gnu file with gnuplot
I have a file with .gnu extension.It contains gnuplot commands. I want to show up the graph, using gnuplot. So, which command is right for this.
2
votes
1
answer
810
views
Scale patterns in Gnuplot (without resizing the whole output)
I want to create a plot with the eps terminal using patterns to fill the area between some curves, for example using these commands:
set terminal eps size 4, 4
set output "plot.eps"
plot x**2 with ...
1
vote
1
answer
3k
views
Data comparison and plotting in gnuplot
The data that I have is in this format in the text file :
#REY2_0 REY1_0 alpha1 alpha2 omega
100 200 (-0.1,0) (1,0) (0.94379237,-0.052310783)
The list of values is quite long. ...
2
votes
2
answers
10k
views
How to set axis same in length in gnuplot
I am making a map with gnuplot. But, I find that the length of X axis is not equal with the Y axis. For example, the length of X from 0 to 10 is 20 pixels while 15 pixels in Y axis from 1 to 10. Can I ...