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

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue, 24 Jun 2008 18:37:56 -0400

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.



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 Tue 24 Jun 2008 - 22:44:57 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 Tue 24 Jun 2008 - 23:30:59 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