[R] Color of title in legend()

2008-10-06 Thread Michael Kubovy
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 400400Charlottesville, VA 22904-4400
Parcels:Room 102Gilmer Hall
 McCormick RoadCharlottesville, 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@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.


Re: [R] Color of title in legend()

2008-10-06 Thread stephen sefick
not reproducible

On Mon, Oct 6, 2008 at 2:01 PM, Michael Kubovy [EMAIL PROTECTED] 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 400400Charlottesville, VA 22904-4400
 Parcels:Room 102Gilmer Hall
 McCormick RoadCharlottesville, 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@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

__
R-help@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.