{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

5
votes
1answer
752 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
672 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
417 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: ...
4
votes
2answers
780 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
276 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
1answer
2k 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
423 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: ...
4
votes
2answers
5k 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
213 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
538 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
540 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
955 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
368 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
209 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} ...
7
votes
3answers
2k 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 ...
3
votes
0answers
186 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
1answer
416 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
527 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
343 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
219 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
1k 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
112 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
57 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
167 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
219 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
978 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
203 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
946 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
150 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
216 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
239 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
289 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
592 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
514 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
172 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 ...
0
votes
1answer
667 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
436 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
557 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
659 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
518 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 ...
3
votes
1answer
360 views

Gnuplot's tikz terminal produces uncompilable code

I would like to use the gnuplot's tikz terminal to create good looking graphs in pdf format. However, I have trouble compiling the resulting .tex file. My plot.gp file looks like: clear reset set ...
0
votes
1answer
186 views

How to add additional space for the last group of bars in gnuplot?

I used this: plot 'dat' u 2:xtic(1) t 'pca-10', \ 'dat' u 3 t 'pca-20', \ 'dat' u 4 t 'pca-30', \ 'dat' u 4 t 'pca-30' my data is: antlr 0.9424 0.9363 0.7754 0.7506 bloat ...
6
votes
1answer
594 views

Improve pfgplots precision with gnuplot

I have measured the execution time of two algorithms (a naive, and an optimized one), and I would like to display measured data with pgfplots plus a trend line for the naive algorithm. I have used ...
0
votes
1answer
132 views

Use cite in gnuplottex key

I am using the gnuplottex package to create plots with gnuplot from inline gnuplot code in my LaTeX documents. I am using pdflatex directly to get PDFs. I would like to be able to use the \cite ...
9
votes
1answer
2k views

GNUplot and LaTeX (linestyles)

I've just started using GNUplot to create graphs. I've been using the epslatex terminal and my issue is, when I create my graph in the wxt terminal, and then replot it in the epslatex terminal, the ...
3
votes
0answers
450 views

multiple non linear curve fitting using pgfplot for IC50 [closed]

My question is related with Non-linear curve fitting with gnuplot .I want to make multi IC50 using that plot which give result red, green and blue line, but only blue line appeared. this is MWE ...
8
votes
3answers
5k views

How to graph a function using TikZ?

I want to plot this function with a big range says, (-10,000:10,000), unfortunately I couldn't figure out how to set the domain, or xrange correctly to scale the graph nicely. This is what I have so ...
7
votes
1answer
977 views

gnuplot calculated curve shifts to the left

The following code samples are borrowed from Test 1 and Test 2. My computer configuration is Windows XP SP.3 Japanese version, MiKTeX 2.9 (already updated), TeXmaker 3.5 or TexStudio 2.4 and ...
3
votes
2answers
2k views

IC50 with curve fit line and value of IC50 appear on the graph using pgfplot

Please help me to make IC50 graph with data as follow S(mM) Activity (%) 0.00080 99 % 0.00800 91 % 0.08000 89 % 0.40000 89 % 0.80000 79 % 1.60000 61 % 4.00000 39 % 8.00000 25 % 80.00000 4 % ...