{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
2answers
144 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
243 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
79 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
41 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
80 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
150 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
219 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
50 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
69 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
97 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
111 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
197 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
79 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
86 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
135 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
198 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
171 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
151 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
80 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
47 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
211 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
109 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
72 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
134 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
159 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
18 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
157 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
221 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
185 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
252 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
146 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
89 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
224 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
291 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
184 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
538 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
210 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
178 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} % ...
2
votes
0answers
76 views

TikZ and Gnuplot: Put all *.gunplot and *.table in a customized folder

My question is an extension from the question "bodegraph on Ubuntu 10.04" Based on the answers of that question, we can either put all generated *.gnuplot in the directory gnuplot/\jobname/, or in ...
3
votes
0answers
114 views

Trying to use gnuplot to plot a simple graph with tex [closed]

I'm following this link word by word, using the epslatex terminal way: How can add some latex eq or symbol in gnuplot? When I open up texworks, and run \documentclass{article} ...
1
vote
0answers
132 views

restricted write18 is preventing the command: runsystem(gnuplot filename.gnuplot) from being executed

That pretty much says it all. I'm on a mac, using Texmaker, gnuplot works well with aquaterm, I can pass code for diagrams from GeoGebra (geometry package) that works fine. It seems like using ...
1
vote
1answer
1k views

How to make labels of x-axis texts vertically for gnuplot [closed]

I tried plot [][1:3] 'word-based.txt' using 1:xtic(2) with line it draws the required graph but with horizontal direction of x-axis labels which is texts as shown in picture. How to make ...
2
votes
1answer
290 views

.eps file not generated using epslatex

I am trying to do a plot using epslatex interface of gnuplot where I am using latex command for labelling the y-axis and then include the plot in another TeX file. I am writing the following steps ...
1
vote
1answer
247 views

epslatex doesn't generate correct output files .eps and .tex (missing include-graphics line)

I'm trying to generate a simple plot using the epslatex of gnuplot (version 4.6, recently installed). The script is the following: set terminal epslatex 8 set output 'sample1.eps' set size 0.75,0.75 ...
3
votes
1answer
92 views

Displaying subfigures of different aspect ratio to look same aspect ratio

I have some figures that came out from gnuplot that I would like to display. The only difference between them is that one has a legend and the other one does not. So although they have the same size ...
1
vote
0answers
85 views

EPS figures have misaligned text when imported [closed]

I have a manuscript with two-dimensional .eps figures generated by Gnuplot 4.6.3. When I examine these .eps figures directly (e.g., via OS-X's preview app), they appear fine. They're also fine under ...
4
votes
2answers
322 views

unify figure(gnuplot generated) font size and latex font size

I am generating some figures with gnuplot epslatex terminal in standalone mode. There is no problem in generating the figures and the quality. However, while using the elsevier article class in two ...
8
votes
1answer
297 views

Gnuplot inside LaTeX not working

I'm trying to create a gnuplot image inside my LaTeX document, but nothing is being displayed. My gnuplot works if I do it outside LaTeX. \begin{figure}[!ht] \begin{gnuplot}[terminal=pdf, ...