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

11
votes
2answers
7k views

In gnuplot, how to plot with lines but skip missing data points?

I've got a value associated to each day, as such: 120530 70.1 120531 69.0 120601 69.2 120602 69.5 # and so on for 200 lines When plotting this data in gnuplot with lines, the data ...
6
votes
2answers
5k views

How to plot dot labeled data?

I'd like to turn a file like: Name X Y a 1 2 b 4 1 s 3 3 in a X-Y graphic with the X-Y dots labeled with Name. How can I do it? I think this can be done with gnuplot, but I wasn't ...
6
votes
1answer
269 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 ...
5
votes
2answers
401 views

Which gnuplot terminal type should I use in org-babel-gnuplot with latex export

All gnuplot examples on http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html use the png terminal. However, when exporting to latex I'd rather like to generate vector graphics. ...
4
votes
1answer
373 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 ...
4
votes
2answers
537 views

How can I split the wedges of a pie chart to show extra information per wedge in consecutive rings?

I'm plotting disk partitioning and available space. I have a pie chart showing the partitioning: e.g. 30% /, 70% /home. In the second ring I want to show that 90% / is full, 10% of / is empty. 10% ...
4
votes
1answer
6k views

How do I define a function in parts for plotting?

I use gnuplot for plotting functions. This is my script at the moment: set terminal png xffffff x222222 set output "Ausgleichszahlungen.png" set title "Ausgleichszahlungen" set xlabel 'F_MZ / A_MZ' ...
3
votes
3answers
7k 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).
3
votes
2answers
3k views

Software GNUPlot not launching from GNU Octave

I'm trying to launch GNUPlot from Octave, but when I do I get the following error: octave-3.4.0:3> plot(x,y) dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib Referenced from: ...
3
votes
1answer
243 views

How can I graph memory usage by user?

Basically, I want to graph the memory usage with each username as title, as time passes by. I would set that script as a cron job, to create a graph that shows memory usage of certain usernames. How ...
3
votes
2answers
518 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 ...
3
votes
1answer
267 views

How do I use gnuplot to create a 3d phase-space plot?

