{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

0
votes
0answers
23 views

LaTeX Error: File `gnuplot-lua-tikz.sty' not > found

> ! LaTeX Error: File `gnuplot-lua-tikz.sty' not > found. This error keeps popping up. I have downloaded the file, but i have no idea where i should put this file on Mac Os X with MacTex ...
0
votes
0answers
21 views

Latex MacTex GnuPlot Tickz Error

Gnuplot 5.0 is installed. If i type Gnuplot in Terminal, everything is fine. Tex Live Utility tells me there's no updates available. What do i need to do to fix this error: ! Package pgfkeys ...
1
vote
0answers
21 views

Plot data points with 'linespoints' but lines should have gaps [duplicate]

I have asked following question on stackexchange regarding a gnuplot solution: Plot data points with connecting lines but which leave gaps. The question is about using following linestyle for data ...
1
vote
0answers
30 views

Different font style on different OS

I use gnuplot for generating eps-figs including text labels which are organized in a separate .tex-file which in turn I include in my main document. With pdflatex TexNicCenter generates the ...
3
votes
1answer
29 views

How can I plot directly on the pdf output without having to use the terminal to run gnuplot?

I have been trying to make LaTeX plot directly as it compiles the pdf but it always turns out to require me to go to the terminal and process the .gnuplot file that the compilation produces, which is ...
1
vote
0answers
16 views

Latexmk, gnuplot and subfolder [closed]

I tried to setup latexmk such that my gnuplot files are generated automatically. Here is what I've done: Folder/file structure: latexmkrc foo.tex graphics/plot.gp latexmk: add_cus_dep('gp', ...
1
vote
0answers
13 views

Graphics are shifted after using dvipdfmx

First of all, I hope it is okay to ask this question here. I really did not know where else. So I'm generating a plot with gnuplot using the epslatex terminal. For example, set terminal epslatex ...
1
vote
1answer
62 views

Tikz and figures in 3-space

How can I draw this in LaTeX? I can do with a lot of segments but I think that there is other easy way to do it. And how can I add this gray blackground to images that give that spatial view.
2
votes
1answer
55 views

Gnuplot with latex and bash

I have created a bash script that accesses and plots data using gnuplot. For this i have had to use the $ variable bash symbol. How can I plot an eps file where i can had a hat or tilde with special ...
2
votes
1answer
48 views

gnuplottex not recognizing options

I want to use gnuplottex to draw graphs in a LaTeX document. The problem is, gnuplottex doesn't accept any options. A mwe would be like ...
1
vote
0answers
38 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
52 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
52 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
45 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
69 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
92 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
67 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
57 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
96 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
114 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
76 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
32 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
279 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
211 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
64 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
100 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
48 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
183 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
172 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
108 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
81 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
171 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
41 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
38 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
42 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
186 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
135 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
59 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
110 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
305 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
212 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
146 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
305 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
50 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
81 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
83 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
156 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
261 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
125 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
685 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} ...