Quantcast
Channel: Increase number of axis ticks - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Increase number of axis ticks

$
0
0

I'm generating plots for some data, but the number of ticks is too small, I need more precision on the reading.

Is there some way to increase the number of axis ticks in ggplot2?

I know I can tell ggplot to use a vector as axis ticks, but what I want is to increase the number of ticks, for all data. In other words, I want the tick number to be calculated from the data.

Possibly ggplot do this internally with some algorithm, but I couldn't find how it does it, to change according to what I want.


Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images