Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Contour gnuplot from data in external file

I'd like to create a contour plot of data stored in the file "test.dat". There should be one continously shaded contour plot and then I'd like to "highlight" some contour lines ...
Phil_B's user avatar
  • 1
0 votes
0 answers
25 views

Gnuplot won't work when called within Overleaf subdirectory

I have a basic file \documentclass[margin=10pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{positioning} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture}[ ...
David G.'s user avatar
  • 329
1 vote
0 answers
45 views

Is it possible to make curve be closer to data points?

With ymode=log I'd say it looks somewhat fine, but once set to linear it's quite obvious how far away from the point with highest y value the curve really is. I've tried finding a way to change that ...
us3rname's user avatar
1 vote
0 answers
45 views

Contour in matrix plot

Is it possible to add contours (e.g. with countours gnuplot) in explicit matrix plots that seperate regions by a threshold? See the manual added red line in the MWE as the desired behaviour. \...
AndroidKoala's user avatar
0 votes
1 answer
52 views

Plot from data, and linear regression

I used gnuplot to plot this data 0.20 0.41 0.40 0.67 0.75 1.10 2.35 2.20 1.35 1.45 0.25 0.26 1.20 1.22 This is the code set xlabel "t" set ylabel "ln{{T_n-T_e}{T_w ...
Maroon Racoon's user avatar
0 votes
1 answer
46 views

Simple Question on Contour Opacity

I have the following code for drawing contours \documentclass[margin=10pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{positioning} \pgfplotsset{compat=newest} \pgfplotsset{ ...
David G.'s user avatar
  • 329
0 votes
2 answers
158 views

Tikz: Plot of an implicit function using contour gnuplot

I tried to plot an implicit function. I keep getting the same error message: "undefined variable: set". Thanks in advance. \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \...
Lazear's user avatar
  • 1
0 votes
1 answer
77 views

Missing Curves in LaTeX Document and Gnuplot Installation Issue

I'm encountering an issue with my LaTeX document where the curves are missing when using TeXstudio on Windows 10. Notably, I had no problems when working on Overleaf. Additionally, I attempted to ...
Educ's user avatar
  • 4,392
0 votes
0 answers
67 views

Cairolatex in arxiv

If I use in gnuplot the cairolatex terminal, it will create a foo.pdf and a foo.tex file, where the pdf contains the plot without the text and the .tex file contains the text and includes the pdf file....
tobiasBora's user avatar
  • 8,964
1 vote
1 answer
92 views

Gnuplot cairolatex does not work

If I compile a pdf generated with gnuplot and the cairolatex backend, it compiles with a warning: libxpdf: Syntax Error: Couldn't read xref table libxpdf: Syntax Warning: PDF file is damaged - ...
tobiasBora's user avatar
  • 8,964
0 votes
0 answers
35 views

Plots with gnuplots is now working

I've always used pgfplots to make my graphs, but I needed to do a graph for an implicit function, so I was consulting and I read about Gnuplots. I installed the program and compile my document, but ...
Michael Rosales Vilca's user avatar
0 votes
0 answers
1k views

pdflatex' is not recognized as an internal or external command when using externalize

I have been using externalize to generate my pictures for some time now and recently I attempted to generate pictures with lualatex and gnuplot in order to generate contour plots. After I followed ...
otiuuaugusto's user avatar
2 votes
0 answers
67 views

Dimension too large while using pgfplots with gnuplot and tikz decoration

I use the following code ( with MikTeX latest version and GNUplot 5.4.8 ) to do the parametric plot : \documentclass{article} \usepackage[dvipsnames, svgnames, table]{xcolor} \usepackage{pgfplots} \...
YCH817's user avatar
  • 21
0 votes
0 answers
177 views

Still getting a "Restricted shell escape" on Kile

In order to add gnuplots in my documents, I'm using this basic code to verify my system (Ubuntu 22.04.2 LTS + Kile 2.9.93) \documentclass{standalone} \usepackage{shellesc} \begin{document} \...
JJ Henry's user avatar
  • 473
0 votes
0 answers
159 views

pdf output from gnuplot is missing labels

When I run the following on my gnuplot script, the interactive Qt gnuplot window appears; the labelled graph I'm looking for appears as it should be; and I can select "export to pdf". ...
user4417's user avatar
  • 1,054
1 vote
0 answers
42 views

Fine surface in PGFPlots to mark invalid area

I have the following plot: \begin{figure}[H] \begin{tikzpicture} \begin{axis}[ /pgf/number format/.cd, use comma, view={0}{90}, x tick label style={/pgf/number format/.cd,...
mini's user avatar
  • 11
4 votes
1 answer
142 views

How to fill a region given by an implicit function with gnuplot in tikz?

I want to create a plot the region where f(x,y) = -2 + 3x - y - x^2 - xy - y^2 > 0 in TikZ in the range [-2.5, 2.5] \times [2.5, 2.5]. Since this is an implicit function, I think I must use gnuplot,...
Ephraim Fung's user avatar
0 votes
0 answers
50 views

Bode grid template with configurable axes limits

I am using the bodegraph package from https://ctan.org/pkg/bodegraph with the intention of producing a nice A4 paper providing a bode grid with specific limits for amplitude and phase. With the hints ...
Junius's user avatar
  • 175
1 vote
0 answers
72 views

How to draw two curves in a single figure [closed]

I want to draw the draph of $x^2y=a(x^2+y^2)$ for different values of $a$ on a single figure. How to do that This is what I have tried. "This" means obtaining the curves as level curves of ...
user288733's user avatar
0 votes
0 answers
139 views

Unable to plot two functions with tkz-fct

I'm trying to use tkz-fct to plot some simple functions. One function is plotted right, but when I add another function in some other part of the document all the functions along the whole document ...
Luis Turcio's user avatar
  • 2,759
0 votes
1 answer
106 views

Merge pgf plot and gnuplot

I have one plot created with Gnuplot (first plot below, over-approximation of some ground truth) and another one with PGF-plot (second plot, depicts a sample true trajectory) and I'd like to insert ...
Rani's user avatar
  • 130
0 votes
1 answer
84 views

gnuplot - cannot typeset LaTeX title for a plot

I have this gnuplot script: f(x) = 5 * log(x) / log(2) - 5 - sqrt(5 + x) F = '$5 \log_2(x) - 5 - \sqrt{5 + x}$' set yrange [0:30] set xrange [0:3000] set terminal epslatex size 10.0cm,10.0cm color ...
coderodde's user avatar
  • 549
1 vote
0 answers
157 views

Adding pdflatex and lualatex gnuplot graphing capabilities

I am using Windows 10 and TeXstudio (latest version) as TeX editor and TeXLive (if matters). In chapter 22.6 page 345 of tikz manual, version 3.1.9a is suggested for more powerful graphing engine to ...
miltos's user avatar
  • 2,647
1 vote
0 answers
31 views

splot not plotting the graph correctly [closed]

This equation has to plot the point $(0,0)$ since when $x= 0, y=0$. But however I arrange the equation,it does not plot the point $(0,0)$. Can someone help me with this problem. \pdfpagewidth 85mm ...
Eeshwari ash's user avatar
3 votes
2 answers
705 views

Why is gnuplot using a straight-line approximation in this plot?

I am plotting a fairly simple function over a specific range. The function is just f(x) = 0.12 * sqrt(x). Here's my gnuplot "code" so far: set border linewidth 1.5 set style line 1 linecolor ...
MrAureliusR's user avatar
0 votes
0 answers
239 views

I can't figure out tikz + gnuplot

I'm trying to output a gnuplot graph to tikz code. I tried using the set terminal lua tikz terminal in gnuplot. Gnuplot issued the corresponding code in the \begin{tikzpicture}[gnuplot] environment... ...
Дмитрий's user avatar
0 votes
1 answer
306 views

gnuplottex: conversion failed

Getting this errors: Package gnuplottex Warning: Conversion of ap-gnuplottex-fig1.gnuplot failed. Package gnuplottex Warning: Please convert ap-gnuplottex-fig1.gnuplot manually. Minimal example: \...
MPEI_stud's user avatar
0 votes
1 answer
221 views

gnuplot lua-tikz font to Arial

In gnuplot lua-tikz, I would like to change all letters that appear in a figure (including labels, tics numbers) to Arial. I tried several patterns as set term lua tikz tightboundingbox standalone ...
eng27's user avatar
  • 101
2 votes
1 answer
1k views

"Missing character: There is no ` in font nullfont!" using contour gnuplot

The following MWE produces the warning Missing character: There is no ` in font nullfont! when compiled with pdflatex or lualatex. \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=...
Manuel Schmidt's user avatar
0 votes
0 answers
27 views

PGFPlots multiple plots issue with gnuplot [duplicate]

I am trying to produce multiple plots in one axis but always get error. It is interesting that file builds fine with both plots separately. Min code that does not working: \documentclass{article} \...
Ilia Volkov's user avatar
1 vote
0 answers
216 views

gnuplot: y-axis values in math-mode give extra offset from y-label compared to no-math mode in cairo-latex terminal

I'm using the 'cairo-latex' terminal. The y-axis values are 10^1, 10^2 and 10^3 in logscale. When I set this values output in math-mode as '10$^1$', or '$10^1$', the figure ratio is changed --- the y ...
aku-aku's user avatar
  • 11
1 vote
1 answer
212 views

It is possible to have a precision of 4 numbers in a tikzpicture

I have this plot \begin{tikzpicture} \pgfplotsset{% ,width=10cm ,legend style={font=\footnotesize} ,grid } \begin{axis}[enlargelimits=false ,ymax=130 ...
Ghidic Vladislav's user avatar
0 votes
1 answer
77 views

Using newcommand and gnuplot to plot sums of parametric functions

I want to add (or subtract) a bunch of parametric plots together, something like this: \documentclass{report} \usepackage{tikz} \newcommand{\myPlota}[1]{ (#1>0?(t<#1?0:1):(t<-#1?-1:0)) } \...
Rushi's user avatar
  • 837
0 votes
1 answer
250 views

Plot a .dat data set with pfgplots and substract the first values

I would like to plot a .dat or .csv data set with tikz. The first column is the time and the second one the voltage. Since the data set is pretty huge, I already reduced its size by reading only every ...
Jonas's user avatar
  • 5
1 vote
1 answer
378 views

No tick labels in gnuplot epslatex

I am trying to plot a function in gnuplot with epslatex terminal to be included in a Latex file: reset set terminal epslatex color set xlabel '$x$' set ylabel "$f(x)$" rotate by 90 set ...
K. Gabor's user avatar
2 votes
1 answer
338 views

Smooth out contour plot and add gradient arrow

The code below produces contour lines of the functions $(x,y)\mapsto e^{-x^2-y^2}$. I would like to: Smooth out the contour lines. I found out this solution whis is valid when working directly with ...
xounamoun's user avatar
  • 221
0 votes
0 answers
113 views

Cannot plot from .gplot file with multiple commands in tikz for LaTex

I am currently writing my bachelor thesis with TexStudio and Miktex on a Windows 10 machine. I have to use gnuplot which I have .gplot files and .data files for. The .gplot files contain the settings ...
Henri Guenther's user avatar
0 votes
0 answers
453 views

Fitting exponential trendline to data gnuplot

I'm trying to fit an exponential trendline to the following data which when graphed appears like the following: Using the following code for the trendline: \addplot+[raw gnuplot, red, mark=none, ...
ConlangBabble's user avatar
0 votes
0 answers
384 views

Contour Plots in pgfplots not running in TeXStudio

I would like to create contour plots. I have updated MikTek 2.9 the following are my current updates that I think are relevant. pgfplots: 1.17 TeXStudio: 3.1.1 Windows 10 When searching StackExchange ...
AdamB's user avatar
  • 73
2 votes
1 answer
141 views

Which TeX graphics package is this?

I've been starting at LaTeX for a few months now and I'm learning to plot things there. I was using Tikz and GNUPlotTex to plot some things, but the end result is not what I would like it to be. I was ...
Qebuqci's user avatar
  • 21
1 vote
1 answer
219 views

Error even after enabling --shell-escape in TeXworks and installing gnuplots 5.4, when using gnuplot {4*x**2 - 5}

On my troubleshooting of the code got from page 42/571 of the pgfplots package: \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.17} \begin{document} \...
Aria's user avatar
  • 1,523
1 vote
0 answers
64 views

Should I install gnuplot? : Error using gnuplot when \addplot+ is used [duplicate]

On page 42/571 of the pgfplots package there is an example using \addplot+ and gnuplot as below: \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.17} \...
Aria's user avatar
  • 1,523
0 votes
1 answer
451 views

problems with pgfplots contour gnuplot

I tried to plot the contour of a xyz matrix using pgfplots contour gnuplot, but got the error message from the .log data (My data is in the test pic.tex file) Package pgfplots notification 'compat/...
Excelsior's user avatar
  • 2,322
0 votes
0 answers
27 views

Texts are misaligned with respect to the plot when using gnuplot, latex and dvipdfm; what is the solution?

When I use the following gnuplot code and then compile the generated tex file with latex and dvipdf commands, I simply get what I want. gnuplot code: set terminal epslatex standalone set output "...
Naghi's user avatar
  • 284
0 votes
2 answers
216 views

Using gnuplottex causes latexmk to compile forever

Edit: I think I found the issue: GNUplot adds a to the second timestamp to the top of the *.tex file it generates, so of course latexmk thinks it has changed. %% 2021-01-18 11:32:42 AM I usually use ...
Canageek's user avatar
  • 18.1k
2 votes
2 answers
473 views

How to draw `grid lines` with `contour gnuplot`?

This is a follow up question of Tick labels not showing when using `contour gnuplot` and `axis line = middle`. The difference is that I added the grid lines in the code. However it is not drawing it. \...
Faceb Faceb's user avatar
1 vote
1 answer
269 views

Tick labels not showing when using `contour gnuplot` and `axis line = middle`

The following code is the modified answer of @user121799 in TikZ: Plot contour lines. The difference is that I added axis x line = middle, axis y line = middle in the first line of the axis ...
Faceb Faceb's user avatar
0 votes
0 answers
108 views

Stacked bar chart using Gnuplot via Lualatex

when I make sin(x) in gnuplot and compile it via Lualatex it does work, but when I make stacked bar chart in gnuplot, and do the same, now it does not work. I am using \input{filename.tex} with ...
Jan Opletal's user avatar
0 votes
1 answer
199 views

PGFplots contour gnuplot call results in empty .table file

I am trying to reproduce the following code from this answer which i paste here with the fixes suggested by @TikZling for convenience: \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots}...
Christoph90's user avatar
  • 1,020
2 votes
1 answer
381 views

How to use an external program (Gnuplot) with Lualatex and Texmaker?

I do not have too much experience with LaTeX and I would like to configure Texmaker so that LuaLaTeX can use an external program. In this case, I would like to reproduce a graph (using Gnuplot (which ...
user228252's user avatar

1
2 3 4 5
10