{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
1answer
225 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
32 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
85 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
172 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
332 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
350 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
323 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
283 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
356 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
291 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
127 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
256 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 ...
5
votes
3answers
418 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
360 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
871 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
444 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
196 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
86 views

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

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
138 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
306 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 ...
2
votes
1answer
3k 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
455 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
494 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
136 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
108 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
454 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
448 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, ...
17
votes
4answers
1k views

What is the best way to produce TikZ picture for discrete signals?

I would like to draw discrete signals, as shown in the illustration below, but not by way of drawings of individual lines.gnuplot could be used for this work? It would be nice to be able to choose the ...
4
votes
1answer
161 views

Truncated text in resized gnuplot LaTeX output

I have a recurring issue when generating latex documents from gnuplot as soon as I specify a set size n,m where n or m is greater than one. Here are the minimal codes producing the issue: Gnuplot ...
2
votes
1answer
331 views

Label functions generated with gnuplot in pgfplots

I would like to generate four hyperbolas in the plane and label them. I'm using the following code (sorry for its length, feel free to shorten it...): \documentclass{standalone} \usepackage{pgfplots} ...
6
votes
1answer
217 views

Problem with gnuplot and lualatex

I have a pretty complicated graph to plot from coordinates.A friend from here adviced me to use gnuplot and also helped me with the code which is the following... \documentclass[border= ...
8
votes
1answer
343 views

Fitting on log log axis

I try to fit data which I plotted on a double logarithmic scale. I use LaTeX and gnuplot. [It works with pdfLaTeX with adding the additional argument "--enable-write18" and directing the path of ...
1
vote
1answer
379 views

datetime plot in pgfplot using gnuplot

I have a large data file with several columns wherein the first column is a date and time in the format, 'yyyy-mm-dd hh:MM' and the rest are numerical values of different variables. I often have ...
7
votes
1answer
198 views

What is wrong with this code to plot '(y^2)/2-cos(x)'?

I want to contour plot the curves (y^2)/2-cos(x)=c with the following code, but there are only straight line in the output figure. What's wrong? Any help or suggestions will be appreciated! ...
11
votes
2answers
1k views

plot 3d graphs of functions defined implicitly

How can I plot 3d graphs of functions defined implicitly (quadratic forms, for Linear Algebra course notes -- I'd like to include lots of examples)? As far as I can see it is not possible with ...
3
votes
1answer
1k 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
560 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 ...
5
votes
1answer
275 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
487 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
585 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
29 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
158 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
2k 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
887 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
3k 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
369 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
324 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
276 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
766 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 ...