{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

4
votes
1answer
84 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
49 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
88 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
53 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
29 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
75 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
74 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
102 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
130 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
76 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
324 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
289 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
150 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
80 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
100 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
250 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
337 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
78 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
140 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
158 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
133 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
281 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
102 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
94 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
335 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
241 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
0answers
223 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
210 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
98 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
52 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
248 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 ...
1
vote
1answer
162 views

Need serious help with epslatex gnuplot terminal in beamer! [closed]

Well, I'm using this to generate my graph.tex and graph.eps files from gnuplot: set terminal epslatex input color colortext size 11.6cm, 8.5cm solid linewidth 2 But when I use \begin{center} ...
0
votes
0answers
31 views

Can't compile minimal document class? [duplicate]

I'm trying to compile a gnuplot epslatex output (which contains a .tex and .eps file). When I use \documentclass{article} \usepackage{graphicx} \usepackage{epstopdf} \begin{document} ...
1
vote
1answer
76 views

Positioning 4 figures in to two pair on one line [closed]

currently I have something that looks like; These images have come from epslatex plots from gnuplot. So my code looks like \documentclass{article} \usepackage{subcaption} \begin{document} ...
2
votes
1answer
150 views

Creating a diagram through gnuplot then putting it into LaTeX

I'm honestly at a loss. I've honestly tried using gnuplot and LaTeX together but it never seems to give anything desirable. I have the gnuplot code; reset set lmargin at screen 0.2; set rmargin at ...
4
votes
2answers
234 views

Figure caption is way too low (using LaTeX file images)

I'm uploading an image I created with gnuplot on to my document using; \begin{figure}[tbp] \begin{center} \input{plot.tex} \caption{Graph caption} \label{fig4} \end{center} \end{figure} The problem ...
2
votes
0answers
19 views

Tex symbol in xaxis using gnuplot [duplicate]

How can print 0, \pi/4, 3\pi/8, \pi/2 in the x-axis when plotting \sin(x) with gnuplot in the range [0, \pi/2]. Thank you,
4
votes
1answer
227 views

Can't enable shell-escape

I've been trying to add the --shell-escape argument to my pdflatex, and right about nothing works. I'll summarize what I've done so far: Add --shell-escape to existing pdflatex.exe Add ...
0
votes
0answers
299 views

pgfplots + gnuplot not working, shell escape and windows PATH are ok

I'm trying to get pgfplots to work with gnuplot to get this answer to work (i.e. triangulate a surface from a set of points). Shell escape was already enabled since I use TikZ externalization. gnuplot ...
3
votes
1answer
248 views

PGFplots and GNUplot with addplot3

I am trying to plot the following: \documentclass[tikz, convert = false]{standalone} \usepackage{pgfplots} \pgfplotsset{compat = 1.9} \begin{document} \begin{tikzpicture} \begin{axis}[view = ...
3
votes
0answers
334 views

using gnuplot to plot data from a file

I am trying to plot some data using pgfplots, but the data are so extensive that the maximum capacity is reached. I get the error: TeX capacity exceeded, sorry [main memory size=3000000]. What can I ...
2
votes
1answer
208 views

Problem importing Octave Plot using TiKZ - pgfkeys Error on gpcolor

I am trying to include a set of Octave generated plots in a report, however I am constantly receiving the same error from pgf about it not recognizing \gpcolor A MWE would be ...
2
votes
1answer
101 views

-shell-escape for gnuplot: it does not works when I launch pdflatex programatically

The situation and the issue When I launch pdflatex from another program, programatically, it seems that, even with the option -shell-escape, I am not able to launch gnuplot. I have asked to ...
3
votes
2answers
238 views

TikZ, PGFPlots, or GNUplot: plotting a curve without the known function

I would like to make a plot of a function that has an overshoot of 25% and then settles with subtle oscillations at 100%. I would like to create it in one of the listed packages or in gnus case add ...
4
votes
3answers
354 views

pgfplots: Plot inverse function (function of y)

I am trying to plot the Ramberg-Osgood-relationship for a specific material with pgfplots. The relationship describes the stress-strain-curve, that is the stress as a function of the strain. The ...
2
votes
1answer
242 views

PGFPlots and gnuplot: How to add asymptote, a xtick that isn't a number, and can intersection be used?

\documentclass[tikz, convert = false]{standalone} \usepackage[utf8]{inputenx}% http://ctan.org/pkg/inputenx % Euler for math | Palatino for rm | Helvetica for ss | Courier for tt ...
7
votes
3answers
678 views

pgfplots: 3D surface plot from data with free format

I want to plot 3D data from a file (data file) using pgfplots. The data represents an ellipsoid. I want to draw the outer shell like in the following picture, just without the background and in ...
3
votes
1answer
324 views

Force pgfplots to draw legend according to cycle list instead of the first plots

I use pgfplots to plot multiple curves from a file. The graph is plotted in two steps Draw only the marks, taking the original values from the file Draw only the lines, approximating the curve of ...
6
votes
0answers
187 views

Different color [closed]

I use the following code to generate a plot \documentclass{article} \usepackage{xcolor} % colorize your documents \usepackage{graphicx} % and use graphics \usepackage{tikz,pgfplots} % ...