gnuplot

How do I change the background color in gnuplot?

I have a script that renders graphs in gnuplot. The graphs all end up with an ugly white background. How do I change this? (Ideally, with a command that goes into a gnuplot script, as opposed to a command-line option or something in a settings file) ...

What is kpsexpand?

gnuplot is giving the error: "sh: kpsexpand: not found." I feel like the guy in Office Space when he saw "PC LOAD LETTER". What the heck is kpsexpand? I searched Google, and there were a lot of pages that make reference to kpsexpand, and say not to worry about it, but I can't find anything, anywhere that actually explains what it is. ...

How do you use gnuplot's built-in fonts?

The gnuplot docs have this to say about fonts: Five basic fonts are supported directly by the gd library. These are `tiny` (5x8 pixels), `small` (6x12 pixels), `medium`, (7x13 Bold), `large` (8x16) or `giant` (9x15 pixels). But when i try to use one: gnuplot> set terminal png font tiny I get: Could not find/open...

How can I plot data with a non-numeric X-axis?

I have a series of performance tests I would like to show as a graph. I have a set of tests (about 10) which I run on a set of components (currently 3), and get throughput results. The Y-axis would be the throughput result from the test, and the X-axis should have an abbreviated name of the test, with the results from the various compo...

Gnuplot: How to plot each line in a file after some pause

Hi All, i have a 3 column datafile and i wanted to use splot to plot the same. But what i want is that gnuplot plots first row (in some colour, say red) and then pauses for say 0.3 secs and then moves on to plotting next row (in other colour, not in red, say in green), pauses for 0.3 secs and then proceeds to next row....so on n so fort...

Getting the value of a specific element from a different row in gnuplot

Using gnuplot 4.2, is it possible to obtain the value of a specific column/row and use that value somehow? For example, let's say my datafile contains the following #1 2 7 13 5 11 23 17 53 12 For a simple plot where column 1 is the x axis and column 2 is the y axis I would:- plot 'datafile' using 1:2 What I'm trying to do is to...

How do you plot bar charts in gnuplot?

How do you plot bar charts in gnuplot with text labels? (Sorry - I'm answering my own question here - as it suggest in the first entry of the faq) ...

C++ and gnuplot

Hi everybody! This is my first post and I'm quite a novice on C++ and compiling in general. I'm compiling a program which requires some graphs to be drawn. The program create a .dat file and then i should open gnuplot and write plot '.dat'. That's fine. Is there a way to make gnuplot automatically open and show me the plot I need? I s...

Linear regression for time series with Gnuplot

I am a big fan of Gnuplot and I used it all along my studies for various projects. Lately I wanted to use Gnuplot to chart some time series like weight loss, exercising results, gas consumptions etc. Therefore I scale the x-axis like set xdata time set timefmt "%d.%m %Y" set format x "%d.%m" Now I want to use the fit-function to gi...

Free OpenGL-accelerated GNUPlot-like tool for Mac OS X?

I am using GNUplot to plot large volumes of data that I want to visualize in 3D - e.g., using the pm3d option. This is very slow rendering in software - is there free software that will do this using OpenGL or something? ...

Library/tool for drawing ternary/triangle plots

I need to draw ternary/triangle plots representing mole fractions (x, y, z) of various substances/mixtures (x + y + z = 1). Each plot represents iso-valued substances, e.g. substances which have the same melting point. The plots need to be drawn on the same triangle with different colors/symbols and it would be nice if I could also conne...

gnuplot labels

I have a table like this: A B C D E F G H I 10 23998 16755 27656 17659 19708 20328 19377 18925 20 37298 33368 53936 41421 44548 40756 40985 37294 I use this command to plot plot "C:/file.txt" using 1:2 with lines smooth bezier, "C:/file.txt" using 1:3 with lines smooth bezier, ... However, all the labels come out as the file name....

Graph drawing library for Flash

I have a bunch of numeric stats data gathered over time. I need to show it as a line graph to user in a HTML page. I want to render graph on client. It would be perfect if graph would be interactive (allowing user to scale, scroll, toggle graph lines visibility etc.). Is there any decent free graph drawing library for Flash / Flex (or...

gnuplot vs matplotlib

I've started on a project graphing tomcat logs using gnuplot-py, specifically correlating particular requests with memory allocation and garbage collection. What is the collective wisdom on gnuplot-py vs matplotlib for python graphing. Are there better graphing libraries out there I haven't heard of? My general considerations are: Wh...

gnuplot: display only the roots.

Hi, Gnuplot, a great package ... I'm in love with it. But we can have our tiffs as well, as any couple :-) This time, I wanted to simply plot the roots of an equation: say a quadratic to keep things simple. However, I only want two nice round dots appearing on the x-axis representing the point where the quadratic crosses the x-axis or y...

Gnuplot problem when using python

Hi, I am just about to find out how python and gnuplot work together. On http://wiki.aims.ac.za/mediawiki/index.php/Python:Gnuplot_module I found an introduction and I wanted to execute it on my Ubuntu machine. import Gnuplot gp = Gnuplot.Gnuplot(persist = 1) gp('set data style lines') data1 = [[0, 0], [1, 1], [2, 4], [3, 9],...

What is the best plotting library for Python?

What Python plotting library do you recommend? It should be noted the following considerations: is it cross-OS? speed how clean it's interface? "prettyness" of the resulting plots License etc? In the Python Wiki there is a list, but there is little comparison between them. Interesting SO links (not quite duplicates, but usefull t...

gnuplot configuration file

Don't know if it's a question for stackoverflow or superuser, but the beta SU community is still too small for such specific questions, I guess. Feel free to redirect it if you see it fit. I am trying to setup gnuplot so that at startup I always have the comma as datafile separator, with the following command set datafile separator ","...

Good plotting library for C?

My question is very similar in spirit to this question: What is the best plotting library for Python? What is my best bet for plotting data in C? Am I better off forgoing a library and just generating data that I can feed directly into gnuplot? My impetus for this question is being able to visualize DSP transformations while studying ...

How do I access various true type fonts through gnuplot with png terminal?

Hello, I am trying to output a png image with an arial size 14 font. I use mac OS X 10.6 and did not build GNUPLOT myself. I got the program from a website called High Performance Computing for OS X in the package for Octave. Here is what I entered in gnuplot: G N U P L O T Version 4.2 patchlevel 5 last modified Mar 2009 System: Dar...