wadda_wadda
wadda_wadda

Reputation: 1004

GNUPlot: Display less marks on x-axis?

I'm trying to get less marks on the x axis to display, since it's not exactly readable as to what size those values are.

Graph

Right now I'm using the

set xrange [1000:1000000]

directive.

Upvotes: 0

Views: 386

Answers (1)

andyras
andyras

Reputation: 15910

You can use the command

`set xtics 5e5`

(or some other number) to space the tics further apart. For your data it looks like three tics are fine, you could even get away with two:

`set xtics 1e6`

Sadly gnuplot lacks an option to set the number of tics explicitly.

Upvotes: 1

Related Questions