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

learn more… | top users | synonyms

14
votes
2answers
1k views

Fill a contour-plot

I did some calculations in Mathematica that gave me a contour plot: To include the output I wanted to however draw it with pfgplot. But there I don't get it to work, first of all the y-axis doesn't ...
13
votes
2answers
2k views

Big data surface plots: Call gnuplot from tikz to generate bitmap and include automatically?

Motivation I have large numerical data files, that I would like to create density (surface) plots of. Since they are very big, we can rule out a few possibilities such as to plot them directly with ...
5
votes
1answer
1k views

Automatic binning of histogram using raw gnuplot in pgfplot

I have a problem in plotting a histogram using the raw gnuplot in pgfplot. A minimal example is below. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
10
votes
1answer
7k views

Creating colorful plot using latex terminal of gnuplot?

Most output terminals of gnuplot draw different lines in a plot in different colors. I'm trying to create a plot inside my pdf document using gnuplot's latex terminal and the lines are only ...
3
votes
1answer
166 views

Gnuplot invisible

I'm trying to plot two implicit curves (using pgfplots and raw gnuplot) but they don't appear in the document. In gnuplot it works just fine so I guess it has something to do with pgfplots but i can't ...
2
votes
1answer
3k views

Enabling “--shell-escape” on TeXworks under MiKTeX

After resolving the problem on my previous question, I applied to finally install Gnuplot 4.6; and after a successful installation I had to allow the --shell-escape option on TeXworks, so I added a ...
5
votes
1answer
301 views

Draw ticks over external plot using pgfplots

I plotted a contour/surface plot with gnuplot using set pm3d map and want to include this picture via \addplot graphics {...};. When I match the plot area of the axis environment with the plot range ...
3
votes
2answers
1k views

Color with gnuplot generated TikZ file not working (other TikZ has color)

I have generated a tikz .tex file from gnuplot and I am attempting to simply \include{mytikzfile} in my main .tex file, which uses the revtex4-1 document class. Upon compiling I get a number of errors ...
6
votes
2answers
1k views

PGFPlots: Mathematical expressions

Question Is there a way to include mathematical expressions in PGFPlots, for example, [domain=1/3:e^5/3]? PGFPlots is fairly useful, however the ability to put mathematical expressions directly into ...
7
votes
1answer
2k views

How can I setup PGFPlots to work with gnuplot?

Notes: I'm using Windows 8 and TeXworks. Also, I have never used gnuplot by itself, so I am unfamiliar with it. I'm trying to use PGFPlots with gnuplot to graph functions. I have not been able to ...
3
votes
0answers
1k views

PGFPlots: Externalizing Images and pdflatex -shell-escape <filename> [closed]

I want to externalize images using the commands: \usepgfplotslibrary{external} \tikzexternalize The PGFPlots Manual says to use pdflatex -shell-escape <filename>. I'm assuming I should type ...
3
votes
1answer
1k views

pgfplots: plotting data with gnuplot

I try to plot a data file (test2) which contains a header and 2 columns. My pdfLaTeX (argument: --enable-write18) gives me not the result I get with executing gnuplot.exe. This is the code: ...
5
votes
2answers
2k views

raw gnuplot in pgfplots

I have a problem with the gnuplot environment in pgfplots. I already set "--enable-write18" in the argument of pdfLaTeX and added the path of gnuplot.exe to the PATH-variable in the advanced system ...
2
votes
1answer
610 views

GNUplot command to produce tex files with 12pt font size?

I am using GNUplot in combination with the TikZ terminal by using the command 'set term TikZ standalone color solid size 3.25in,2.25in'. The first line in .tex file that is produced when running ...
5
votes
2answers
3k views

Using gnuplot in tikzpicture enviroment using pgf-package

I´m trying to use gnuplot in the tikzpicture enviroment with the pgf package. Example \documentclass[paper=a4,12pt,version=last]{scrartcl} \usepackage[miktex]{gnuplottex} \usepackage{pgfplots} ...
6
votes
2answers
527 views

Plot basic complex transformation in LaTeX

I want to first draw a shaded region on a xy-plane: 0≤x 0≤y≤π and then the image of the above region mapped onto a uv-plane by the transformation f=exp(z), i.e. the shaded region: ...
7
votes
2answers
12k views

How can add some latex eq or symbol in gnuplot?

