Re: [R] spineplot (graphics package): how to control font size?

From: Mark Difford <mark_difford_at_yahoo.co.uk>
Date: Wed, 25 Jun 2008 04:28:12 -0700 (PDT)

Hi Paul,

Duncan has shown you how to do it. There is often a simpler route that is worth knowing about. Whether it works depends on how the function was coded. In this case it works:

## Example
par(cex.main = 3)
spineplot (table (tbl$DAY, tbl$SEX), main='TIPS') par(cex.main = 1.2)
spineplot (table (tbl$DAY, tbl$SEX), main='TIPS')

HTH, Mark.

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.
>
> 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.
>
>

-- 
View this message in context: http://www.nabble.com/spineplot-%28graphics-package%29%3A-how-to-control-font-size--tp18100372p18110125.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Wed 25 Jun 2008 - 11:33:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 Jun 2008 - 12:30:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive