Re: Labelled major and unlabelled minor axis tics

Hans-Bernhard Bröker <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
Am 25.07.2019 um 22:23 schrieb Reginald Beardsley via gnuplot-info:
> I want to have major tics which are labelled and minor tics which are not.

There's not really anything you should have to do to get that effect, as
it's the default already.  All you have to do is actually turn onn minor
tics:

	set mxtics


> gnuplot> set xtics scale 10 1

That does not do at all what you appear to intend.

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

You did not get any minor tic interval at all, because you didnt's turn
on minor tics.

You requested a major tic _scale_ of 10 (which is the length of the tick
marks), and because you didn't specify otherwise, the minor tic scale
changed to match it.  If you had really wanted the minor tic length a 1,
that should have read

	set xtics scale 10,1

As-is the '1' becomes the x tic interval instead.  Note how it changed
from "intervals computed automatically" to "series by 1".



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