[R] Color of title in legend()

stephen sefick ssefick at gmail.com
Mon Oct 6 21:13:07 CEST 2008


not reproducible

On Mon, Oct 6, 2008 at 2:01 PM, Michael Kubovy <kubovy at virginia.edu> wrote:
> Dear R-helpers,
>
> This produces a red title. How do I make it black, without making the
> labels black?
>
> legend(title = 'Channel Integration', 0.7, 0.3,
> c('loudness','luminance'), col = c('red', 'blue'), text.col = c('red',
> 'blue'), lty = 1, xjust = 0.5, bty = 'n')
>
> _____________________________
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
> Parcels:    Room 102        Gilmer Hall
>         McCormick Road    Charlottesville, VA 22903
> Office:    B011    +1-434-982-4729
> Lab:        B019    +1-434-982-4751
> Fax:        +1-434-982-4766
> WWW:    http://www.people.virginia.edu/~mk9y/
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



-- 
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis



More information about the R-help mailing list