r - How do I increase the size of the points and the text with just one command in ggplot2? -
I am plotting some graphs for posters and slideshows. I want bigger digits and bigger text I have read about ggplot2's theme_set and theme_update. What can I say is that there are only two preset themes and they are different from the background color system. However, I want to enlarge all the text larger and plot points.
I have learned how the font size can change
theme_update (axis.text.x = theme_text (size = 30)) But it only changes the axis text, I have to do the same thing for a group of other parameters (axis.text.y, axis.title.x etc.). I call "lazy", but I want a single order which can increase the size of all the text (and also the plotted points too) Is there one or two commands that cover all the criteria? Alternatively, are there any other set themes?
If you are fine with two default colors, arguments of a base size for both text It is taken on all the lessons around the conspiracy (with scaling). You can just add theme_gray (30) to your plots, there is a warning in it if you later set other parameters of the text with them_text, then you have to respecify the size. Alternatively, you can code for theme_gray (or theme_bw >, which is close) and make a thematic change directly. For example, check ggplot2 wiki: Edit:
As an example:
Library ("ggplot2") qplot (1: 2,1: 2) + Theme_bau (30)
with the base size of fonts set ggplot
Comments
Post a Comment