Questions tagged [gnuplot]

{gnuplot} Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, macOS, VMS, and many other platforms.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
125 views

Using pgfplots with raw gnuplot plotting commands, is it possible to reuse tikzpictures?

I have a main.tex in which I import plots as tikzpictures with includegraphics. A typical plot looks like this \begin{tikzpicture} \def \dataFile {'plots/data/sample_data.dat'} \begin{axis} \...
4
votes
0answers
1k 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 ...
3
votes
0answers
116 views

Arrow in arbitrary position on pgf/gnuplot curve

The main idea, is to plot an electric field lines with arrows on it, something like this: My solution is: \documentclass[tikz, border=1cm]{standalone} \usepackage{ pgfplots} \usetikzlibrary{...
3
votes
0answers
262 views

Bodegraph Argument Asymptotic Curve

The argument curve plotted by Bodegraph package gives the accurate plot. However, i am interested in drawing the approximate argument plot, same as the one you would get by drawing with hand on a ...
3
votes
1answer
943 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 ...
2
votes
0answers
119 views

Drawing contour plots with parametric plots or polar coordinates

I have two 3D plots, one in polar coordinates, the other parametric. I'd like to have on the same plot also the contours. These are the current plots: \begin{tikzpicture} \begin{axis}[view={130}{...
2
votes
0answers
157 views

How to “set format x” to have the format valid with gnuplot+cairolatex

My gnuplot.plt is set up like this set term cairolatex pdf set output "data.tex" set nokey plot 'data.csv' using 1:2 with lines, And I use the output from gnuplot in my latex like this \begin{...
2
votes
0answers
311 views

Bodegraph - How do I convert transfer function coefficients into parsable arguments?

I need help understanding how the conversion explained in Problems with bode diagram (representing an image) is done. Here it is explained that the transfer function is needed on a specific form, ...
2
votes
0answers
1k views

Smooth Contour Plots in PGFPlots

I am trying to use gnuplot within pgfplots to draw contour plots for a data file. The contour curves are unfortunately not smooth enough, and the additional limitation is the size of the data file (a ...
2
votes
0answers
103 views

PGFplots, memory and GNUplot

My question is quite simple. I generate a lot of plots for my thesis in PGFplots, which I generate in separate PDF files using the standalone package (could not get shell escape to work properly). The ...
2
votes
0answers
290 views

LaTeX + Gnuplot on Mac: Plot Not Showing

Right. Total novice here so you might need to go easy. I'm trying to use Gnuplot with TikZ to draw an elliptic curve. Using TeXShop 3.58, Gnuplot 5.0 patchlevel 1... don't know what else is relevant. ...
2
votes
0answers
113 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; ...
1
vote
0answers
23 views

boxplot in gnuplot

I don't understand why some point are not taken by boxplot \documentclass[10pt]{beamer} \usetheme{Warsaw} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage{...
1
vote
0answers
60 views

pgfplots (gnuplot): How to plot an implicit function for a triangle

How can I plot \pgfmathsetmacro\xA{0} \pgfmathsetmacro\yA{0} \pgfmathsetmacro\xB{1} \pgfmathsetmacro\yB{0} \pgfmathsetmacro\xC{0.5} \pgfmathsetmacro\yC{0.5*sqrt(3)} f(x,y)=4*( (x -\xA)^2 + (y - \...
1
vote
0answers
80 views

How can I add arrows onto gnuplot contour plot?

I have a contour plot for a doublet flow, but I'm trying to add arrows onto the contour plots. \begin{axis}[ xshift=8cm, ticks = none, view={0}{90}, xmin = -1, ymin = -3, xmax = 5, ...
1
vote
0answers
82 views

Mapping with Tikz and Gnuplot

i created a plot with Tikz and Gnuplot showing some z Values over x,y Values. I also created an outline which defines my geometry for the specimen. Now i want to delete or not show the data which is ...
1
vote
0answers
133 views

TikZ animated with rstudio, gnuplot, miktex and windows

I am trying to reproduce in Rstudio with the package Sweave (.Rnw) the script below, found in that link. However, I can not see the graphics, only the numbers and the lines. I use windows 10, miktex 2....
1
vote
0answers
920 views

'gnuplot' is not recognized as an internal or external command, operable program or batch file

First of all I found a deleted question in this forum about the topic so I don't know if there is something bad about this. I am using Windows 10, miktex, TeXstudio and I have GNUplot installed. I ...
1
vote
0answers
325 views

Creating a 3D plot with Tikzpicture and Gnuplot from a matrix data file

I wanted to create a 3D plot in LaTeX with Tikzpicture and Gnuplot with a data matrix. So far I got a plot which looks like My code so far: \documentclass{scrartcl} \usepackage[miktex]{gnuplottex} \...
1
vote
0answers
326 views

! Missing } inserted. <inserted text> } l.212 \end{figure}

i work with gnuplot and latex and i had the following problem ! Missing } inserted. <inserted text> } l.212 \end{figure} this is my code \begin{figure}[htb] \centering \input{essai} // there ...
1
vote
0answers
80 views

Gnuplot and arara

Is there a way to avoid recompiling every single gnuplot figure of a document if it's content hasn't been modified, like it is possible with TikZ when 'externalize' mode is selected? Each Gnuplot ...
1
vote
0answers
509 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 Error:...
1
vote
0answers
130 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
0answers
489 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} \def\...
1
vote
0answers
251 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 "...
1
vote
0answers
169 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?
1
vote
0answers
139 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 ...
1
vote
0answers
461 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 \label{...
1
vote
0answers
2k 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 ...
0
votes
0answers
43 views

Implicit Curve with two singularity using Tikz and gnuplot

I have been using Tikz before, never used gnuplot. I am trying to plot 25/24*Sqrt[5/3] x^3 y + y^2 + y^3 == x^2 In addition, how to start learning gnuplot?
0
votes
1answer
99 views

Blank pdf document

I entered the LaTeX gnuplot code exactly as stated in this site, which should output the sine curve on the output document using TeXworks compiler. It compiles but produces an empty document. An ...
0
votes
0answers
32 views

How to modify error bar appearance

I would like to make the side lines of the error bars longer, as illustrated in this figure (not created by gnuplot): Is there any way to do this without resorting to drawing symbols manually?
0
votes
0answers
87 views

Gnuplottex and subfigures

I am having trouble aligning subfigures while using gnuplottex. The code of the attached figure is as follow: \begin{figure}[hb!] \centering \begin{subfigure}[b]{0.24\textwidth} \...
0
votes
0answers
47 views

Vertical Alignment of an External Image in a Display

The image above was produced by pdflatex compiling ... The left hinge is subjected to a horizontal displacement $u_A$, \[ u_A(t) = \Delta \begin{cases} 0 & t \le 0,\\ \displaystyle ...
0
votes
0answers
146 views

Troubles with gnuplottex and TeXShop

I've had some trouble using the epslatex terminal in gnuplot, then I discovered that was also possible to plot directly from LaTeX using the \usepackage{gnuplottex}. Anyway I've found some problems in ...
0
votes
0answers
246 views

Gnuplot script creating a .tex file - symbols in legend don't work

I have such code named file.gpl: set xlabel "dl" set ylabel "ten" set pointsize 0.5 set key left samplen 0.5 set term epslatex color standalone set out 'plot.tex' p [800:1000] 'Data' u 1:($2/1) ...