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

Gnuplot-Tikz-TeXstudio setting problem

I am a beginner in making graphs of functions by TeX itself - until now i have solved these issues by including .eps pictures. Now i am on doing things better and nicer. I started to use Tikz packages ...
0
votes
1answer
18 views

How can I maintain the size of epslatex figures after embedding into a LaTeX documnet?

I use the following commands to plot a figure in epslatex. set terminal epslatex size 3.0in,2.25in font ',8' set output 'filename.tex' The epslatex terminal produces two files: filename.tex and ...
0
votes
0answers
59 views

Need help using TikZ [closed]

I'm using Windows 8.1 and TeX Live 2015 (XeLaTeX). I want to draw fitted curve using gnuplot. My code is like this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...
0
votes
1answer
41 views

Line type not working! [closed]

I've been having a problem with compiling gnuplot where it ignores what line type I put in and just assumes lt 1. Here's an example .sh file: set term wxt enhanced "arial,16" set notitle set ...
0
votes
1answer
29 views

epslatex tex-document faulty [closed]

I want to create a .texdocument with Gnuplot to insert in my Latexdocument with the following code reset set terminal epslatex color size 12cm, 9cm font 'Helvetica,16' set output "test.tex" set ...
2
votes
1answer
30 views

How can the size of an epslatex terminal plot with gnuplottex be altered?

Are there any other options to set the size of a plot with the epslatex terminal of gnuplottex than the scale option? I noticed that pgfplots doesn't have this effect, but for continuity I want all ...
0
votes
0answers
38 views

Problem with conversion of gnuplot data [closed]

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage[miktex]{gnuplottex} \usepackage{epstopdf} \begin{document} \begin{figure}[ht!]\centering ...
3
votes
1answer
87 views

Plots large number of data

As you all know, TikZ has to face the limits in terms of memory, that is given by the TeX compiler. For most of my plots, I have a maximum time step of around 1us and I record several waveforms over ...
0
votes
0answers
66 views

Advanced animation in beamer

Can I input into my beamer presentation animation from gnuplot using epslatex terminal (or using package gnuplottex) in high resolution mode? I want to visualise my data result, so that solution ...
0
votes
0answers
159 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
72 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
25 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
37 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
77 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
41 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
27 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
73 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
85 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 ...
3
votes
1answer
83 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
57 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
67 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
69 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
51 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
108 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
288 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
108 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
77 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
124 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
153 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
157 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
37 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
337 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
257 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
75 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
156 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
69 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
220 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
197 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
138 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
101 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
272 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
50 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
55 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
47 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
237 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
239 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
65 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
142 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
394 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
259 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 ...