You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Al C. <fa...@gm...> - 2026-07-03 17:06:28
|
One way we solved this problem in a realtime test was to write all the data to a file, and the using a Linux "tail" command (in a script) on that file, grab the latest data, and execute a gnuplot script, whenever we wanted a fresh plot. The linux script could loop with a timer I guess. On Fri, Jul 3, 2026 at 8:34 AM <gnu...@li...> wrote: > Send gnuplot-info mailing list submissions to > gnu...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > or, via email, send a message with subject or body 'help' to > gnu...@li... > > You can reach the person managing the list at > gnu...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gnuplot-info digest..." > > > Today's Topics: > > 1. Graphing with GNUPlot with GTK4 UI Library (monkeyking9872) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 2 Jul 2026 13:00:32 -0500 > From: monkeyking9872 <mon...@gm...> > To: gnu...@li... > Subject: [Gnuplot-info] Graphing with GNUPlot with GTK4 UI Library > Message-ID: > < > CAO...@ma...> > Content-Type: text/plain; charset="UTF-8" > > Hi All, > > This is my first time posting here, so my apologies if this has already > been discussed. > > I was wondering if anyone has used the graphing/plotting abilities of > GNUPlot with the GTK4 UI library. In particular, I am writing my program in > C. > > My first approach is going to be attempting to read in data in gnuplot from > the standard input (stdin), since I believe that is how data is being > re-directed to gnuplot in this example of live-plotting with GNUPlot: > > http://hxcaine.com/blog/2013/02/28/running-gnuplot-as-a-live-graph-with-automatic-updates/ > > Let me know if there are cleaner methods anyone knows of. > > Thank you, > MonkeyMan > > > ------------------------------ > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > ------------------------------ > > End of gnuplot-info Digest, Vol 215, Issue 1 > ******************************************** > |
|
From: monkeyking9872 <mon...@gm...> - 2026-07-02 18:00:52
|
Hi All, This is my first time posting here, so my apologies if this has already been discussed. I was wondering if anyone has used the graphing/plotting abilities of GNUPlot with the GTK4 UI library. In particular, I am writing my program in C. My first approach is going to be attempting to read in data in gnuplot from the standard input (stdin), since I believe that is how data is being re-directed to gnuplot in this example of live-plotting with GNUPlot: http://hxcaine.com/blog/2013/02/28/running-gnuplot-as-a-live-graph-with-automatic-updates/ Let me know if there are cleaner methods anyone knows of. Thank you, MonkeyMan |
|
From: Norwid B. <nb...@ya...> - 2026-06-23 08:44:58
|
Hello Nicolas In your instance, does it help if you switch the definition of the upper / lower level of corresponding axis? Your post does not provide (synthetic / anonymized) data to work with, nor the script deployed. This is the reason why I departed from one examples about the sync(u,v) functions of the [demo page] (with the [complete script]). Line 25 reading ``` set zrange [ -0.500000 : 1.00000 ] noreverse writeback ``` was replaced by ``` set zrange [ 1.0 : -0.5 ] noreverse writeback ``` To generate a permanent record (gnuplot 6.0 patchlevel 3 as packaged for Linux Debian 14/forky), the first two lines of the script were decommented, too. By this, the cone now is a deep depression, the direction of the vertical axis is inverted: ``` set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 set output 'surface1.16.png' set dummy u, v set label 1 "This is equal to 1" at -5.00000, -2.00000, 1.50000 center norotate back nopoint set arrow 1 from -5.00000, -2.10000, 1.40000 to 0.00000, 0.00000, 1.00000 head back nofilled linewidth 1.000 dashtype solid set view 70, 20, 1, 1 set samples 51, 51 set isosamples 21, 21 set style data lines set ztics norangelimit -1.00000,0.25 ,1.00000 set title "Sinc function" set trange [ * : * ] noreverse nowriteback set urange [ * : * ] noreverse nowriteback set vrange [ * : * ] noreverse nowriteback set xlabel "X axis" set xlabel offset character -3, -2, 0 font "" textcolor lt -1 norotate set xrange [ -1.00000 : 1.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set ylabel "Y axis" set ylabel offset character 3, -2, 0 font "" textcolor lt -1 rotate set yrange [ -1.00000 : 1.00000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zlabel "Z axis" set zlabel offset character -5, 0, 0 font "" textcolor lt -1 norotate # set zrange [ -0.500000 : 1.00000 ] noreverse writeback set zrange [ 1.0 : -0.5 ] noreverse writeback # line edited set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault sinc(u,v) = sin(sqrt(u**2+v**2)) / sqrt(u**2+v**2) VERSION = "gnuplot version 6.0.3" NO_ANIMATION = 1 ## Last datafile plotted: "$grid" splot [-12:12.01] [-12:12.01] sinc(u,v) ``` Best regards, Norwid [demo page]: https://gnuplot.sourceforge.net/demo_6.0/surface1.html [complete script]: https://gnuplot.sourceforge.net/demo_6.0/surface1.16.gnu |
|
From: Nicholas E. <nic...@gm...> - 2026-06-22 22:48:38
|
I'm using windows + version 6 wgnuplot.exe. I have a 4D data file where -Z data is up and +Z data is down. Any combination of "set zrange [a:b] c" makes no difference whether a = +/- 2, b = -/+ 2, and c=reverse or (blank space), the Z axis always plots with -2 down and +2 up. How to splot with the Z axis + numbers down and - numbers up? |
|
From: Dmitry <unk...@gm...> - 2026-05-25 13:28:29
|
Hi everyone,
I am trying to increase the font size in my plots so that they remain
readable when combined into a multi-plot grid for an article.
Here is a minimal example of my Gnuplot script:
> set terminal tikz noclip tightboundingbox standalone size 8cm,11cm
> set output 'test.tex'
>
> set grid
> set xrange [0:10]
>
> set key outside right top horizontal Left reverse keywidth graph 1.0
> samplen 1
> set tics font ",24"
> set xlabel font ",24\"
> set ylabel font ",124"
> plot \
> cos(x) notitle lc rgb "red" dashtype 2
The problem is that this script produces a plot with misaligned tick
labels (please see the attachment). The numbers along both the X and Y
axes are shifted upwards.
I managed to find a workaround online by changing the terminal settings:
> set terminal tikz noclip tightboundingbox standalone size 8cm,11cm
> charsize 0.4,0.8 preamble '\tikzset{gp node right/.style={anchor=east,
> align=right, font=\large, inner sep=0pt, outer sep=0pt}}'
However, I have some concerns: is it possible that using a non-standard
|charsize| and redefining the |\tikzset| style could break other
elements of the plot, such as shifting error bars or other elements?
Thanks!
|
|
From: Alan <ala...@gm...> - 2026-05-06 18:54:35
|
Despite some help at `sampling`, there is not a real Help entry for `sample`, and perhaps as a result, I may be misusing it. In a single chart, I want to plot a function (f) and an array (xs). I can plot sample[i=1:10] '+' u (xs[i]):(xs[i+1]) w steps, [0:1.5] f(x) But I want to plot the function first and then the array. The following does not work (error: undefined variable: sample): plot [0:1.5] f(x), sample[i=1:10] '+' u (xs[i]):(xs[i+1]) w steps How shd I reverse the order of the plots? Thanks! gnuplot 6.0 patchlevel 4 |
|
From: Alan <ala...@gm...> - 2026-04-30 21:06:04
|
In gnuplot 6.0 patchlevel 4, I have to
`set key samplen -1`
to suppress the sample. (Instead of 0.)
Is this expected behavior?
Thanks!
|
|
From: Richard H. <rjh...@ya...> - 2026-04-27 21:43:35
|
hi Folks, I want to share Gnuplot SVG output - with hyperlinks. However, because the file is large it is difficult to share and slow to render. I wrote this script to rasterize and down-sample the non-hyperlink bits of the Gnuplot SVG but retain the hyperlinks (and text): https://github.com/richardhenwood/downsample-gnuplot-svg best regards,Richard |
|
From: Philipp K. J. <ph...@ja...> - 2026-04-24 15:40:29
|
On Wed, 22 Apr 2026 14:43:17 +0000 Patrick Alken via gnuplot-info <gnu...@li...> wrote: For gradients: set palette defined ( 0 "red", 0.1 "white", 1 "blue" ) For sharp transitions, double the position param: set palette defined ( 0 "red", 0.1 "red", 0.1 "white", 0.2 "white", 0.2 "blue", 1 "blue" ) Either way: plot "data" u 1:2:3 lc pal Also check: test palette Note: The positions w/in "set palette" are relative, they do not (automatically) correspond to values from the plot range. Also consider: set cbrange Best, Ph. > Hello, > > I am struggling to make a plot with a nonlinear color bar. I want > the colors themselves to be nonlinear rather than the tic marks. My > detailed question is here: > > https://stackoverflow.com/questions/79929626/how-to-make-a-nonlinear-color-bar > > Any help is appreciated, > Patrick > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- Philipp K. Janert www.janert.me |
|
From: Patrick A. <pat...@co...> - 2026-04-23 21:07:01
|
I don't understand how to do that. What I am looking for is a color bar similar to the "mag" palette from GMT: https://docs.generic-mapping-tools.org/6.3/_images/GMT_App_M_1a.png ________________________________ From: DeForest, Craig E. <cra...@sw...> Sent: Wednesday, April 22, 2026 10:46 AM To: Patrick Alken <pat...@co...>; gnu...@li... <gnu...@li...> Subject: Re: Nonlinear color bar question [External email - use caution] PDL::Gnuplot does this by generating an explicit color lookup table, from which gnuplot interpolates values. You can always fall back on that brute-force approach. Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Patrick Alken via gnuplot-info <gnu...@li...> Sent: Wednesday, April 22, 2026 8:43:17 AM To: gnu...@li... <gnu...@li...> Subject: [Gnuplot-info] Nonlinear color bar question [EXTERNAL EMAIL] Hello, I am struggling to make a plot with a nonlinear color bar. I want the colors themselves to be nonlinear rather than the tic marks. My detailed question is here: https://stackoverflow.com/questions/79929626/how-to-make-a-nonlinear-color-bar Any help is appreciated, Patrick _______________________________________________ gnuplot-info mailing list gnu...@li... Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Patrick A. <pat...@co...> - 2026-04-22 15:15:47
|
Hello, I am struggling to make a plot with a nonlinear color bar. I want the colors themselves to be nonlinear rather than the tic marks. My detailed question is here: https://stackoverflow.com/questions/79929626/how-to-make-a-nonlinear-color-bar Any help is appreciated, Patrick |
|
From: Hernán De A. <var...@gm...> - 2026-04-13 05:48:46
|
Hi Ethan, Thanks for the response. I will dig a bit more in this and see if the problem is as you suggest. H. Den 2026-04-13 kl. 06:35, skrev Ethan Merritt: > I cannot reproduce this problem by cut-and-paste from the text in > the previous message. For me it succeeds using gnuplot executables with > and without the previous fix. I tested with executables as far back as 5.4. > > So I don't know what might be causing your problem. > Is it possible there is some issue with whitespace or non-printing > characters that did not survive being embedded in Email? > > Ethan > >> /H. >> >> Den 2026-04-12 kl. 15:12, skrev Hernán De Angelis: >>> Hi >>> >>> We recently had some discussion on problems with long commands. If I >>> understand correctly it had to do with cases where a file had no data >>> and notitle was passed. >>> >>> I am now encountering a similar problem with a script that uses a long >>> plot command. I use this script often and that never previously had >>> issues with it. The script has a long plot command involving 52 small >>> files (5 of which currently have no data points) to be plotted as >>> boxes where all calls have the "notitle" tag (see below). >>> >>> The script works if no title tag is passed, but it will fail with the >>> notitle tag (as below), or with some title (e.g. "title 'title'"). >>> >>> It seems that the fix done recently may require a different approach >>> but I am unsure what that may be. In my case I wish the "notitle" tag >>> could be passed and understood by gnuplot as before. >>> >>> Any hint will be appreciated. >>> >>> Thanks >>> >>> Hernán >>> >>> PS: this occurs while using main branch >>> >>> >>> gnuplot script: >>> >>> set terminal pngcairo enhanced size 960,640 font "DejaVu-Sans,9" >>> set output 'file.png' >>> set title 'my title' font "DejaVu-Sans-Bold,12" >>> set key left >>> set grid >>> set xrange [0.5:52.5] >>> set xtics 2 >>> set ylabel "qty" >>> set style fill transparent solid 0.5 >>> plot 'foo-0.dat' u (0):1 w boxplot lw 2 notitle, 'foo-1.dat' u (1):1 >>> w boxplot lw 2 notitle, 'foo-2.dat' u (2):1 w boxplot lw 2 notitle, >>> 'foo-3.dat' u (3):1 w boxplot lw 2 notitle, 'foo-4.dat' u (4):1 w >>> boxplot lw 2 notitle, 'foo-5.dat' u (5):1 w boxplot lw 2 notitle, >>> 'foo-6.dat' u (6):1 w boxplot lw 2 notitle, 'foo-7.dat' u (7):1 w >>> boxplot lw 2 notitle, 'foo-8.dat' u (8):1 w boxplot lw 2 notitle, >>> 'foo-9.dat' u (9):1 w boxplot lw 2 notitle, 'foo-10.dat' u (10):1 w >>> boxplot lw 2 notitle, 'foo-11.dat' u (11):1 w boxplot lw 2 notitle, >>> 'foo-12.dat' u (12):1 w boxplot lw 2 notitle, 'foo-13.dat' u (13):1 w >>> boxplot lw 2 notitle, 'foo-14.dat' u (14):1 w boxplot lw 2 notitle, >>> 'foo-15.dat' u (15):1 w boxplot lw 2 notitle, 'foo-16.dat' u (16):1 w >>> boxplot lw 2 notitle, 'foo-17.dat' u (17):1 w boxplot lw 2 notitle, >>> 'foo-18.dat' u (18):1 w boxplot lw 2 notitle, 'foo-19.dat' u (19):1 w >>> boxplot lw 2 notitle, 'foo-20.dat' u (20):1 w boxplot lw 2 notitle, >>> 'foo-21.dat' u (21):1 w boxplot lw 2 notitle, 'foo-22.dat' u (22):1 w >>> boxplot lw 2 notitle, 'foo-23.dat' u (23):1 w boxplot lw 2 notitle, >>> 'foo-24.dat' u (24):1 w boxplot lw 2 notitle, 'foo-25.dat' u (25):1 w >>> boxplot lw 2 notitle, 'foo-26.dat' u (26):1 w boxplot lw 2 notitle, >>> 'foo-27.dat' u (27):1 w boxplot lw 2 notitle, 'foo-28.dat' u (28):1 w >>> boxplot lw 2 notitle, 'foo-29.dat' u (29):1 w boxplot lw 2 notitle, >>> 'foo-30.dat' u (30):1 w boxplot lw 2 notitle, 'foo-31.dat' u (31):1 w >>> boxplot lw 2 notitle, 'foo-32.dat' u (32):1 w boxplot lw 2 notitle, >>> 'foo-33.dat' u (33):1 w boxplot lw 2 notitle, 'foo-34.dat' u (34):1 w >>> boxplot lw 2 notitle, 'foo-35.dat' u (35):1 w boxplot lw 2 notitle, >>> 'foo-36.dat' u (36):1 w boxplot lw 2 notitle, 'foo-37.dat' u (37):1 w >>> boxplot lw 2 notitle, 'foo-38.dat' u (38):1 w boxplot lw 2 notitle, >>> 'foo-39.dat' u (39):1 w boxplot lw 2 notitle, 'foo-40.dat' u (40):1 w >>> boxplot lw 2 notitle, 'foo-41.dat' u (41):1 w boxplot lw 2 notitle, >>> 'foo-42.dat' u (42):1 w boxplot lw 2 notitle, 'foo-43.dat' u (43):1 w >>> boxplot lw 2 notitle, 'foo-44.dat' u (44):1 w boxplot lw 2 notitle, >>> 'foo-45.dat' u (45):1 w boxplot lw 2 notitle, 'foo-46.dat' u (46):1 w >>> boxplot lw 2 notitle, 'foo-47.dat' u (47):1 w boxplot lw 2 notitle, >>> 'foo-48.dat' u (48):1 w boxplot lw 2 notitle, 'foo-49.dat' u (49):1 w >>> boxplot lw 2 notitle, 'foo-50.dat' u (50):1 w boxplot lw 2 notitle, >>> 'foo-51.dat' u (51):1 w boxplot lw 2 notitle, 'foo-52.dat' u (52):1 w >>> boxplot lw 2 notitle, >>> >>> >>> >>> Stdout: >>> >>> "gnuplot.conf" line 11: invalid command >>> >>> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via:https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > |
|
From: Hernán De A. <var...@gm...> - 2026-04-13 05:48:33
|
Hi Ethan, Thanks for the response. I will dig a bit more in this and see if the problem is as you suggest. Hernán Den 2026-04-13 kl. 06:35, skrev Ethan Merritt: > I cannot reproduce this problem by cut-and-paste from the text in > the previous message. For me it succeeds using gnuplot executables with > and without the previous fix. I tested with executables as far back as 5.4. > > So I don't know what might be causing your problem. > Is it possible there is some issue with whitespace or non-printing > characters that did not survive being embedded in Email? > > Ethan > >> /H. >> >> Den 2026-04-12 kl. 15:12, skrev Hernán De Angelis: >>> Hi >>> >>> We recently had some discussion on problems with long commands. If I >>> understand correctly it had to do with cases where a file had no data >>> and notitle was passed. >>> >>> I am now encountering a similar problem with a script that uses a long >>> plot command. I use this script often and that never previously had >>> issues with it. The script has a long plot command involving 52 small >>> files (5 of which currently have no data points) to be plotted as >>> boxes where all calls have the "notitle" tag (see below). >>> >>> The script works if no title tag is passed, but it will fail with the >>> notitle tag (as below), or with some title (e.g. "title 'title'"). >>> >>> It seems that the fix done recently may require a different approach >>> but I am unsure what that may be. In my case I wish the "notitle" tag >>> could be passed and understood by gnuplot as before. >>> >>> Any hint will be appreciated. >>> >>> Thanks >>> >>> Hernán >>> >>> PS: this occurs while using main branch >>> >>> >>> gnuplot script: >>> >>> set terminal pngcairo enhanced size 960,640 font "DejaVu-Sans,9" >>> set output 'file.png' >>> set title 'my title' font "DejaVu-Sans-Bold,12" >>> set key left >>> set grid >>> set xrange [0.5:52.5] >>> set xtics 2 >>> set ylabel "qty" >>> set style fill transparent solid 0.5 >>> plot 'foo-0.dat' u (0):1 w boxplot lw 2 notitle, 'foo-1.dat' u (1):1 >>> w boxplot lw 2 notitle, 'foo-2.dat' u (2):1 w boxplot lw 2 notitle, >>> 'foo-3.dat' u (3):1 w boxplot lw 2 notitle, 'foo-4.dat' u (4):1 w >>> boxplot lw 2 notitle, 'foo-5.dat' u (5):1 w boxplot lw 2 notitle, >>> 'foo-6.dat' u (6):1 w boxplot lw 2 notitle, 'foo-7.dat' u (7):1 w >>> boxplot lw 2 notitle, 'foo-8.dat' u (8):1 w boxplot lw 2 notitle, >>> 'foo-9.dat' u (9):1 w boxplot lw 2 notitle, 'foo-10.dat' u (10):1 w >>> boxplot lw 2 notitle, 'foo-11.dat' u (11):1 w boxplot lw 2 notitle, >>> 'foo-12.dat' u (12):1 w boxplot lw 2 notitle, 'foo-13.dat' u (13):1 w >>> boxplot lw 2 notitle, 'foo-14.dat' u (14):1 w boxplot lw 2 notitle, >>> 'foo-15.dat' u (15):1 w boxplot lw 2 notitle, 'foo-16.dat' u (16):1 w >>> boxplot lw 2 notitle, 'foo-17.dat' u (17):1 w boxplot lw 2 notitle, >>> 'foo-18.dat' u (18):1 w boxplot lw 2 notitle, 'foo-19.dat' u (19):1 w >>> boxplot lw 2 notitle, 'foo-20.dat' u (20):1 w boxplot lw 2 notitle, >>> 'foo-21.dat' u (21):1 w boxplot lw 2 notitle, 'foo-22.dat' u (22):1 w >>> boxplot lw 2 notitle, 'foo-23.dat' u (23):1 w boxplot lw 2 notitle, >>> 'foo-24.dat' u (24):1 w boxplot lw 2 notitle, 'foo-25.dat' u (25):1 w >>> boxplot lw 2 notitle, 'foo-26.dat' u (26):1 w boxplot lw 2 notitle, >>> 'foo-27.dat' u (27):1 w boxplot lw 2 notitle, 'foo-28.dat' u (28):1 w >>> boxplot lw 2 notitle, 'foo-29.dat' u (29):1 w boxplot lw 2 notitle, >>> 'foo-30.dat' u (30):1 w boxplot lw 2 notitle, 'foo-31.dat' u (31):1 w >>> boxplot lw 2 notitle, 'foo-32.dat' u (32):1 w boxplot lw 2 notitle, >>> 'foo-33.dat' u (33):1 w boxplot lw 2 notitle, 'foo-34.dat' u (34):1 w >>> boxplot lw 2 notitle, 'foo-35.dat' u (35):1 w boxplot lw 2 notitle, >>> 'foo-36.dat' u (36):1 w boxplot lw 2 notitle, 'foo-37.dat' u (37):1 w >>> boxplot lw 2 notitle, 'foo-38.dat' u (38):1 w boxplot lw 2 notitle, >>> 'foo-39.dat' u (39):1 w boxplot lw 2 notitle, 'foo-40.dat' u (40):1 w >>> boxplot lw 2 notitle, 'foo-41.dat' u (41):1 w boxplot lw 2 notitle, >>> 'foo-42.dat' u (42):1 w boxplot lw 2 notitle, 'foo-43.dat' u (43):1 w >>> boxplot lw 2 notitle, 'foo-44.dat' u (44):1 w boxplot lw 2 notitle, >>> 'foo-45.dat' u (45):1 w boxplot lw 2 notitle, 'foo-46.dat' u (46):1 w >>> boxplot lw 2 notitle, 'foo-47.dat' u (47):1 w boxplot lw 2 notitle, >>> 'foo-48.dat' u (48):1 w boxplot lw 2 notitle, 'foo-49.dat' u (49):1 w >>> boxplot lw 2 notitle, 'foo-50.dat' u (50):1 w boxplot lw 2 notitle, >>> 'foo-51.dat' u (51):1 w boxplot lw 2 notitle, 'foo-52.dat' u (52):1 w >>> boxplot lw 2 notitle, >>> >>> >>> >>> Stdout: >>> >>> "gnuplot.conf" line 11: invalid command >>> >>> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via:https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > |
|
From: Ethan M. <eam...@gm...> - 2026-04-13 04:35:35
|
I cannot reproduce this problem by cut-and-paste from the text in the previous message. For me it succeeds using gnuplot executables with and without the previous fix. I tested with executables as far back as 5.4. So I don't know what might be causing your problem. Is it possible there is some issue with whitespace or non-printing characters that did not survive being embedded in Email? Ethan > > /H. > > Den 2026-04-12 kl. 15:12, skrev Hernán De Angelis: > > Hi > > > > We recently had some discussion on problems with long commands. If I > > understand correctly it had to do with cases where a file had no data > > and notitle was passed. > > > > I am now encountering a similar problem with a script that uses a long > > plot command. I use this script often and that never previously had > > issues with it. The script has a long plot command involving 52 small > > files (5 of which currently have no data points) to be plotted as > > boxes where all calls have the "notitle" tag (see below). > > > > The script works if no title tag is passed, but it will fail with the > > notitle tag (as below), or with some title (e.g. "title 'title'"). > > > > It seems that the fix done recently may require a different approach > > but I am unsure what that may be. In my case I wish the "notitle" tag > > could be passed and understood by gnuplot as before. > > > > Any hint will be appreciated. > > > > Thanks > > > > Hernán > > > > PS: this occurs while using main branch > > > > > > gnuplot script: > > > > set terminal pngcairo enhanced size 960,640 font "DejaVu-Sans,9" > > set output 'file.png' > > set title 'my title' font "DejaVu-Sans-Bold,12" > > set key left > > set grid > > set xrange [0.5:52.5] > > set xtics 2 > > set ylabel "qty" > > set style fill transparent solid 0.5 > > plot 'foo-0.dat' u (0):1 w boxplot lw 2 notitle, 'foo-1.dat' u (1):1 > > w boxplot lw 2 notitle, 'foo-2.dat' u (2):1 w boxplot lw 2 notitle, > > 'foo-3.dat' u (3):1 w boxplot lw 2 notitle, 'foo-4.dat' u (4):1 w > > boxplot lw 2 notitle, 'foo-5.dat' u (5):1 w boxplot lw 2 notitle, > > 'foo-6.dat' u (6):1 w boxplot lw 2 notitle, 'foo-7.dat' u (7):1 w > > boxplot lw 2 notitle, 'foo-8.dat' u (8):1 w boxplot lw 2 notitle, > > 'foo-9.dat' u (9):1 w boxplot lw 2 notitle, 'foo-10.dat' u (10):1 w > > boxplot lw 2 notitle, 'foo-11.dat' u (11):1 w boxplot lw 2 notitle, > > 'foo-12.dat' u (12):1 w boxplot lw 2 notitle, 'foo-13.dat' u (13):1 w > > boxplot lw 2 notitle, 'foo-14.dat' u (14):1 w boxplot lw 2 notitle, > > 'foo-15.dat' u (15):1 w boxplot lw 2 notitle, 'foo-16.dat' u (16):1 w > > boxplot lw 2 notitle, 'foo-17.dat' u (17):1 w boxplot lw 2 notitle, > > 'foo-18.dat' u (18):1 w boxplot lw 2 notitle, 'foo-19.dat' u (19):1 w > > boxplot lw 2 notitle, 'foo-20.dat' u (20):1 w boxplot lw 2 notitle, > > 'foo-21.dat' u (21):1 w boxplot lw 2 notitle, 'foo-22.dat' u (22):1 w > > boxplot lw 2 notitle, 'foo-23.dat' u (23):1 w boxplot lw 2 notitle, > > 'foo-24.dat' u (24):1 w boxplot lw 2 notitle, 'foo-25.dat' u (25):1 w > > boxplot lw 2 notitle, 'foo-26.dat' u (26):1 w boxplot lw 2 notitle, > > 'foo-27.dat' u (27):1 w boxplot lw 2 notitle, 'foo-28.dat' u (28):1 w > > boxplot lw 2 notitle, 'foo-29.dat' u (29):1 w boxplot lw 2 notitle, > > 'foo-30.dat' u (30):1 w boxplot lw 2 notitle, 'foo-31.dat' u (31):1 w > > boxplot lw 2 notitle, 'foo-32.dat' u (32):1 w boxplot lw 2 notitle, > > 'foo-33.dat' u (33):1 w boxplot lw 2 notitle, 'foo-34.dat' u (34):1 w > > boxplot lw 2 notitle, 'foo-35.dat' u (35):1 w boxplot lw 2 notitle, > > 'foo-36.dat' u (36):1 w boxplot lw 2 notitle, 'foo-37.dat' u (37):1 w > > boxplot lw 2 notitle, 'foo-38.dat' u (38):1 w boxplot lw 2 notitle, > > 'foo-39.dat' u (39):1 w boxplot lw 2 notitle, 'foo-40.dat' u (40):1 w > > boxplot lw 2 notitle, 'foo-41.dat' u (41):1 w boxplot lw 2 notitle, > > 'foo-42.dat' u (42):1 w boxplot lw 2 notitle, 'foo-43.dat' u (43):1 w > > boxplot lw 2 notitle, 'foo-44.dat' u (44):1 w boxplot lw 2 notitle, > > 'foo-45.dat' u (45):1 w boxplot lw 2 notitle, 'foo-46.dat' u (46):1 w > > boxplot lw 2 notitle, 'foo-47.dat' u (47):1 w boxplot lw 2 notitle, > > 'foo-48.dat' u (48):1 w boxplot lw 2 notitle, 'foo-49.dat' u (49):1 w > > boxplot lw 2 notitle, 'foo-50.dat' u (50):1 w boxplot lw 2 notitle, > > 'foo-51.dat' u (51):1 w boxplot lw 2 notitle, 'foo-52.dat' u (52):1 w > > boxplot lw 2 notitle, > > > > > > > > Stdout: > > > > "gnuplot.conf" line 11: invalid command > > > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Hernán De A. <var...@gm...> - 2026-04-12 15:12:44
|
Hi again Just a not, as a work around for this particular case I used "unset key" for the entire plot. I still need to omit title tags to avoid fails. /H. Den 2026-04-12 kl. 15:12, skrev Hernán De Angelis: > Hi > > We recently had some discussion on problems with long commands. If I > understand correctly it had to do with cases where a file had no data > and notitle was passed. > > I am now encountering a similar problem with a script that uses a long > plot command. I use this script often and that never previously had > issues with it. The script has a long plot command involving 52 small > files (5 of which currently have no data points) to be plotted as > boxes where all calls have the "notitle" tag (see below). > > The script works if no title tag is passed, but it will fail with the > notitle tag (as below), or with some title (e.g. "title 'title'"). > > It seems that the fix done recently may require a different approach > but I am unsure what that may be. In my case I wish the "notitle" tag > could be passed and understood by gnuplot as before. > > Any hint will be appreciated. > > Thanks > > Hernán > > PS: this occurs while using main branch > > > gnuplot script: > > set terminal pngcairo enhanced size 960,640 font "DejaVu-Sans,9" > set output 'file.png' > set title 'my title' font "DejaVu-Sans-Bold,12" > set key left > set grid > set xrange [0.5:52.5] > set xtics 2 > set ylabel "qty" > set style fill transparent solid 0.5 > plot 'foo-0.dat' u (0):1 w boxplot lw 2 notitle, 'foo-1.dat' u (1):1 > w boxplot lw 2 notitle, 'foo-2.dat' u (2):1 w boxplot lw 2 notitle, > 'foo-3.dat' u (3):1 w boxplot lw 2 notitle, 'foo-4.dat' u (4):1 w > boxplot lw 2 notitle, 'foo-5.dat' u (5):1 w boxplot lw 2 notitle, > 'foo-6.dat' u (6):1 w boxplot lw 2 notitle, 'foo-7.dat' u (7):1 w > boxplot lw 2 notitle, 'foo-8.dat' u (8):1 w boxplot lw 2 notitle, > 'foo-9.dat' u (9):1 w boxplot lw 2 notitle, 'foo-10.dat' u (10):1 w > boxplot lw 2 notitle, 'foo-11.dat' u (11):1 w boxplot lw 2 notitle, > 'foo-12.dat' u (12):1 w boxplot lw 2 notitle, 'foo-13.dat' u (13):1 w > boxplot lw 2 notitle, 'foo-14.dat' u (14):1 w boxplot lw 2 notitle, > 'foo-15.dat' u (15):1 w boxplot lw 2 notitle, 'foo-16.dat' u (16):1 w > boxplot lw 2 notitle, 'foo-17.dat' u (17):1 w boxplot lw 2 notitle, > 'foo-18.dat' u (18):1 w boxplot lw 2 notitle, 'foo-19.dat' u (19):1 w > boxplot lw 2 notitle, 'foo-20.dat' u (20):1 w boxplot lw 2 notitle, > 'foo-21.dat' u (21):1 w boxplot lw 2 notitle, 'foo-22.dat' u (22):1 w > boxplot lw 2 notitle, 'foo-23.dat' u (23):1 w boxplot lw 2 notitle, > 'foo-24.dat' u (24):1 w boxplot lw 2 notitle, 'foo-25.dat' u (25):1 w > boxplot lw 2 notitle, 'foo-26.dat' u (26):1 w boxplot lw 2 notitle, > 'foo-27.dat' u (27):1 w boxplot lw 2 notitle, 'foo-28.dat' u (28):1 w > boxplot lw 2 notitle, 'foo-29.dat' u (29):1 w boxplot lw 2 notitle, > 'foo-30.dat' u (30):1 w boxplot lw 2 notitle, 'foo-31.dat' u (31):1 w > boxplot lw 2 notitle, 'foo-32.dat' u (32):1 w boxplot lw 2 notitle, > 'foo-33.dat' u (33):1 w boxplot lw 2 notitle, 'foo-34.dat' u (34):1 w > boxplot lw 2 notitle, 'foo-35.dat' u (35):1 w boxplot lw 2 notitle, > 'foo-36.dat' u (36):1 w boxplot lw 2 notitle, 'foo-37.dat' u (37):1 w > boxplot lw 2 notitle, 'foo-38.dat' u (38):1 w boxplot lw 2 notitle, > 'foo-39.dat' u (39):1 w boxplot lw 2 notitle, 'foo-40.dat' u (40):1 w > boxplot lw 2 notitle, 'foo-41.dat' u (41):1 w boxplot lw 2 notitle, > 'foo-42.dat' u (42):1 w boxplot lw 2 notitle, 'foo-43.dat' u (43):1 w > boxplot lw 2 notitle, 'foo-44.dat' u (44):1 w boxplot lw 2 notitle, > 'foo-45.dat' u (45):1 w boxplot lw 2 notitle, 'foo-46.dat' u (46):1 w > boxplot lw 2 notitle, 'foo-47.dat' u (47):1 w boxplot lw 2 notitle, > 'foo-48.dat' u (48):1 w boxplot lw 2 notitle, 'foo-49.dat' u (49):1 w > boxplot lw 2 notitle, 'foo-50.dat' u (50):1 w boxplot lw 2 notitle, > 'foo-51.dat' u (51):1 w boxplot lw 2 notitle, 'foo-52.dat' u (52):1 w > boxplot lw 2 notitle, > > > > Stdout: > > "gnuplot.conf" line 11: invalid command > > |
|
From: Hernán De A. <var...@gm...> - 2026-04-12 13:12:23
|
Hi We recently had some discussion on problems with long commands. If I understand correctly it had to do with cases where a file had no data and notitle was passed. I am now encountering a similar problem with a script that uses a long plot command. I use this script often and that never previously had issues with it. The script has a long plot command involving 52 small files (5 of which currently have no data points) to be plotted as boxes where all calls have the "notitle" tag (see below). The script works if no title tag is passed, but it will fail with the notitle tag (as below), or with some title (e.g. "title 'title'"). It seems that the fix done recently may require a different approach but I am unsure what that may be. In my case I wish the "notitle" tag could be passed and understood by gnuplot as before. Any hint will be appreciated. Thanks Hernán PS: this occurs while using main branch gnuplot script: set terminal pngcairo enhanced size 960,640 font "DejaVu-Sans,9" set output 'file.png' set title 'my title' font "DejaVu-Sans-Bold,12" set key left set grid set xrange [0.5:52.5] set xtics 2 set ylabel "qty" set style fill transparent solid 0.5 plot 'foo-0.dat' u (0):1 w boxplot lw 2 notitle, 'foo-1.dat' u (1):1 w boxplot lw 2 notitle, 'foo-2.dat' u (2):1 w boxplot lw 2 notitle, 'foo-3.dat' u (3):1 w boxplot lw 2 notitle, 'foo-4.dat' u (4):1 w boxplot lw 2 notitle, 'foo-5.dat' u (5):1 w boxplot lw 2 notitle, 'foo-6.dat' u (6):1 w boxplot lw 2 notitle, 'foo-7.dat' u (7):1 w boxplot lw 2 notitle, 'foo-8.dat' u (8):1 w boxplot lw 2 notitle, 'foo-9.dat' u (9):1 w boxplot lw 2 notitle, 'foo-10.dat' u (10):1 w boxplot lw 2 notitle, 'foo-11.dat' u (11):1 w boxplot lw 2 notitle, 'foo-12.dat' u (12):1 w boxplot lw 2 notitle, 'foo-13.dat' u (13):1 w boxplot lw 2 notitle, 'foo-14.dat' u (14):1 w boxplot lw 2 notitle, 'foo-15.dat' u (15):1 w boxplot lw 2 notitle, 'foo-16.dat' u (16):1 w boxplot lw 2 notitle, 'foo-17.dat' u (17):1 w boxplot lw 2 notitle, 'foo-18.dat' u (18):1 w boxplot lw 2 notitle, 'foo-19.dat' u (19):1 w boxplot lw 2 notitle, 'foo-20.dat' u (20):1 w boxplot lw 2 notitle, 'foo-21.dat' u (21):1 w boxplot lw 2 notitle, 'foo-22.dat' u (22):1 w boxplot lw 2 notitle, 'foo-23.dat' u (23):1 w boxplot lw 2 notitle, 'foo-24.dat' u (24):1 w boxplot lw 2 notitle, 'foo-25.dat' u (25):1 w boxplot lw 2 notitle, 'foo-26.dat' u (26):1 w boxplot lw 2 notitle, 'foo-27.dat' u (27):1 w boxplot lw 2 notitle, 'foo-28.dat' u (28):1 w boxplot lw 2 notitle, 'foo-29.dat' u (29):1 w boxplot lw 2 notitle, 'foo-30.dat' u (30):1 w boxplot lw 2 notitle, 'foo-31.dat' u (31):1 w boxplot lw 2 notitle, 'foo-32.dat' u (32):1 w boxplot lw 2 notitle, 'foo-33.dat' u (33):1 w boxplot lw 2 notitle, 'foo-34.dat' u (34):1 w boxplot lw 2 notitle, 'foo-35.dat' u (35):1 w boxplot lw 2 notitle, 'foo-36.dat' u (36):1 w boxplot lw 2 notitle, 'foo-37.dat' u (37):1 w boxplot lw 2 notitle, 'foo-38.dat' u (38):1 w boxplot lw 2 notitle, 'foo-39.dat' u (39):1 w boxplot lw 2 notitle, 'foo-40.dat' u (40):1 w boxplot lw 2 notitle, 'foo-41.dat' u (41):1 w boxplot lw 2 notitle, 'foo-42.dat' u (42):1 w boxplot lw 2 notitle, 'foo-43.dat' u (43):1 w boxplot lw 2 notitle, 'foo-44.dat' u (44):1 w boxplot lw 2 notitle, 'foo-45.dat' u (45):1 w boxplot lw 2 notitle, 'foo-46.dat' u (46):1 w boxplot lw 2 notitle, 'foo-47.dat' u (47):1 w boxplot lw 2 notitle, 'foo-48.dat' u (48):1 w boxplot lw 2 notitle, 'foo-49.dat' u (49):1 w boxplot lw 2 notitle, 'foo-50.dat' u (50):1 w boxplot lw 2 notitle, 'foo-51.dat' u (51):1 w boxplot lw 2 notitle, 'foo-52.dat' u (52):1 w boxplot lw 2 notitle, Stdout: "gnuplot.conf" line 11: invalid command |
|
From: Hernán De A. <var...@gm...> - 2026-04-10 16:28:19
|
OK. Thanks for the clarification. H. Den 2026-04-10 kl. 18:07, skrev Ethan Merritt: > On Friday, 10 April 2026 02:47:46 PDT Hernán De Angelis wrote: >> Using the current main branch I started getting a warning that I haven't >> seen before: >> >> Fontconfig warning: using without calling FcInit() > This was a bug, or at least a bad decision, made in one particular version > of the fontconfig library. It was quicly fixed in the next version of that library. > > Full story here > https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/472 > > The warning is annoying, but harmless. > > Ethan > >> >> In my scripts the line triggering this warning looks like this: >> >> set title 'title' font "DejaVu-Sans-Bold,25" >> >> font size specification is not a problem, just the call. The warning >> will not appear if the line is commented out. >> >> >> Note that the same scripts start with lines of the type: >> >> set terminal pngcairo enhanced size 1400,900 font "DejaVu-Sans,13" >> >> where the font call is not triggering a warning. >> >> >> What could be going on? >> >> >> H. >> >> >> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via:https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > |
|
From: Ethan M. <eam...@gm...> - 2026-04-10 16:07:54
|
On Friday, 10 April 2026 02:47:46 PDT Hernán De Angelis wrote:
> Using the current main branch I started getting a warning that I haven't
> seen before:
>
> Fontconfig warning: using without calling FcInit()
This was a bug, or at least a bad decision, made in one particular version
of the fontconfig library. It was quicly fixed in the next version of that library.
Full story here
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/472
The warning is annoying, but harmless.
Ethan
>
>
> In my scripts the line triggering this warning looks like this:
>
> set title 'title' font "DejaVu-Sans-Bold,25"
>
> font size specification is not a problem, just the call. The warning
> will not appear if the line is commented out.
>
>
> Note that the same scripts start with lines of the type:
>
> set terminal pngcairo enhanced size 1400,900 font "DejaVu-Sans,13"
>
> where the font call is not triggering a warning.
>
>
> What could be going on?
>
>
> H.
>
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Hernán De A. <var...@gm...> - 2026-04-10 09:48:00
|
Using the current main branch I started getting a warning that I haven't seen before: Fontconfig warning: using without calling FcInit() In my scripts the line triggering this warning looks like this: set title 'title' font "DejaVu-Sans-Bold,25" font size specification is not a problem, just the call. The warning will not appear if the line is commented out. Note that the same scripts start with lines of the type: set terminal pngcairo enhanced size 1400,900 font "DejaVu-Sans,13" where the font call is not triggering a warning. What could be going on? H. |
|
From: theozh <th...@gm...> - 2026-04-08 21:16:49
|
Apparently, gnuplot takes the longest title and uses the same space for the short titles. However, you can force to reduce the space. Check `help key`, option `width <width_increment>`. Depending on the length of your actual titles you can try to add a line, e.g. set key maxcol 8 width -40 At least for your example where only the last keyentry is extremely long, this seems to give a reasonable result. |
|
From: Dmitry <unk...@gm...> - 2026-04-03 20:12:58
|
Hi, All, I have a plot that contains multiple short key-entries and a couple of long key-entries. I want these keyentries to be arranged automatically into multiply columns, but gnuplot plots all of the entries into single column. If I remove long keyentries, then remaining short keyentries are arranged perfectly. The full-working script below reproduces the issue: all of the keyentries are plotted in a single column. If the last keyentry is removed from the script, then all of the remaining keyentries are arranged perfectly. So, is there way to arrange keyentries when there is a long keyentry? Thanks! ###################### gnuplot script ###################### set terminal pngcairo enhanced font "Verdana,10" size 800,600 set output 'test.png' set grid set xrange [0:10] set key outside right top horizontal Left reverse keywidth graph 1.0 samplen 1 plot \ sin(x) title "short" lc rgb "blue" lw 2, \ cos(x) title "short" lc rgb "red" dashtype 2, \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with points pt 7 lc rgb "black" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "short", \ keyentry with boxes fill solid lc rgb "#A0FFA0" title "long key etnry that takes a lont of sssspace " |
|
From: theozh <th...@gm...> - 2026-04-02 08:44:02
|
Hi Michael, I'm not aware that there is hypertext attached to objects, maybe in newer gnuplot versions. A simple solution would be to simply plot a hypertext `with labels` with a fully transparent point (`lc rgb 0xff123456`) on top of your object. You can set the hypertext pointsize a bit larger, e.g. ps 7, so that hovering with the mouse over the point will react earlier. However, I noticed that at least in wxt terminal >gnuplot 5.2.8, this doesn't seem to work anymore, i.e. you have to precisely hit the point. On qt terminal it still seems to work, haven't tested SVG. Your moon phases remind me to an earlier answer on StackOverflow: https://stackoverflow.com/a/77224783 Putting this together with the hypertext it could be something like this: ### moon phases with hypertext reset session set angles degrees set size ratio -1 # for northern hemisphere # x,y, phase, size, description # phases: 0=new moon, 0.5=full moon, 1=new moon $MoonPos <<EOD 0 0 0.00 1.0 "new moon" 3 0 0.125 1.0 "waxing crescent" 6 0 0.25 1.0 "first quarter" 9 0 0.375 1.0 "waxing gibbous" 12 0 0.50 1.0 "full moon" 15 0 0.625 1.0 "waning gibbous" 18 0 0.75 1.0 "last quarter" 21 0 0.875 1.0 "waning crescent" 24 0 1.00 1.0 "new moon" EOD array Moon[n_moon=40] # high enough even number to get a "round" shape r(x) = 2*(x - abs(x)) + 1 MoonX(n) = (a=360./n_moon*$0+90, s=$MoonPos[i/2+1], p=word(s,3), A=word(s,4), \ A*cos(a)*(i%2 ? a<=270 ? r(p-0.5) : r(0.5-p) : \ (a<=270 ^ p<=0.5) ? -r(p-0.5) : r(0.5-p)) + word(s,1)) MoonY(n) = A*sin(a) + word(s,2) set key noautotitle set style fill noborder set xrange[-2:26] plot for [i=0:|$MoonPos|*2-1] Moon u (MoonX(0)):(MoonY(0)):(i%2?0xffff00:0x000077) w filledcurves lc rgb var, \ $MoonPos u 1:2:5 w labels hypertext point pt 7 ps 7 lc rgb 0xff123456 ### end of script Am 01.04.2026 um 18:26 schrieb Michael Schuh: > Theozh, > > Thanks for the script. I learned about some nice gnuplot features by reading it and testing it. > > Is there a way to associate hypertext with objects? I would like to add hypertext labels for the moon phases it https://boardsailor.com/palo_alto/third_avenue_28_day_forecast.svg <https://boardsailor.com/palo_alto/third_avenue_28_day_forecast.svg> > > Thanks, > Michael > |
|
From: Michael S. <Mic...@bo...> - 2026-04-01 16:26:54
|
Theozh, Thanks for the script. I learned about some nice gnuplot features by reading it and testing it. Is there a way to associate hypertext with objects? I would like to add hypertext labels for the moon phases it https://boardsailor.com/palo_alto/third_avenue_28_day_forecast.svg Thanks, Michael On Wed, Apr 1, 2026 at 1:48 AM theozh via gnuplot-info < gnu...@li...> wrote: > in case this is still of interest... > If the values in the 4th column are numbers, you could pick the RGB-value > from a string. > Check for example `help linecolor variable` and `help word` > > Hope this helps, Theo. > > ### point color depending on column value > reset session > > $Data <<EOD > 1 4 foo 1 > 2 3 bar 3 > 5 8 baz 2 > EOD > > set key noautotitle > myLabel(col) = sprintf("%s", strcol(col)) > myColor(col) = int(word("0xff0000 0x00ff00 0x0000ff", int(column(col)))) > > plot $Data u 1:2:(myLabel(3)):(myColor(4)) w labels hypertext point pt 7 > lc rgb var > ### end of script > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: theozh <th...@gm...> - 2026-04-01 08:48:39
|
in case this is still of interest...
If the values in the 4th column are numbers, you could pick the RGB-value from a string.
Check for example `help linecolor variable` and `help word`
Hope this helps, Theo.
### point color depending on column value
reset session
$Data <<EOD
1 4 foo 1
2 3 bar 3
5 8 baz 2
EOD
set key noautotitle
myLabel(col) = sprintf("%s", strcol(col))
myColor(col) = int(word("0xff0000 0x00ff00 0x0000ff", int(column(col))))
plot $Data u 1:2:(myLabel(3)):(myColor(4)) w labels hypertext point pt 7 lc rgb var
### end of script
|
|
From: Bjorn B. <bjo...@gm...> - 2026-03-31 16:06:13
|
Haha, I do my best! Thanks for investigating, fixing, and suggesting a workaround. I'm looking forward to gnuplot 6.0.5/6.1. :) On Tue, Mar 31, 2026 at 1:23 AM Ethan Merritt <eam...@gm...> wrote: > > > > On Mon, Mar 30, 2026 at 12:22 AM Bjorn Buckwalter <bjo...@gm...> wrote: >> >> Thanks Ethan for digging to the bottom of this and for the workaround! (I guess that the other workaround is simply to not use `\` and have very long lines, at the expense of readability, of course.) >> >> Note that I still see the second problem that I mentioned at the end of an earlier email. I repeat it here. This is the message I get if I include your "junk" code prior to my script. As expected the data files are not found, but the strange thing is the last message: >> >> ``` >> reference a string of length 6144 >> garbage >> "$plot_polar" line 13: warning: Cannot find or open file "world_110m.txt" >> "$plot_polar" line 13: warning: Cannot find or open file "data/ReportA.txt" >> "$plot_polar" line 13: warning: Cannot find or open file "data/ReportA.txt" >> "$plot_polar" line 13: undefined variable: orbit >> ``` >> >> I have had trouble where this last message/error pops up sometimes and I haven't been able to nail down the exact circumstances. I believe in this case that it refers to `title orbit`. If I change that to `notitle` it disappears. And changing from `notitle` to `title orbit` in the preceding line does not trigger the message. This seems also somehow related to the length of the command. >> >> Many thanks, >> Bjorn > > > You have a talent for finding bugs. > I have filed this one on the bug tracker > https://sourceforge.net/p/gnuplot/bugs/2865/ > It contains a 1-line example that triggers the bug. > > I think you can get this error message only if (a) the previous plot did not find any points to plot > and (b) the current plot gives no explicit title. > > You can avoid this error message in your particular script by adding a title to the line that plots 0 > for [orbit in orbits] \ > 'data/Report'.orbit.'.txt' using (lon($7)):($3 == 2030 ? filter_lat($6) : NaN) \ > lc rgb next_color(n) title orbit, \ > 0 title "0", \ > ^^^^^^^^^^^^^^^ > > Why? The plot that found no points had already stored a function to generate what > would have been the title. But then it never plotted anything and neither evaluated nor > cleared that function afterwards. So then if the _next_ plot doesn't provide a title of its > own it inherits the function to generate one. In this case that generated title, which would > have been wrong in any case, references a variable that is no longer in scope. > The bug will be easy to fix in the code, but the work-around is also easy > -- give the following plot a title. > > Ethan |