|
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
|