|
From: Robert H. <he...@de...> - 2026-02-08 15:56:11
|
None of this helps. The X Tick labels are still the numberical indexes and not the text in column of the data file. At Sun, 8 Feb 2026 11:38:29 +0100 Norwid Behrnd <nb...@ya...> wrote: > > Dear Robert > > The example shared by you includes three consecutive lines relevant to the > management of xtics: > > > set xtics border in scale 0,0 nomirror rotate by -45 autojustify > > set xtics norangelimit > > set xtics () > > By `set xtics scale 0,0` you however set them invisible. Compare for example > the result of > > ``` > set terminal png > set output "test_01.png" > set title "test 01" > > set xtics in scale 0,0 > plot sin(x) > ``` > > with (an exaggerated example) > > ``` > set terminal png > set output "test_02.png" > set title "test 02" > > set xtics in scale 10,0 > plot sin(x) > ``` > > Equally, compare with the first example "US immigration from Europe by decade" > on <https://gnuplot.sourceforge.net/demo_5.4/histograms2.html> -- sometimes the > tics extend beyond the bars (e.g., 1931--1940, Northern Europe) to be visible, > while e.g., about 1901--1910 they are not. Here, `set xtics out` yields xtics > which don't enter the first quadrant and hence are not affected by the > histogram's bars. > > In your example, the annotations to the abscissa are short; this is the reason > why I think to use `set xtics out` without a `rotate by -45` provides a result > easier to read and > > ``` > set xtics out border nomirror autojustify > set xtics norangelimit > ``` > > might suffice. Note `set xtics ()` can void your earlier list of instructions > about the xtics. > > Best regards, > > Norwid > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services he...@de... -- Webhosting Services |