[R] spineplot (graphics package): how to control font size?
Duncan Murdoch
murdoch at stats.uwo.ca
Wed Jun 25 00:37:56 CEST 2008
On 24/06/2008 5:21 PM, Paul Shannon wrote:
> I cannot modify the font size of the standard text items for the
> splineplot function
> found in the standard graphics package. Here is a tiny example, in
> which
> I try (but fail) to make the main title large.
>
> tbl = read.table ('http://www.ggobi.org/book/data/tips.csv',
> sep=',', header=T)
> spineplot (table (tbl$DAY, tbl$SEX), main='TIPS', cex.main=3)
>
> None of the other 'cex' parameters seem to work either, but cex.main
> is probably
> a sufficient example.
None of the cex parameters is listed as a parameter on ?spineplot, so
presumably they just aren't there. You will have to plot with blank
titles, and use title(main='TIPS', cex.main=3) in a following call.
Duncan Murdoch
>
> Any tips for me? Thanks!
>
> - Paul
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list