{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
50 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
53 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
131 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
171 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
98 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
209 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 ...
2
votes
1answer
80 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
142 views

Different color

I use the following code to generate a plot \documentclass{article} \usepackage{xcolor} % colorize your documents \usepackage{graphicx} % and use graphics \usepackage{tikz,pgfplots} % ...
1
vote
0answers
46 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
81 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
50 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
133 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 ...
0
votes
0answers
30 views

Error showing latex file not found [closed]

I am writing the following steps in my gnu postscript file: reset set terminal epslatex color set output "pbspI=6.tex" set style data lines set size 1,1 set origin 0,0 set multiplot set size 1,1 ...
2
votes
1answer
130 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
115 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
68 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
59 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
146 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
181 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
594 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
95 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
250 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
134 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
234 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
201 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
170 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! ...
9
votes
2answers
482 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 ...
2
votes
1answer
491 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
274 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 ...
4
votes
1answer
161 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
269 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
146 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
28 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
132 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
1k 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
395 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
719 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
223 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
153 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
217 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
346 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 ...
14
votes
2answers
585 views

Fill a contour-plot

I did some calculations in Mathematica that gave me a contour plot: To include the output I wanted to however draw it with pfgplot. But there I don't get it to work, first of all the y-axis doesn't ...
10
votes
2answers
961 views

Big data surface plots: Call gnuplot from tikz to generate bitmap and include automatically?

Motivation I have large numerical data files, that I would like to create density (surface) plots of. Since they are very big, we can rule out a few possibilities such as to plot them directly with ...
5
votes
1answer
656 views

Automatic binning of histogram using raw gnuplot in pgfplot

I have a problem in plotting a histogram using the raw gnuplot in pgfplot. A minimal example is below. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
9
votes
1answer
2k views

Creating colorful plot using latex terminal of gnuplot?

Most output terminals of gnuplot draw different lines in a plot in different colors. I'm trying to create a plot inside my pdf document using gnuplot's latex terminal and the lines are only ...
3
votes
1answer
101 views

Gnuplot invisible

I'm trying to plot two implicit curves (using pgfplots and raw gnuplot) but they don't appear in the document. In gnuplot it works just fine so I guess it has something to do with pgfplots but i can't ...
2
votes
1answer
709 views

Enabling “--shell-escape” on TeXworks under MiKTeX

After resolving the problem on my previous question, I applied to finally install Gnuplot 4.6; and after a successful installation I had to allow the --shell-escape option on TeXworks, so I added a ...
5
votes
1answer
206 views

Draw ticks over external plot using pgfplots

I plotted a contour/surface plot with gnuplot using set pm3d map and want to include this picture via \addplot graphics {...};. When I match the plot area of the axis environment with the plot range ...
2
votes
1answer
490 views

Color with gnuplot generated TikZ file not working (other TikZ has color)

I have generated a tikz .tex file from gnuplot and I am attempting to simply \include{mytikzfile} in my main .tex file, which uses the revtex4-1 document class. Upon compiling I get a number of errors ...
6
votes
2answers
552 views

PGFPlots: Mathematical expressions

Question Is there a way to include mathematical expressions in PGFPlots, for example, [domain=1/3:e^5/3]? PGFPlots is fairly useful, however the ability to put mathematical expressions directly into ...