Skip to content

ggplot not showing all the years on the x-axis

3 messages · Yao He, Francesco Sarracino

#
Hi,this is a question about how to set the scale,try this
add a scale_x_discrete() like that:

plot <- tmpplot + geom_line()+scale_x_continuous(breaks=ii)


Yao He


2013/1/8 Francesco Sarracino <f.sarracino at gmail.com>: