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
27 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
255 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
59 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
143 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
  • 403
0 votes
0 answers
121 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,044
0 votes
0 answers
23 views

pgfplot get y value of path from x value (for pins/coordinates)

I am plotting two functions (for payments) \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usetikzlibrary{intersections,fillbetween} \def\pOne{200} \def\endYear{25} \def\pTwo{150} \def\inflation{6} ...
jesse's user avatar
  • 215
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
3 votes
1 answer
101 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
33 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
  • 153
0 votes
0 answers
86 views

Creating probability density function plot using tikz package [duplicate]

I am totally new to tikz package, and what I have to do - is to ilustrate the probability density function in the general case in my lecture. I want produce the plot similar to this one: I run ...
user73212's user avatar
  • 111
0 votes
0 answers
61 views

gnuplot cannot find *.gnuplot files when using the "outdir" option in LatexWorkshop

File mm.tex contains \documentclass[14pt,a4paper]{extarticle} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{makeidx} \usepackage{amsmath} \usepackage{...
MPEI_stud's user avatar
1 vote
0 answers
69 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
99 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,697
0 votes
1 answer
84 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
70 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
118 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,450
1 vote
0 answers
30 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
630 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 ...
Aurelius's user avatar
  • 133
0 votes
0 answers
161 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
224 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
186 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
1 vote
1 answer
989 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
186 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
187 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
65 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
  • 773
0 votes
1 answer
170 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
338 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
281 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
108 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
379 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
336 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
128 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
182 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
392 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,292
0 votes
0 answers
25 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
194 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
  • 17.9k
1 vote
1 answer
393 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
244 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
104 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
164 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
300 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 vote
0 answers
49 views

Adding figures generated by epslatex terminal of gnuplot into beamer presentation

I am trying to understand how to add figures generated by using epslatex terminal of gnuplot into beamer presentation. I have the following piece of code for gnuplot: set terminal epslatex size 3.5,2....
prananna's user avatar
1 vote
1 answer
423 views

pgfplots / gnuplot: How to draw a 3D two-parametric function

I want to plot a 2-parametric surface function set parametric splot cos(u)*cos(v),sin(u)*cos(v),sin(v) (Hint: If I just put it into gnuplot it works.) I guess that special settings in pgfplots are ...
cis's user avatar
  • 7,529
2 votes
1 answer
385 views

Same style with gnuplot than with normal graph with TikZ

I'm learning how to use gnuplot with TikZ. I would like to draw next one to each other graphs of some algebraic curves. I'm starting with graphs that can be drawn without gnuplot (they are not ...
Colas's user avatar
  • 6,658
2 votes
1 answer
87 views

Step response with bodegraph package

I discovered bodegraph package lately and I found out that it allows drawing step responses on the package documentation. So I copy-pasted the code on page 19 as a first try but the desired graph ...
Hibou's user avatar
  • 591
9 votes
3 answers
2k views

Best practice for plots (pgfplots, gnuplot, etc.)

I am writing a fairly large article with a lot of different plots. They range from simple ones like abs(x) or x^2 to high-polynomials with their first and second derivative, and nonlinearities (...
burny's user avatar
  • 267
4 votes
1 answer
1k views

Plotting Financial Data with PGFPlots

I have recently been interested in plotting financial data with pgfplots. The style I am trying to achieve is similar to what can be produced with gnuplot. However, I am familiar with pgfplots and ...
FoxCharles's user avatar
1 vote
1 answer
56 views

How do I convert a pgfplotstable from a macro to plain text for consumption by gnuplot?

I am trying to write a macro for doing quadratic regression in pgfplots. I have \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{gnuplottex} \usepackage{pgfkeys} \...
Jason Gross's user avatar
  • 2,105

1
2 3 4 5
10