Labelled major and unlabelled minor axis tics

Reginald Beardsley via gnuplot-info <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
I want to have major tics which are labelled and minor tics which are not.

For some reason I seem not to be able to do that.  I've gone through all the demos that came with 4.4.3 and 4.6.5,  but none showed how to do that.  logscale produces the desired result, but I don't want a logarithmic scale. 


        G N U P L O T
        Version 5.0 patchlevel 6    last modified 2017-03-18

        Copyright (C) 1986-1993, 1998, 2004, 2007-2017
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'wxt'
gnuplot> sh tics

        xyplane ticslevel is 0.5
        tics are in back of plot
        x-axis tics are IN,     major ticscale is 1 and minor ticscale is 0.5
        x-axis tics:    on border and mirrored on opposite border
          labels are justified automatically, format "% h" and are not rotated,
            offset (character 0, 0, 0)
          intervals computed automatically

[snip]

gnuplot> set xtics scale 10 1
gnuplot> sh tics

        xyplane ticslevel is 0.5
        tics are in back of plot
        x-axis tics are IN,     major ticscale is 10 and minor ticscale is 5
        x-axis tics:    on border and mirrored on opposite border
          labels are justified automatically, format "% h" and are not rotated,
            offset (character 0, 0, 0)
          series by 1
      
[snip]

gnuplot> 

Note that I did *not* get a minor tic interval of 1, but of 5.

If I now "plot [0:100] x" all the tics are labelled and there is no distinction between major and minor tics

Thanks,
Reg


_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.