Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.3.96.1010823024300.13312A-100000@hajek.stat.ubc.ca>
Date: 2001-08-23T09:46:46Z
From: Jerome Asselin
Subject: cex.axis in barplot() (PR#1070)
In-Reply-To: <3B84A828.E57B14DC@statistik.uni-dortmund.de>

On Thu, 23 Aug 2001, Uwe Ligges wrote:

> jerome@stat.ubc.ca wrote:
> > 
> > Full_Name: Jerome Asselin
> > Version: 1.3.0
> > OS: Windows 98
> > Submission from: (NULL) (24.77.112.193)
> > 
> > I have a hard time to magnify the axis annotations in barplot()
> > Here are some examples:
> > 
> > #This one has no effect.
> > barplot(1:3,names.arg=1:3,cex.axis=3,xlab="x",ylab="y")
> 
> 
> >From the help:
>  ...  further graphical parameters (par) are passed to plot.window() and
> title(). 
> [let me add: ... and not to axis()...]

I did not realize that it wouldn't work because barplot() passes the
parameters to plot.window() or title(). Sorry about that.

> 
> But you can use:
> 
>  par(cex.axis=3)
>  barplot(1:3, names.arg=1:3, xlab="x", ylab="y")
> 

Thanks for the tip!

Jerome Asselin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._