Increase the Text Size on Axes of Plots in R

July 11, 2008 at 7:27 pm Leave a comment

An easy way to do this is to use the cex.lab parameter of the plot (or barplot, etc.) function. The abbreviation cex stands for character expansion. If you set this value to 2, the characters will be twice as large as they will be if you don’t set this.

Similarly, you can modify the size of the text labels on the axis using cex.axis and cex.names.

barplot(x,
ylab=’Proportion’,
cex.names=2.0,
cex.axis=2.0,
cex.lab=2.0
)

Advertisements

Entry filed under: Uncategorized. Tags: .

Find Files in Directory Using Python Check to See If File Exists in Python

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed



%d bloggers like this: