[Rd] cex.axis in barplot() (PR#1070)
Jerome Asselin
jerome@stat.ubc.ca
Thu, 23 Aug 2001 02:46:46 -0700 (PDT)
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._