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

4
votes
3answers
946 views

Looking up gnuplot abbreviations

I'm new to gnuplot. I am reading the manual but am having a hard time finding explanations for some of the abbreviations people use in their scripts. For example, I am working with an script that says:...
3
votes
2answers
108 views

Plot the area between two curves

I have a function with a parameter z similar to the above one: y = sin(x+z) How can I plot the values of y as a function of x and all the possible values of z in the [0.1, +0.1]? I want to graphic ...
1
vote
1answer
21 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 ...
0
votes
0answers
18 views

Restart of MacOS 10.11.5 Resulted in python modules, R, and Gnuplot and PostgreSQL commands not being executable

I had my iMac hard reset and after it restarted my PostgreSQL changed to an other database service (I have two services) and all the tables are empty and several python modules are not importable, R ...
-2
votes
0answers
20 views

How do I access Windows programs from Mobaxterm

I am trying to open gnuplot, a program I downloaded on Windows, and would like to open it from mobaxterm through command line. All help is appreciated, thank you! Grace
1
vote
2answers
937 views

Plotting function defined in a piecewise manner with Gnuplot

I’d like to plot some function f(x) where f(x) = x for 0 ≤ x ≤ a, and −2 otherwise. And I’d like to plot it on a graph with x axes between two arbitrary points. How would I go about doing this with ...
1
vote
2answers
79 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
1answer
43 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, ...
2
votes
1answer
80 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 ...
0
votes
1answer
304 views

Merge two 2D functions to plot 3D graphic on Excel or gnuplot [closed]

I'm studying the emission of particles from a component. I get a nice curve of the variation of particles concentration C(t) on time (t) using Excel, starting from a dataset. I have also a curve of ...
1
vote
0answers
38 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 ...
1
vote
2answers
37 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 ...
0
votes
0answers
21 views

Excel x axis with asci labels at non-equidistant points

