{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
21 views

errorbars in pgfplots using raw gnuplot

I use pgfplots always in combination with the 'raw gnuplot' option because I like it better to preprocess my data using gnuplot. (curve fitting, complex calculations etc.) Now I am facing a problem ...
1
vote
0answers
48 views

defining a function in tikz

In this MWE there are two definitions of Q function: % arara: lualatex: {synctex: yes, shell: yes} \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} ...
1
vote
1answer
42 views

How to arrange the key in this plot?

basically I have plot like this: It looks bad because two reasons: The middle figure, five keys are overlapped with lines The 6 key in the third figure, even they are not overlapped, they are not ...
0
votes
0answers
43 views

Plot the sum of two inverse normal CDFs in three dimensions

I am interested in plotting the sum of two inverse cumulative normal distributions in pgfplots but I am not quite sure how this can be done. Could you please lend me a helping hand here? Thank you in ...
3
votes
1answer
60 views

How to plot the maximum and the minimum

I am interested in drawing the minimum and the maximum of two variables, i.e. min(x,y) or max(x,y). The way I was going about doing it so far was to get the contour plots using gnuplot but my attempts ...
1
vote
1answer
56 views

Shell-escape in Texmaker

This is a frequently asked question but none I have seen actually helped me. My problem is that I installed gnuplot 5 and I have not been able to make it work in the TeXWorks. The figure I have been ...
3
votes
0answers
41 views

Fit bounding box to gnuplot legend

Summary: Is there a way to automatically reduce the bounding box of an eps file to only fit displayed text? Details: A while ago I asked a question about combining multiple gnuplot graphs into a ...
1
vote
1answer
50 views

Errors in Gnuplot figures after converting DVI to PS/PDF

I use Gnuplot to generate my figures (with "set terminal postscript eps"). When I insert the figures into my LaTeX document and compile it using the standard compiler latex(?), everything looks fine. ...
4
votes
1answer
82 views

Generating pgfplots legend from gnuplot data

I’m having trouble getting pgfplots to typeset very small numbers, e.g. 6.82e-08. I don’t know if the problem lies in it being a very small number, or if it’s because of the interaction with reading ...
7
votes
1answer
94 views

Macro for pgfplots/gnuplot exponential regression line

I am trying to create a series of plots with exponential regression that are automatically generated from comma/tab separated .csv files and pgfplots with help from gnuplot. When not using macros I ...
3
votes
1answer
51 views

pgfplots + gnuplot: how to clean up the look of a contour plot generated from raw gnuplot data by using a colour bar?

Here's a MWE: \documentclass[12pt,letterpaper]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.11} \begin{document} ...
1
vote
0answers
27 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
243 views

Best program for 3D plotting for LaTeX [closed]

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 ...
5
votes
1answer
190 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
59 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
87 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
43 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
127 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
158 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, ...
4
votes
1answer
96 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
69 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
126 views

How to set the size in Octave, using Gnuplot for graphics from 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
35 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
36 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
39 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
167 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
106 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
56 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
93 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
282 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
183 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
138 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
244 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
48 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
79 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
80 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
149 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
251 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
114 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
639 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
317 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
252 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
160 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
129 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
377 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
551 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
195 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
271 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
262 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
190 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, ...