{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

1
vote
0answers
22 views

Package pgf warning: gnuplots

I'm using the following code in a Tex file to draw a figure. When I compile the file using pdflatex --shell-escape filename.tex, the following error is logged in the log file and the figures are not ...
4
votes
1answer
196 views

Best program for 3D plotting for LaTeX

I'm cross-posting this (also on Mathematics stack exchange, but not really getting the answers I'm looking for, so thinking I may have posted in the wrong community originally). I've hit a roadblock ...
4
votes
1answer
154 views

Best program/package for creating LOTS of function graphs to use in Beamer?

I am looking for program/package recommendations for drawing graphs. I know similar questions have been asked before, but I have some pretty specific needs because of the project I'll be working on. ...
2
votes
1answer
49 views

Tikz picture + function plotting | what once worked, no longer does

For one of my classes, I use a fair number of function plots, which I generate using TikZ, and tikzpicture. Unfortunately, what once compiled fine (probably last fall when I last made significant ...
3
votes
1answer
66 views

Externalization of contour gnuplots

Based on a datafile (XYZ.csv) I want to have a contour plot within my .tex file. I'm using lualatex for compilation. The main issue is the externalization of the gnuplot contour plot in combination ...
1
vote
0answers
26 views

Referencing gnuplot epslatex symbols in LaTeX

The situation I am faced with is that I need to write a caption for a figure created with gnuplot, where I wish to reference the point types used by gnuplot in the actual plot, something akin to ...
0
votes
1answer
61 views

gnuplottex and cairolatex for 3D plots: remove extra whitespace

as title says. I'm using gnuplottex with the cairolatex terminal for both my 2D and 3D plots. While the 2D plots look great, the 3D plots have too much whitespace. I tried negative vspace, negative ...
8
votes
1answer
132 views

Why does PGFplots plot more than the desired range in a 3D plot?

I would like to plot a function in the range [-2, 2], but PGFplots keeps plotting a little bit more: Why is that the case and how do I fix it? Code \documentclass[varwidth=true, ...
3
votes
0answers
41 views

pgfplots + gnuplot: why does setting clip = false in axis options completely ruin graphs of implicit functions?

Here's a MWE: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[xmin = 0, xmax = 1.5, ymin = 0, ymax = 6.2831853072, ...
1
vote
1answer
55 views

After setting the samples parameter, why are gnuplot plots misaligned relative to background TikZ grid?

In order to run this code, you'll need to have gnuplot installed. In addition, you'll have to have your editor/workflow ensure that the --shell-escape option is passed to pdflatex, so that TikZ can ...
2
votes
1answer
78 views

Gnuplot for Graphics from Octave. How to set size IN OCTAVE?

I am using Octave for all my calculations and plotting. By telling Octave graphics_toolkit gnuplot I can create a *.tex-document by print -dtikz filename.tex Which I can then use by ...
2
votes
0answers
30 views

Is there a way i can make psfrag replace every number in a plot?

I want to replace every number in the axis of a plot. Can psfrag do this? If not, is there any other tool i can use to get the same effect?
2
votes
1answer
33 views

Is there some way i can edit a Octave eps and send it to LaTeX to be edited with psfrag?

I want to cut just a part of a eps plot made with Octave (its colorbar) and send it to LaTeX, still being able to use psfrag with it. Is there a way to do it?
2
votes
0answers
32 views

How to print gnuplot fit params in a tikz node?

I have defined a macros for curve fitting and plot as: \newcommand{\logfit}[4]{\addplot[no markers, black, line width=0.15pt] gnuplot [raw gnuplot] { %command for log fit f(x) = b*log(x) + c; b=0; ...
2
votes
0answers
131 views

gnuplot line graph plotting irregular x-axis values with fixed interval [closed]

I have the following excel data and corresponding line chart I wanted to plot it using gnuplot script set term postscript eps enhanced monochrome set output "r-all-float-case4.eps" ...
0
votes
1answer
70 views

How to plot time intervals? [closed]

This is not a LaTex question but might be relevant to people in here. Does anyone know how can I plot time intervals. I am interested to plot some thing like this but I don't know how. I prefer to use ...
1
vote
0answers
38 views

plot matrix with epslatex

When plotting a data matrix with the plot command and epslatex terminal the generated image is correct. However, the generated latex file outputs also the source path, i.e. 'Date/data_file.txt'. Any ...
3
votes
1answer
77 views

Path problem in automatically produced .tex-file using gnuplot with terminal cairolatex

I'm using the terminal cairolatex in a gnuplot script. This produces a .tex -file and a .pdf -file with the same name specified in set output .The problem is, that both files are in ...
4
votes
1answer
218 views

Invoke gnuplot through pgfplots to get a matrixplot

I have a code which gets two parameters and depending on them the code has different runtimes what I want to illustrate in a matrix plot. I'm writing the thesis in LaTeX the obvious method for me, ...
1
vote
1answer
153 views

pgfplots with gnuplot: 3d-surface/mesh plot and problems with number of samples

I want to plot a 3d-surface/mesh of a given function via 'gnuplot'. Of course the smoothness of the surface depends on the number of samples. But here I run into a small problem. Take the following ...
1
vote
1answer
111 views

Problem with outputting graphs using gnuplot and TikZ

I want to draw graph using gnuplot and TikZ with the source (this is MWE) shown below, but it didn't work for me. \documentclass[uplatex]{jsarticle} \usepackage{gnuplot-lua-tikz} \begin{document} ...
1
vote
2answers
156 views

Inserting graph from gnuplot to latex

How to insert high quality graph drawn in GNUplot in LaTeX. I am trying to use following method: draw graph in gnuplot saving it as SVG file converting svg into pdf Inserting pdf into latex file ...
1
vote
0answers
43 views

Error with gnuplot and babel greek

In my preample i use the babel to load the greek language along with the txfontsb package for greek letters. In order to create a plot using gnuplot, i use the following code : -synctex=1 ...
1
vote
0answers
76 views

eps image not identical to original after compiling [closed]

I have created an eps image with gnuplot (terminal postscript enhanced eps), that is just what I wanted But when I put this image in a tex document and compile a pdf with latex dvips andps2pdf, I ...
1
vote
0answers
79 views

What do you use for plotting? [closed]

I use Latex now for about two years and have written a couple of larger documentations with it. When it comes to plotting (simple or complex, functions or data) I used gnuplot or R. The later more and ...
0
votes
0answers
135 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
2
votes
1answer
219 views

Contour plot using pgfplots where some data entries are NaN

I would like to make a contour plot of data that has been saved in a text file that consists of three columns where the columns are x_i, y_i and z_i and some elements z_i are NaN. I use MikTex 2.9 ...
1
vote
1answer
106 views

Problem of positioning and size of the additional text on tikz/gnuplot figures

I want to at my legend using tikz environment on top of my figures generated with gnuplot. I am happy with the result when I comment the part \node[anchor=center, text width=0.39cm, xshift=0cm, ...
4
votes
2answers
537 views

How to plot smoothly an implicit function using gnuplot and tikz-pgf?

I would like to plot implicit functions in Latex with tikz and gnuplot. A minimal example of my code is given by: \documentclass{article} \usepackage{tikz} \begin{document} ...
9
votes
3answers
309 views

First half of plots is missing

I want to draw some functions with gnuplot. It works well, but the first half is missing and I don't know why. \begin{figure}[htpb] \begin{center} \begin{tikzpicture} ...
4
votes
1answer
229 views

convert gnuplot script to pgfplots using “raw gnuplot” option

I'm trying to rebuild a plot from "standalone" gnuplot with pgfplots using the raw gnuplot option. This is the gnuplot code which generates the desired graph: #!/usr/bin/env gnuplot set xlabel "Time ...
2
votes
1answer
124 views

Defining a local graphicspath for gnuplot epslatex plots

I'm having trouble including gnuplot plots (epslatex terminal) that are stored in a subdir of my main tex. Here's how i create a plot in gnuplot: set datafile separator "," set terminal epslatex ...
6
votes
2answers
122 views

Problem with axes and implicit plot : Shift enters the drawing of the axes and the implicit function

Observing this LaTeX example: I draw, with the gnuplot environment, one implicit curve (conic), a horizontal line and a vertical line (axes through the origin). I do not understand the result: the ...
6
votes
2answers
317 views

Interpolation and curve fitting - Tikzpicture? Gnuplot? Pgfplot?

well, I am fairly new to LaTeX, but I tried my hardest do find a solution for my problem but I couldn't find a proper answer, so I hope someone here has the answer or another suggestion for me. I ...
0
votes
1answer
474 views

gnuplottex with windows 8.1

I am having difficulties setting up my system right in order to add the gnuplottex abbility. I followed this tutorial: adding gnuplot capability to latex and also used the mwe posted in this thread. ...
2
votes
1answer
161 views

Gnuplot+epslatex irregular dashed line

I'm using gnuplot+epslatex to generate some plots. This is what I put in the gnuplot code set terminal epslatex color size xwidth cm,1.1*xwidth font 9 header \fontsize{10}{13.2} ...
2
votes
1answer
233 views

gnuplot within LaTeX using epslatex terminal and pdflatex for compiling

I am encountering problems of implementing gnuplot images in my TeX document. I can actually create a gnuplot image (.tex and .eps file) interactively (separately) and use \input{image} to implement ...
2
votes
2answers
225 views

“samples” option yields empty graph with addplot3 and gnuplot contour (tikz)

The following code plots the desired level set : \documentclass{minimal} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \pgfplotsset{mystyle/.style={% ...
4
votes
1answer
167 views

Problems with Gnuplot

I am a begineer in LaTex and absoulte novice in gnuplot. I am using Texstudio and Windows 8.1. The problem is - I cannot make LaTex display a simple image. Probably some settings issue. In paricular, ...
2
votes
3answers
419 views

Using GNUPlot inside Latex (TexStudio) for IEEE Tran

I am trying to insert gnuplot inside my IEEE Tran paper (Platform is Windows). I am unable to do it correctly. Here is the code. The below give code is not working. No output is obtained. I am writing ...
0
votes
1answer
144 views

caption overlapped on plot label

I have a plot obtained with gnuplot with epslatex terminal. So, I have two output files from gnuplot: foo.eps with the graph and foo.tex with the label also. To include the plot in my latex document I ...
2
votes
1answer
104 views

Where are my latex fonts (linux)

I am pretty sure this question was already asked but I cannot find it. I am using ubuntu and would like to know where are the font files I am using when I compile a latex document? I looked at them ...
1
vote
0answers
429 views

gnuplot: plotting multiple functions with different ranges [closed]

I would like to plot the inverse of y=xe^x, with dashed lines leading to the point (-exp(-1), -1) set parametric set arrow 1 from -4,0 to 4,0 nohead set arrow 2 from 0,-4 to 0,4 nohead set ...
4
votes
3answers
297 views

Gnuplot and TiKZ: centering plots?

I'm trying to plot an implicit function in a LaTeX document, and I'm using TiKZ for all my diagrams. For the implicit function, I'm calling gnuplot, and I've found that the best solution, which seems ...
5
votes
1answer
296 views

Shell Scheme with pgfplots/gnuplot

I have a problem with pgfplots. I want to create a shell scheme from an E-motor characteristics. In the end it should look like this (well, with some more pleasing colours): The data is stored in a ...
3
votes
0answers
37 views

Independent coloring of contour and 3D plot in pgfplots [duplicate]

I have a problem with pgfplots where the addition of a contour plot at the bottom of a 3D plot changes the coloring of the surface plot. This is a simple example: ...
1
vote
1answer
358 views

“Shell escape not enabled” error, even though write18 is enabled

I have enabled write18 by telling TeXlipse to call pdfLaTeX using the --enable-write18 option. However, this does not seem to work properly. The code \documentclass{scrartcl} \usepackage{tikz} ...
2
votes
1answer
112 views

Simple animation with tikz and gnuplot won't finish compiling

I got the following code: \documentclass[tikz,border=2pt]{standalone} \usepackage{pgfplots} \usetikzlibrary{calc} \usepackage{animate} \usepackage{fp} \newcommand*\tdist[1]{ \begin{tikzpicture} ...
3
votes
0answers
64 views

Font Error when using pslatex and gnuplot

I have a very persistent problem. I am creating a figure using gnuplot with pslatex terminal. Then I use Latex to create the .dvi (using the figure), then dvips to create the .ps and finally ps2pdf to ...
4
votes
2answers
287 views

Plotting 3D polyhedra, which package?

I have been using TikZ a lot but only for 2D plots. I was hoping I could use the 3D package for plotting regions on the (x,y,z) plane given by linear inequalities (currently I'm using Mathematica for ...