{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
3k views

Gnuplot epslatex terminal not showing axis text

The following minimal example shows how I make a plot using gnuplot to the "epslatex" terminal and want to include it in my document. However, the axis texsts do not show.. What might be wrong? ...
0
votes
1answer
1k views

No text from epslatex terminal in gnuplot [closed]

I am trying to use the epslatex terminal in gnuplot, using the example code from this site. Copying and pasting this example and running the gnuplot script produces the following output: No labels! ...
4
votes
1answer
925 views

Strange problem with pgf/tikz auxlock file when invoking tikzexternalize

I'm trying to generate a number of somewhat complicated TikZ based plots using gnuplot's lua/tikz terminal. Things had been working fine last month, but when I needed to update some of these plots ...
7
votes
2answers
625 views

Is there a combination of LaTeX gnuplot flowchart?

I know this is not always a good idea, but I think it might be a good idea in some situation. Is there an improved LaTeX version or something, can have the gnuplot scripts inside of the LaTeX file, ...
4
votes
1answer
774 views

TikZ overwrites gnuplot .gnuplot file

I do not know if what I am bringing up is a feature or a bug. I am trying to get a cos x trig plot in degrees generated by gnuplot and plotted by TikZ. My .gnuplot file looks like this: set table ...
4
votes
3answers
843 views

Incorrect plot with pgfplots and gnuplot

I'm attempting to plot atanh(x) although there seems to be a giant straight line linking the top and bottom points. Am I doing something wrong? \documentclass{standalone} \usepackage{pgfplots} ...
4
votes
2answers
2k views

How to create a figure with latex labels and handling transparency in gnuplot?

I am very fond of latex labels in my gnuplot figures, and the way I generate most of them is via the pslatex terminal. Here, I would like to take advantage of transparency in a figure (superimposed ...
4
votes
0answers
75 views

\newcommand to make a plot command using gnuplottex [duplicate]

Possible Duplicate: Wrapping code (listings, verbatim, or other method) inside a newcommand I'm new to LaTeX and trying to write a command to plot files using the gnuplottex package (and ...
7
votes
2answers
886 views

How to set what appears as a title in a document viewer menu bar?

This is a tricky question. Say I generate an image in gnuplot using the pslatex terminal: gnuplot<plot.plt latex dummy.tex dvips -E -oimage.eps dummy where 'plot.plt' contains: set term ...
1
vote
1answer
2k views

Why are EPS files generated by gnuplot rotated 90 degrees?

I have an EPS file generated by gnuplot. I used the code: #set term post enh color #set out '1.eps' The EPS file viewer in gsview is horizontal. However, when I include it in my paper the graph is ...
0
votes
1answer
1k views

\usepackage{gnuplot-lua-tikz} --> no output at all

I have a simple test document, that stops working if \usepackage{gnuplot-lua-tikz} is included in the preamble. I use TeXnicCenter in conjunction with pdflatex. I wanted to generate a tikz file ...
9
votes
2answers
5k views

adding gnuplot capability to latex

I have been working with LaTeX, under TeXMaker (latest version 3.2.2) for several months, and recently added PGF/TikZ capability. On that occasion I feared there would be problems as I really have ...
8
votes
2answers
1k views

pgfplots: post-processing data created with gnuplot

I have managed to use pgfplots' gnuplot option to solve an implicit equation: \documentclass{standalone} \usepackage{tikz,pgfplots} \begin{document} \begin{tikzpicture} \begin{loglogaxis}[ ...
17
votes
1answer
1k views

Tikz for large files

I have a question regarding the use of TikZ. I have five large sets of data (15000 points) and I want to use TikZ to plot my data, but obviously the amount of memory isn't sufficient. Can anyone give ...
2
votes
1answer
427 views

Pass TeX macro to gnuplot environment - gnuplottex

I want to pass a TeX macro to the gnuplottex environment gnuplot. The example here is rather trivial but help solving would be appreciated. The end goal is to adapt the gnuplottex code to call ...
9
votes
1answer
5k views

Gnuplot and PDFLatex question

I'm trying to use Gnuplot and package gnuplottex to create plots directly in LaTeX. Started with the following simple example \documentclass[a4paper]{article} \usepackage[shell]{gnuplottex} ...
9
votes
3answers
8k views

Gnuplot Setting the Number of Key Columns

I am having an issue setting the number of key (i.e., legend) columns using Gnuplot with the TiKz terminal. Here's a minimal working example of what I'm talking about: #!/usr/bin/env gnuplot set term ...
0
votes
1answer
287 views

GnuPlot terminal LaTeX: \Diamond not centered!

I use the following GnuPlot commands: set terminal latex size 12cm, 7cm set output "4Kalibratie.tex" set nokey set xlabel "kanaal $k$" set ylabel "$E$ (MeV)" plot [0:2000] [0:10] ...
5
votes
1answer
160 views

Will reusing \sbox-ed cmds reduce DVI/PDF size?

I wonder wheither reusing \sbox'es decreases only .tex code or also its final output whether DVI/PDF/... i.e. does TeX expand them while writing DVI or PDF or does the viewer do that? For example ...
1
vote
1answer
236 views

why is GnuPlot .tex to .pdf, large compared with raster images?

Raster scanned articles tend to be quite a bit larger than vector graphics based articles. In practice when I make a plot with gnuplot, the resulting pdf is large compared for what it displays. I look ...
8
votes
1answer
960 views

gnuplot true standalone

Finally I have decided to go PDF. I can add pictures without EPS wrapper, and do drawings with TikZ - life is good :o) But how do I use gnuplot? For consistency I would like to use the tikz terminal, ...
4
votes
1answer
2k views

How do I get the gnuplottex/epstopdf package to work with “-output-dir” and “-aux-dir” option?

I can't seem to get the gnuplottex package to work with my preferred compile options. This is a (not too) minimal example of what I mean: \documentclass[a4paper,10pt]{scrreprt} % ...
7
votes
1answer
699 views

tikz: plot stepped gauss

I need to plot a stepped gauss curve as shown below. Yet I want to do this dynamically (in text) so I can alter it later. I know how to plot a smooth gauss but I really need the stepped one. Also a ...
10
votes
1answer
975 views

TikZ: Fill (closed) parametric plot of catacaustic

Is there a trick to fill the parametric plot of a catacaustic which looks closed but isn’t closed in TiKZ meaning. The Problem is the egdge which looks closed but isn’t it … I guess I can ...
11
votes
1answer
1k views

Consistently specify a Function and use it for computation and plotting

I would like to be able to specify a mathematical function and be able to use that for multiple purposes including: Computation of values (see bullet points below) Graphing using pgfplot Graphing ...
2
votes
1answer
678 views

Consistently specify function to be graphed with or without gnuplot

I would like to be able to specify a function and then graph that with with pgfplot only, or use gnuplot to compute the coordinates. As far as I know there are two main differences in how the ...
6
votes
1answer
839 views

Consistent Pgfplot Labels Positions with/without Gnuplot

I like that I can place a node at the end of plot and the node appears relative to the last point on the graph. When the domain is specified in increasing order \DomainMin:\DomainMax, the label gets ...
11
votes
2answers
1k views

Is there an advantage to using LaTeX graphics instead of eps or pdf?

Back in my first courses I learned that the best graphic format to use when plotting data with gnuplot (which will later be used in a LaTeX document) is eps (encapsulated postscript). I didn't really ...
5
votes
2answers
785 views

bodegraph on Ubuntu 10.04

I have been trying to get the tex package bodegraph working on my Ubuntu 10.04 machine. First off since Ubuntu ships with Texlive 2009 I had to uninstall the default version and manually install ...
4
votes
1answer
1k views

Generating graphs with gnuplot (Gnuplot, LaTeX and tkz-fct)

I can not generate the chart below using gnuplot. How do I do this in TeXLive 2011? What are the commands? I wanted to use pdflatex, but can this also be done with latex. In my tests this did not ...
7
votes
3answers
549 views

Reversing a path in TikZ

When I use \path plot function {x^2}; in tikz, it plots it left-to-right (the default domain is -5:5). This is annoying, because, for example, one cannot pile on -- plot function {x^2 + 1} -- cycle; ...
12
votes
1answer
2k views

Adding values to pgfplot legend

As a follow-up to my earlier question (here), here is a question that is perhaps a little more latex than gnuplot. having used gnuplot and pgfplots to generate a fitted curve, is there an easy way to ...
12
votes
1answer
3k views

Non-linear curve fitting with gnuplot

I am trying to use gnuplot with pgfplots in TexShop, following on from an example by Martin H in the comments here. I can get the data points in OK, and plot them but the fit (red line) does not seem ...
9
votes
1answer
8k views

LaTeX formulas in gnuplot plot legends?

I would like to have my gnuplot legends set in LaTeX math mode, because they often are described by a formula. I use wxMaxima to generate the plots, but I could switch to using gnuplot directly, if ...
2
votes
2answers
12k views

Gnuplot - Reduce the space between graph and axis label [closed]

I'm using the minipage package to position two graphs, generated by gnuplot, side-by-side. I use the epslatex terminal. The graphs are rather small, and I'd like to increase their size by reducing the ...
5
votes
3answers
2k views

A problem with “Tikz + Gnuplot”, set terminal table

When I use Tikz to plot a function. I followed the instruction to use gnuplot to do so. I did that half year before. But now when I recompile, the gnuplot has problem with the first line of its ...
1
vote
1answer
3k views

gnuplot epslatex pdflatex

I'm trying to embed my plot created in gnuplot. Just setting the terminal to latex works fine but only creates a black and white plot. With the color screens getting cheaper these days this isn't ...
3
votes
2answers
1k views

Area between curves

I want to fill the area of a region R bounded by x=f(y), x=g(y), y=A and y=B. For example, R is bounded by x=0, x=2/y, y=1 and y=4.
3
votes
1answer
968 views

Gnuplot subdirectory not found using epstopdf

I'm moving from the gnuplot latex terminal, to the epslatex terminal. I use pdflatex. With the epslatex terminal, I receive two output files, a .tex and a .eps. I can use epstopdf to convert the eps ...
2
votes
1answer
182 views

epslatex visible box doesn't fit all of the info (axis names)

i'm preparing a publication into Phys Rev E. they ask to use revtex. in revtex guidelines, they say that i should include eps files. i already have all the plots made with latex symbols and ...
13
votes
1answer
2k views

Plotting an implicit function using pgfplots

What is the correct way to plot an implicit function using pgfplots? Consider the following example: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} ...
6
votes
1answer
1k views

