Skip to main content
0 votes
1 answer
50 views

In a program, I have the following complex command which draws different curves where data are in about 20 different columns: plot "file.txt" using 2:($5 == 1 && $6==2 ? $10 : 1/0):(...
revher's user avatar
  • 321
0 votes
2 answers
101 views

I have a data file which has a lot of data between [-5:5] and some extreme data with values around -20. If I use a linear color scale, the smaller magnitude data cannot be seen on the plot. So I am ...
vibe's user avatar
  • 635
0 votes
2 answers
91 views

I tried to make a graph using gnuplot where I want to plot a price over a time period (4 am to 10 pm but over a larger time period). My input has a date-time column and a price column: $Data << ...
Navon's user avatar
  • 11
1 vote
1 answer
38 views

I am trying to put an Angstrom symbol in xlabel with Gnuplot 5.4 patchlevel 3 : set term epslatex standalone color colortext set xlabel "Wavelength, (${\\AA}$)" But it does not work. Many ...
Peter Nemeth .malomsok.'s user avatar
0 votes
1 answer
58 views

When I plot large integers (on any axis) for a 2D plot, the tick marks get displayed in scientific notation. For example: for i in 1 2 3; do date +%s%N; done | gnuplot --persist -e 'plot "-" ...
Jeenu's user avatar
  • 2,253
0 votes
0 answers
89 views

#!/bin/zsh for i in $(ls rid_*.xvg | sort -V | head -n1) do echo ${i} gnuplot <<- EOF reset session FILE="${i}" set yrange [0:30] # Gaussian function g(x)=...
Bussller's user avatar
  • 2,084
0 votes
2 answers
85 views

This is a follow up to a similar question Plot with 2D histograms bins answered by @theozh. I've been trying to modify the linked code to work in a loop. However I've encountered a few problems ...
SofaScientist's user avatar
3 votes
1 answer
95 views

I have a data set over several years that I normally plot as a time-series. See the picture below for an example. I would like to mark the winter-months in the (faked!) indicated way. But I don't ...
pe1aqp's user avatar
  • 33
0 votes
1 answer
44 views

Gnuplot v6.0.3 My data looks like: 2004-01-15 4.89 with a y range in this set of 2 (but potentially +/-200) My script is: set term qt font "sans,9" size 1500,750 set decimal locale set xtic ...
Stephen Davies's user avatar
-3 votes
1 answer
71 views

My data file looks like this: 2025-11-07 4450786 2025-11-14 4347929 2025-11-21 4243246 2025-12-12 4292480 2025-12-19 4272879 2025-12-24 4326509 My script file is: set autoscale unset log unset ...
Stephen Davies's user avatar
0 votes
1 answer
107 views

I have files of measured data that I want to compare with calculated values. The calculated plot is exponential decay that I can plot with: plot k + a*exp(b*x). The x axis is time, formatted as %M:%S....
lotek's user avatar
  • 71
2 votes
0 answers
116 views

Interactive session: set loadpath 'C:\Gnuplot\commands' show loadpath confirms its inclusion in GNUPLOT_LIB and I successfully load '<command>.gp' and execute the command. At the next ...
Reinhard Neuwirth's user avatar
1 vote
1 answer
63 views

I am using gnuplot 6.0.3. The user manual is somewhat out of whack with its syntax for set loadpath {"pathlist1" {"pathlist2"...}}; the { and } brackets are rejected, as are ...
Reinhard Neuwirth's user avatar
0 votes
1 answer
94 views

The gnuplot documentation says that "Labels outside the plotted boundaries are permitted but may interfere with axis labels or other text." Doing this seems like it would be straightforward: ...
Bryan Wright's user avatar
1 vote
2 answers
135 views

Gnuplot 5 on Raspberry Pi. How can I duplicate the y-axis text (-1, -0.8 etc) on both the left and the right sides of the graph? This is the code used to create it: set key fixed left top vertical ...
Jacques's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
461