[R] ggplot theme_update

vd3000 vd3000 at yahoo.co.uk
Fri Feb 3 09:31:09 CET 2012

Hi, all,

I am a newbie for [r]. 

I am currently trying to learn this example. 

I know if I need to show the graph properly, I need to update the theme by
this command:

*> immigration_theme <- theme_update(axis.text.x = theme_text(angle = 0,
hjust = 0.5, size=20), axis.text.y = theme_text(angle = 0, hjust = 0.5,
size=20), panel.grid.major = theme_line(colour = "grey90"), panel.grid.minor
= theme_blank(), panel.background = theme_blank(), axis.ticks =
theme_blank(), legend.position = "none")*

However, everytime when I close the r programme and run it again, I need to
rerun theme_update again in order to show the picture properly. That is, the
theme_update could not really update the theme after I close [r].

So, how could I change the parameters permenantly using theme_update?

I am tired to google for the theme_update for 3 days...

Hope some genius could help.


View this message in context: http://r.789695.n4.nabble.com/ggplot-theme-update-tp4354015p4354015.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list