Gnuplot is power for plotting graph in scientific progress. I have met this problem. I want to add some commands like "$\ddot{x}$". or $\tau$ on the legend. I see some people suggest that plot ...
4
votes
1answer
309 views

LaTex variable inside gnuplot code

I just started using gnuplot code inside my latex document and I just ran into a problem I could not solve after some googling (hit me if I did not google hard enough). I use the gnuplottex package. ...
5
votes
1answer
974 views

Quality loss at adding images to a LaTeX file

I have a LaTeX file (compiled with pdflatex) with some images in pdf added via the \includegraphics command. The problem is that the images are really big (up to 10MB) and the output file is too large ...
5
votes
2answers
950 views

How can I plot bigger amounts of data?

I am currently playing around with hailstone sequences (collatz numbers). I would like to create a plot like this (from Wikipedia): But I don't know how this kind of plot is called (it's neither a ...
6
votes
1answer
2k views

TeXmaker and gnuplot compiling issue

I just received a new macbook OS 10.8 Mountain Lion and I have installed TeXmaker, MacTex, MacPorts and gnuplot. I compiled a LateX file that uses TikZ and gnuplot and got the following error in the ...
5
votes
1answer
528 views

pgfplots with gnuplot

I got a problem with latex implementing a gnuplot code. I use PdfLatex with argument "--enable-write18". The following code should works with the first commented-out line %plot 'data.dat' u 1:2;, but ...
2
votes
1answer
323 views

Gnuplottex fails with 'undefined control sequence' when choosing different font size [duplicate]

I encounter a very strange problem when using gnuplottex on my Win 7 32 bit system with MiKTeX 2.9 - gnuplot 4.6.3 & the latest gnuplottex release: \documentclass[dvips]{minimal} ...
9
votes
3answers
4k views

Easiest way to plot matrix image

