{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

2
votes
1answer
748 views

gnuplot + epslatex: \footnotesize in the plot title leaves much space to the left of the key

As the title said, using \footnotesize in plot ... title '\footnotesize Some Title' leaves much space to the left of the corresponding key. The space can be annoying with grids. As you can see in ...
4
votes
1answer
346 views

Importing Colored Graphics from Gnuplot to LaTeX

I have five data files each containing separate data. I have plotted them in Gnuplot and superimposed them; at this point I would like to emphasize that Gnuplot automatically chooses different color ...
4
votes
1answer
210 views

output-directory and shell commands

Let's use a small example to use gnuplot to draw a nice function using tikz. \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw plot[domain=-3:3,samples=100] ...
2
votes
1answer
330 views

Setting gnuplot-like colormaps with pgfplots

I would to use the gnuplot default colormap with pgfplots. This colormap is defined in gnuplot with set palette rgb 7,5,15 where the numbers refer to a function for the red, green and blue colours ...
2
votes
2answers
163 views

How can we import the gnuplot output in LaTeX?

I am using the gnuplot and create the myploy.tex as following: set terminal epslatex set output 'mplot.tex' set xlabel "Avg. No. of demand duration (slot) " set ylabel "Acceptence rate (%)" ...
3
votes
0answers
28 views

How do I include a gnuplot graph in a beamer frame? [duplicate]

I'm using the beamer class to create a presentation. I'd like to include a gnuplot graph, but inside the frame environment, that seems to be impossible. When running pdflatex, I get the error ! File ...
2
votes
1answer
140 views

Why do these two plot commands give different results?

Why the following two MWE codes, using pgfplots with and without gnuplot give different results (a phase shift)? \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
6
votes
1answer
1k views

Converting PDF to EPS results in low resolution rasterization

I have a problem with image converting for scientific manuscript. I have been using gnuplot to make graphs, using TikZ terminal, and finally generating the figure as a PDF with LaTeX. It results in a ...
5
votes
1answer
571 views

Gnuplot output encoding

I have this gnuplot script and works fine: set term png set output 'test.png' plot sin(x) ti "Eñe" Note de 'ñ' in the label. This produces an image and you can read the 'ñ'. Now I try to change ...
7
votes
3answers
1k views

How do I change the aspect ratio of gnuplot output?

How do I change the aspect ratio of the canvas of a gnuplot plot in LaTeX using the gnuplottex package? The following changes the aspect ratio of the output but not the canvas size, thus leaving a ...
3
votes
2answers
256 views

Postscript (.ps) image does not import into .tex file or pdf

I am trying to: Export a gnuplot .gpl file to a .ps Get my .tex file to use the .ps file as an image Convert that .tex file to a pdf I created the following gnuplot .gpl file which exports ...
3
votes
1answer
225 views

Have gnuplot inherit the domain from pgfplots

I'm using domain=min:max within pgfplots, but unless I provide the same limits to gnuplot explicitly, they are ignored and gnuplot proceeds with plotting in the range [-10,10] (I assume that is the ...
5
votes
1answer
235 views

Line style not updated when using gnuplot within pgfplots

I have a large data file with multiple columns. This makes it impossible for me to add multiple \addplot commands manually, so I am using gnuplot from within pgfplots. The problem is that gnuplot does ...
4
votes
1answer
486 views

How do I add only arrowheads to an EPS gnuplot figure?

As part of a diagram I want to add arrowheads indicating direction, but don't want the lines that normally come with them. Creating a very short line with an arrowhead is acceptable and works in ...
14
votes
2answers
777 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
1k 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
797 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} ...
9
votes
1answer
4k 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
141 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
1k 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
243 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 ...
2
votes
2answers
653 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
747 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 ...
6
votes
1answer
1k 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
851 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
619 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
1k 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
394 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
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
456 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: ...
5
votes
2answers
7k 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
244 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
695 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
662 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
1k 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
431 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
244 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
3k 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
213 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
541 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
723 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
416 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
260 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
126 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
59 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
178 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
248 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
1k 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
237 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. ...