Lets say I have data like this: Time step measurement 0:00:00 start 12.7 0:01:00 step1 25.3 0:10:12 step2 37.3 0:12:10 center 45.2 0:17:30 prelast 42.3 0:23:10 last 33.4 0:23:15 last2 ...
1
vote
1answer
17 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 ....
0
votes
1answer
56 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 ...
1
vote
1answer
37 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 (...
0
votes
0answers
33 views

GNUPLOT: want to zoom but y-axis range was previously fixed: only x-axis is changing

The command I used to plot the graph included a setting of the y-axis and total freedom for the x-axis: [:][-10:10]. After the window opened, I wanted to make the y-axis range smaller. I tried this ...
1
vote
3answers
278 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. ...
2
votes
2answers
1k views

Installing gnuplot from MacPorts failed (Checksum Mismacth)

I have OSX 10.5 and tried to sudo port install gnuplot, only to get this: ---> Computing dependencies for gnuplot ---> Verifying checksum(s) for gnuplot Error: Checksum (md5) mismatch for ...
2
votes
2answers
346 views

Plotting timedata in gnuplot

I have a log file (auth.log) where non-relevant lines has been removed. I wish to aggregate lines per hour/day into the plot, meaning that each line that is within the same hour or day is aggregated ...
0
votes
2answers
410 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
1answer
209 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. ...
0
votes
1answer
2k views

Wrap title in Gnuplot

It's all in the subject. I use a (long) line from the data file as a title, and Gnuplot doesn't wrap it. I don't know the contents of the line in advance, so I don't know how I can just insert a \n. ...
1
vote
1answer
62 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 ...
1
vote
1answer
265 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
1answer
1k views

Plotting multiple xy pairs in Gnuplot from file

I have a data series that I'm trying to plot in Gnuplot of the format: x1, y1, x2, y2 ... xn, yn Where every two adjacent columns represent an xy pair. I'm looking for a way to plot each of these ...
1
vote
1answer
139 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
1answer
37 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 ...
2
votes
1answer
703 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 ...
4
votes
3answers
14k views

Specifically marking a point in gnuplot

suppose I want to plot a graph and I want to show on the graph some important points. How do I do this in gnuplot? For example, in the graph of y = x2, I want to show (2,4) and (4,16).
1
vote
1answer
46 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 ...
3
votes
1answer
254 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 ...
0
votes
0answers
124 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?
1
vote
1answer
4k 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' ...
2
votes
2answers
13k views

How to connect points with curves in gnuplot

I have some data that I want to connect them with smooth curves. I do not want lines. I am attaching some points below. Instead of lines, I want to have a curve. Can anyone tell me how to do this in ...
5
votes
1answer
16k views

How do I divide one column in gnuplot?

I have gnuplot data file. I would like to plot it, but divide every value in the x-axis by n. Can I do this from within gnuplot, or do I have to rewrite the data file?
0
votes
1answer
1k views

Gnuplot output cropped when changing aspect ratio regardless of terminal type

Gnuplot doesn't usually provide me with such problems, but when I set the aspect ratio manually, or with 'set size square' the top part of the plot is cut/cropped off. Doesn't matter if term is aqua, ...
3
votes
1answer
755 views

Looking for a graph program for time series

I want to find software (Windows or Linux) that can create time based graphs with the following wishes. Can you suggest which programs come closest to my wishes? Whishlist: The x-axis has to ...
1
vote
1answer
2k 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.
0
votes
1answer
462 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. ...
3
votes
2answers
977 views

How to plot data for several signals, one above the other?

Following this question. How can I command gnuplot to draw this plot: (from the bottommost example on this page). I guess I need to do something similar to what is being done here. But what ...
1
vote
2answers
237 views

Change the default shell of gnuplot

My question is: How can I change the default shell of gnuplot? I want to change it in order to send stdout to bash. This should be pretty easy, but I'm giving up. Here's why. I'm running gnuplot ver....
0
votes
1answer
436 views

gnuplot plot points connected by line, nearest point instead

I have a number of points out of a countour plot of a circle. Unfortunately the points are ordered by coordinate position. If I plot the data with "lines" as style data, gnuplot draws lines through my ...
6
votes
1answer
607 views

Plotting Pairs of Ordered Pairs in Gnuplot

If I have a data file with 4 columns: x1, y1, x2, y2, How can plot a line connecting (x1, y1) to (x2, y2) for each element (row)? I assume it is pretty easy, but I have been playing around for an ...
4
votes
1answer
11k views

create a smooth surface using x,y,z data gnuplot

I have a file which contains x,y,z data. Actually, the data is: x = latitude y = longitude z= Depth I want to create a smooth surface but I have no idea how to do it. Could anybody give me some ...
0
votes
2answers
3k 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 ...
0
votes
1answer
246 views

Any way to get AquaTerm to tile automatically from Gnuplot?

I know how to set the window size for Aquaterm from Gnuplot, but is there a way to get AquaTerm to tile multiple windows automatically, when writing commands in Gnuplot? (BTW, just a simple YES or NO ...
0
votes
1answer
483 views

Unable to plot png in gnuplot

i need to plot png files in gnuplot 4.6.3 and/or 4.6.4.I am unable to do so as set term does not list "png" as an option. system information is Linux masterx-Studio-1535 3.5.0-27-generic #46-Ubuntu ...
0
votes
1answer
1k views

gnuplot not working on ubuntu

My initial problem is that i am unable to find png as list of terminals in set term. So using the link http://askubuntu.com/questions/393882/png-terminal-in-gnuplot, I installed the gd library.And ...
0
votes
1answer
413 views

How to “clear” the plot when using streamed feedgnuplot?

I want to display a set of moving points. I try using feedgnuplot for this: $ feedgnuplot --domain --stream trigger 1 2 2 3 3 4 replot After that it shows 3 points. Now I want to update their ...