From: Mark H. <ma...@ha...> - 2025-02-12 01:53:20
|
I've been running gnuplot for years and it worked great. I just installed the newest version of stable ubuntu and gnuplot broke. I don't know what version my old gnuplot was but it is now 5.4 patchlevel 2. I had Y labels on both sides. Now my right label has disappeared. I haven't changed any gnuplot commands. My gnuplot only has the ".set y2label" command, and not any other label command. I don't know how it worked but labels appeared on both sides. It's weird that I only had the right side command and now that is the broken one. I've tried adding ".set ylabel". Can someone give me an idea of how to fix this? I'd be happy to go to an older version like 4.6 but I couldn't find a linux installer for 4.x. Would I have to build it? I would hate that as I always have problems with building, My building-fu is lacking. |
From: Dave H. <da...@ho...> - 2025-02-12 04:34:19
|
On Tue, 11 Feb 2025, Mark Hahn wrote: > I've been running gnuplot for years and it worked great. I just > installed the newest version of stable ubuntu and gnuplot broke. I > don't know what version my old gnuplot was but it is now 5.4 patchlevel > 2. I had Y labels on both sides. Now my right label has disappeared. > I haven't changed any gnuplot commands. On my MacBook running High Sierra: gnuplot> show ver G N U P L O T Version 6.0 patchlevel 2 last modified 2024-12-19 (I check for software updates every week; doesn't everybody?) -- Dave |
From: Peter R. <p.r...@sh...> - 2025-02-12 10:38:21
|
On 12/02/2025 04:19, Dave Horsfall wrote: > On Tue, 11 Feb 2025, Mark Hahn wrote: > >> I've been running gnuplot for years and it worked great. I just >> installed the newest version of stable ubuntu and gnuplot broke. I >> don't know what version my old gnuplot was but it is now 5.4 patchlevel >> 2. I had Y labels on both sides. Now my right label has disappeared. >> I haven't changed any gnuplot commands. > On my MacBook running High Sierra: > > gnuplot> show ver > > G N U P L O T > Version 6.0 patchlevel 2 last modified 2024-12-19 > > (I check for software updates every week; doesn't everybody?) Yes. But the OP is using the latest Ubuntu. Be aware that Gnuplot 6 will not build (out of the box) on Ubuntu due to a packaging error with Qt. This is on the Ubuntu maintainers' todo list but Ubuntu users are likely to be stuck on Gnulplot 5.4 for a long time yet. By the time I reported the issue for Gnuplot, this packaging problem had already been on their radar for over a year because it had been reported as having broken some other (gaming?) app. P. > > -- Dave > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
From: Norwid B. <nb...@ya...> - 2025-02-13 13:06:59
|
@Mark While I'm not aware `.set y2label` to be a syntax accepted by gnuplot, I found the test script below -- without the leading period -- worked fine from the Bash by either `gnuplot ./test.spt`, or `gnuplot-qt ./test.spt`. The test run gnuplot 6.0.2 as currently provided by Linux Debian 13/trixie which for now (still) is branch testing. If an interactive GUI isn't a requirement for you, could the installation of a second (i.e., additional) Linux distribution equally be an option for you? Or one which lives in a USB thumbdrive, thanks to e.g., [rufus](https://rufus.ie/)? According to Debian's tracker,[1] Ubuntu 24.10 and future 25.04 currently package version 6.0.0. However, repology.org[2] mentions for instance Devuan (unstable), a Debian relative, equally set to gnuplot 6.0.2. Norwid ``` test.spt set terminal pngcairo enhanced font 'Verdana,10' set output "test.png" set title "title" set grid set key left set xlabel "primary abscissa [x]" set x2tics set link x2 via x/3.14 inverse x*3.14 set x2label "secondary abscissa [{/Symbol p}]" set format x2 "%.1f" set ylabel "ordinate [y]" set format y "%.2f" set ytics nomirror set y2tics set y2label "ordinate [y/8]" set link y2 via y/8 inverse y*8 set format y2 "%.3f" plot sin(x) ``` [1] https://tracker.debian.org/pkg/gnuplot [2] https://repology.org/project/gnuplot/packages |
From: Mark H. <ma...@ha...> - 2025-02-13 20:25:04
|
`.set y2label` was my shorthand for .set("y2label") which is javascript. I know nothing about any other syntax, I only use it with js. I am not surprised that 6.0.2 works. I went back to 4.6 and everything works. The bug is apparently only in 5.x. On Thu, Feb 13, 2025 at 5:07 AM Norwid Behrnd via gnuplot-info <gnu...@li...> wrote: > > @Mark While I'm not aware `.set y2label` to be a syntax accepted by gnuplot, I > found the test script below -- without the leading period -- worked fine from > the Bash by either `gnuplot ./test.spt`, or `gnuplot-qt ./test.spt`. The test > run gnuplot 6.0.2 as currently provided by Linux Debian 13/trixie which for > now (still) is branch testing. > > If an interactive GUI isn't a requirement for you, could the installation of a > second (i.e., additional) Linux distribution equally be an option for you? Or > one which lives in a USB thumbdrive, thanks to e.g., > [rufus](https://rufus.ie/)? > > According to Debian's tracker,[1] Ubuntu 24.10 and future 25.04 currently > package version 6.0.0. However, repology.org[2] mentions for instance Devuan > (unstable), a Debian relative, equally set to gnuplot 6.0.2. > > Norwid > > ``` test.spt > set terminal pngcairo enhanced font 'Verdana,10' > set output "test.png" > set title "title" > set grid > set key left > > set xlabel "primary abscissa [x]" > > set x2tics > set link x2 via x/3.14 inverse x*3.14 > set x2label "secondary abscissa [{/Symbol p}]" > set format x2 "%.1f" > > set ylabel "ordinate [y]" > set format y "%.2f" > > set ytics nomirror > set y2tics > set y2label "ordinate [y/8]" > set link y2 via y/8 inverse y*8 > set format y2 "%.3f" > > plot sin(x) > ``` > > [1] https://tracker.debian.org/pkg/gnuplot > [2] https://repology.org/project/gnuplot/packages > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |