SOLVED Re: XTick Labels?

Robert Heller <[email protected]> Sun, 8 Feb 2026 11:43:43 -0500 (EST)
Newsgroups gmane.comp.graphics.gnuplot.user
Organization Deepwoods Software
Message-ID <[email protected]>
At Sun,  8 Feb 2026 07:17:35 -0500 (EST) Robert Heller <[email protected]> wrote:

> 
> None of this helps.  The X Tick labels are still the numberical indexes and 
> not the text in column of the data file.
> 

I found my problem: doing "1:xtick(1)" is wrong!  I moved the ":xtic(1)" 
elsewhere in the using list and presto, things work.

> At Sun, 8 Feb 2026 11:38:29 +0100 Norwid Behrnd <[email protected]> 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
[email protected]       -- Webhosting Services
                                                                                                                      


_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info