Is there an easier way to create this in pgfplots than plotting the matrix image externally and using addplot graphics (as on p.42 of the pgfplots manual)? A mesh plot (as suggested for plotting ...
5
votes
0answers
278 views

Using pgfplots and gnuplot and compiling with output-directory

I would like to use the pgfplots package along with gnuplot. However, I cannot get this to work if I compile using the -output-directory option. For example, if I have the following MWE: ...
1
vote
2answers
881 views

epslatex: relative path issue

Please, how one could directly include epslatex graphics into main latex file, say main.tex? main.tex has its own template provided by a third party. I used this command within main.tex file to ...
6
votes
2answers
941 views

pgfplotstable: read gnuplot generated table and typeset

I am new to pgfplotstable, I am trying to read gnuplot exported table in pgfplotstable. gnuplot script: set samples 91 set table "file.dat" set angles degrees plot [0:90] sin(x),cos(x),tan(x); ...
6
votes
1answer
584 views

gnuplottex and lualatex

EDIT: This question covers a bug in gnuplottex which will be fixed in TeXLive 2013.If you still want to have the bug fixed, download the latest upstream version from CTAN and compile it yourself. ...
5
votes
1answer
328 views

How to plot small function values in pgfplots?

I am trying to visualize two functions in pgfplots and I can't get my main message across that both end at the same point. How can I change this behaviour, preferably without additional external ...
10
votes
1answer
2k views

gnuplot in LaTeX, without gnuplottex

I'm using the cairolatex terminal in gnuplot to create some surface plots (pgfplots is failing the task because of its hunger for memory). As the number of plots increase, I would like to include the ...
4
votes
1answer
149 views

How do I modify the gnuplottex.sty file to write a hash character (#) into the plot file?

I have problems with adapting a .sty file for my needs. The problems are caused by the special meaning of the hash character # in tex (and also my ineptitude). To the problem: An unmodified ...
3
votes
1answer
69 views

Change name of generated “myfile_contourtmp0.table”

In a PGF axis environment, I am using \addplot3[contour gnuplot={number=20}]{30-0.1*(x*x)-0.05*(y*y)}; This command uses gnuplot to generate the file myfile_contourtmp0.table. My question is: How ...
5
votes
1answer
206 views

pgfplots: Read expression from file

For my lab reports I often have to do complex fitting and transformations to my data (like fitting cauchy distributions or FFT). Fitting with gnuplot sometimes fails and including it directly in the ...
0
votes
1answer
281 views

gnuplot, ubuntu 12.10, kile, texlive2012 [closed]

How can I download and install gnuplot for ubuntu 12.10? I can't find it on the software center or in repositories. Maybe I am not calling it right.
2
votes
1answer
2k views

gnuplot and TexnicCenter setup

I just downloaded and ran the gnuplot setup exe. Now, how do I setup TeXnicCenter and gnuplot so I can use gnuplot with TikZ? So I have been able to add --enable-write18 but the inverted cycloid ...
2
votes
1answer
327 views

bodegraph package just display grids but not curves

I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: bodegraph on Ubuntu 10.04. ...
0
votes
2answers
1k views

How to use Gnuplots .eps and .tex files at all with pdflatex

I tried to make a plot with data from a .txt file. The part with gnuplot works, but bringing the diagramm to Latex is frustrating. That's what I do: -- GNUPLOT -- set terminal epslatex size ...
2
votes
0answers
183 views

Missing characters in gnuplot generated eps while compiling pdf [closed]

tTis has bug me for a few days: when I import a gnuplot generated eps into my LaTeX file, the characters are always missing. The number and text with in the figure is not complete, for example, it ...
1
vote
1answer
343 views

gnuplot, plot rotation arrows

Recently I have been using gnuplot to plot position data over time. In my datafile, I have time,positional (2D) information, and directional information (in the form of degrees, 0-360). I have nice ...
5
votes
1answer
354 views

How to plot just part of the function with pgfplots, gnuplot

I have the following code. \begin{tikzpicture} \begin{axis}[domain = -2:2 ,y domain = -2:2,view={0}{90}] \addplot3[contour gnuplot={number=10},thick,domain=-2:2] ...
2
votes
1answer
470 views

error while using gnuplot in pgfplots

I am using pgfplots and tikz library for generating some figures. my problem is that I can not use gnuplot within pgfplots. I tried to compile the following code bu seemingly the gnuplot is not ...
3
votes
1answer
933 views

How to run gnuplot/latex from inside texshop?

I was able to write a piece of code that drew a graph in gnuplot and then using tikz embedded that into my TeX document and run it via Texshop. I am not able to do that anymore. I need to run ...
5
votes
2answers
914 views

Merge two TikZ pictures into one

Is it possible to merge two existing TikZ pictures into one? I have two pictures of this type and want to set them beneath each other in one tikzpicture environment (and adding some arrows between ...
1
vote
1answer
207 views

Why am I having such problems getting latex notation in my gnu plots?

I have tried setting the terminal to just about everything under the sun. I got it to read my latex notation for a brief compile and then it decided it didn't want to anymore again. The error that I ...
1
vote
1answer
1k views

Resize epslatex (gnuplot) graphics for Beamer slides

I have created some graphics in gnuplot using set terminal epslatex color and I rather liked them in my paper. However, once I tried to put them into Latex Beamer slides the way I put them into my ...
2
votes
0answers
633 views

ps2pdf produces unreadable text with gnuplot epslatex terminal [closed]

I'm using the gnuplot epslatex terminal to generate LaTeX files which I then convert to .pdf files using latex→dvips→ps2pdf. The .ps file produced by dvips is fine (the first image). However, once I ...
4
votes
2answers
2k views

Install Gnuplot on Mac OS-X 10.8.2 for use with 'tkz-fct' package

I have recently discovered the TikZ packages for LaTeX: http://altermundus.com/pages/tkz/index.html I have run the examples for tkz-euclide with success. I would also like to use the tkz-fct ...
5
votes
1answer
863 views

pgfplots contour example error

I'm reproducing the following example from pgfplots manual. \begin{tikzpicture} \begin{axis}[view={0}{90}] \addplot3[contour gnuplot] {x*y}; \end{axis} \end{tikzpicture} But this code produces the ...
4
votes
1answer
915 views

Error with TextMate 2, PATH, --shell-escape and gnuplot in 10.8.2

I reopen this post, which was started some time ago but didn't came with a solution. I don't really remember what was the exact problem with this (well, of course, gnuplot didn't work correctly). So I ...
5
votes
2answers
776 views

Help with installing gnuplot in MacTex and using it with LaTeX

I have to draw a lot of PDF and CDF graphs in my document/presentation and in order to do that I installed gnuplot. In order to install gnuplot I took the following steps: 1- Download the sources ...