Have a look at this webpage - enclosed but not encrypted For a three-dimensional phase-space plot, the sequence a, b, c, d, e, f, etc. can be used as space coordinates (a-b, b-c, c-d), (b-c, ...
2
votes
1answer
8k 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?
2
votes
1answer
4k views

Plotting Error Bars with GNUPLOT

I can't get gnuplot to make a plot with error bars when my x values are non-numeric. For an example "data.dat": day col1 col2 MONDAY 12 4 TUESDAY 10 3 WEDNESDAY 9 2 ...
2
votes
2answers
287 views

Plot custom log data on GNU/Linux

I'm logging some data relative to clients NFS usage over a network. Now I want to plot it on a lines diagram, and I'm overwhelmed by the possibilities I'm finding out there. No one seems to be easy to ...
2
votes
2answers
94 views

gnuplot - operating on a two digit column

I'm trying to operate on a column prior to its plotting. This is the line I'm having issues with: plot campo1 u 1:($22*0.05) where campo1 is the path to the file. The problem is that gnuplot ...
2
votes
1answer
835 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
1answer
2k views

Gnuplot GUI for Ubuntu 10.10

Is there a Gnuplot GUI (equivalent to wgnuplot.exe) for Ubuntu ?
2
votes
1answer
640 views

How to make gnuplots fullscreen?

How can I make gnuplot plot its plots in full-screen instead of a small window?
1
vote
2answers
579 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 ...
1
vote
1answer
129 views

bad interpreter shell script

Hi I'm trying to write a shell script for plotting with gnuplot however I keep running into the error: bash: ./plot.sh: usr/bin/gnuplot: bad interpreter: No such file or directory I have checked the ...
1
vote
1answer
36 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.
1
vote
2answers
117 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 ...
1
vote
0answers
129 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 ...
1
vote
1answer
1k views

Specifically define colors of bars in histogram

See updated question below!: (1 Old stuff) I have the following code: clear reset unset key # Make the x axis labels easier to read. set xtics rotate out # Select histogram data set style data ...
1
vote
1answer
661 views

GNUPLOT on Lion using Homebrew

After upgrading to OSX 10.7.4 I had to reinstall GNUPLOT which is always a hassle. I decided that I would try Homebrew instead of Fink or MacPorts. Ofcourse, before installing Homebrew one needs the ...
1
vote
0answers
1k views

how to stack pm3d multiplot in gnuplot?

Using gnuplot, I would like to stack 5 contour plots together, meaning no white spaces between them. I can't get it to work for some reason. any help is appreciated. #! /usr/bin/gnuplot reset set ...
0
votes
2answers
394 views

Gnuplotting gzipped files

I would like to use a command like plot 'datafile.gz' u 1:2 in gnuplot for a data file that is gzipped. Of course gnuplot does see that the file is gzipped and unzip it for me. Is there a way to ...
0
votes
2answers
324 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
436 views

ddd+ubuntu+gnuplot error [closed]

Just started using ddd with ubuntu. I'm able to do the basic operations(step and watch) without any problems. But, when I try to view a graph, it gets stuck on the "Starting gnuplot" screen. when I ...
0
votes
2answers
5k views

How can I create a pie-chart with gnuplot?

I want to create a pie-chart. Is that possible with gnuplot and how to realize that?
0
votes
1answer
455 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
1answer
64 views

How to add lines to a gnuplot with image?

I'm having trouble trying to add lines to an image plot. Here's an example illustrating the problem plot 'xyz.dat' using image set arrow 0,0 to 1,1 nohead replot Yet no lines appear. Is it even ...
0
votes
1answer
75 views

gnuplot used defined function - is there comprehensive documentation?

I am trying to write a cumulative function (my version of gnuplot does NOT have smooth cumul option!) But the documentation for user-defined functions is very limited. For example what does this do? ...
0
votes
1answer
878 views

gnuplot on Mac OS X lion

I've installed gnuplot using Mac Ports on a machine running Mac OS X 10.7. The installation exited without any errors or even warnings, however when I try to run it the following shows up: dyld: ...
0
votes
1answer
1k views

Making 1D histogram out of 2D data using gnuplot?

I have data of the form: x1 y1 x2 y2 ... where each cuople x, y represents a point in the 2D plane. I need a histogram of the point spread in the y-direction (eg. bin all points with similar ...
0
votes
1answer
82 views

Plot an area defined by a parameter range of

If I have something like this: 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 [-0.1, +0.1]? That is, I want the area defined by those limits. ...
0
votes
0answers
12 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 ...
0
votes
1answer
49 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. ...
0
votes
0answers
97 views

merge two functions to plot 3D graphic on Excel or gnuplot

I study 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. I have also a curve of the variation of particles ...
0
votes
1answer
84 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
278 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
138 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
65 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 ...
0
votes
0answers
57 views

Gnuplot with octave produces only entirely black bar diagrams

My problem is the following: On my system (Linux Mint 14), the normal octave and gnuplot packages only produce completely black bar diagrams: I have tried to change the colours in any way I could ...
0
votes
0answers
474 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 ...
0
votes
1answer
122 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 ...
0
votes
0answers
415 views

Trouble with Aquaterm on Mac OSX 10.7.4

I was working on a project in Octave with GNUPlot, and had no trouble with Aquaterm until i recently installed some software updates. Aquaterm has suddenly stopped working altogether and i can't ...
0
votes
0answers
646 views

Wrap title in Gnuplot

I's all in the subject. I use a (long) line from the data file as title, and Gnuplot doesn't wrap it. Any hints appreciated.
0
votes
1answer
1k views

Labeling values in a GNUplot heatmap

I am trying to generate a heat map using gnu plot. set title "Heat Map" plot '-' matrix with image 10 20 30 40 50 60 70 80 90 100 20 30 40 50 60 70 80 90 100 0 30 40 50 60 70 ...