Centering a gnuplot figure properly

I use gnuplot and its epslatex terminal. When I include a gnuplot-generated figure in my document and center it as usual, it often appears shifted right — because the labels on the left contribute to ...
18
votes
4answers
4k views

Fill the area between two curves calculated by pgfplots

This is essentially the same question as fill the area between two curves when their coordinates are known. In that question, the curves were defined by known coordinates. I want to fill the area ...
6
votes
2answers
2k views

Where to find the gnuplot lua-tikz-terminal?

Where can I still download the gnuplot tikz terminal? I keep winding up at broken links... Or is there another alternative that makes gnuplot output tikz drawings? Oh, and will I be able to get it ...
16
votes
2answers
5k views

GnuplotTex: automatic plotting and vertical line indication

I am using pdflatex with the gnuplottex package, to plot a function with a local maximum; I'd like to find this maximum automatically and label it. For the most part, I'm already there (using the ...
5
votes
3answers
2k views

Gnuplottex basic example fails with 'undefined control sequence'

I'm using latest TeXLive on Linux, and have gnuplot installed. I have also installed gnuplottex package. Then, I'm trying to compile the basic gnuplottex CTAN example, example-pdf.tex; however, I ...
6
votes
1answer
368 views

Accelerating LaTeX packages using a make like functionality

I use gnuplottex package quite a lot to draw graphs, and my own bashful package to write include computer output in a document I write. Yet another package of this sort allows one to include metapost ...
4
votes
1answer
2k views

TikZ + gnuplot on a Mac

I'm using LaTeX a lot in my work and I switched to Mac recently. I installed TeX Live and everything works fine, except for plotting a figure with gnuplot. I installed gnuplot 4.4.3 first simply in ...
2
votes
1answer
720 views

Two color line in gnuplot

Is there any way to plot a line graph where each series is plotted with two alternating colors? For example, say I was plotting the population of bees over time and I wanted the line to alternate ...
2
votes
2answers
2k views

TeXShop not finding Gnuplot

I'm working in TeXShop on my mac and I love it. There is one slight problem though. I use TikZ wich sometimes uses gnuplot to create it's plots. One would think that running TeXShop alone is enough ...