Re: [R] Add notes to a graph

From: Ronnie Babigumira <rb.glists_at_gmail.com>
Date: Tue 27 Dec 2005 - 08:41:29 EST

Thank you all, ?sub did the trick. One more question, Is it possible to orientate the "sub title" independently from the   "main title".

This is what I would like to do, add a title, label the axes, and add a small note to the bottom left of the plot area.

|-----------------------|
| 	  Title 	|
| 	--------|

| | my | |
| | graph | |
| | | |
| | ______| |
| | | | |note: source | |-----------------------|

The example in the help file shows how I can add the title, sub, as well as tweak the size and color. plot(1, col.axis = "sky blue", col.lab = "thistle")

	title("Main Title", sub = "sub title",
	cex.main = 2,   font.main= 4, col.main= "blue",
	cex.sub = 0.75, font.sub = 3, col.sub = "red")

If I add adj = 0, I get what I want, however, both the title and the note (main and sub rspv) both get the same orientation. Any ideas on how one can go about this (adj.sub does not work)

Ronnie

justin bem wrote:

> Have you try ?legend
>   or ?text
>    
>   Ronnie Babigumira <rb.glists@gmail.com> a écrit :
>   Hi, I have done a search on this in vain. How can I add a note to the foot of a graph example below
> 
> |-----------------------|
> | Title |
> | -------- |
> | | my | |
> | | graph | |
> | | | |
> | | ______| |
> |note: source |
> |-----------------------|
> 
> 
> Many thanks
> 
> Ronnie
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 
> 		
> ---------------------------------
> 
> 	[[alternative HTML version deleted]]
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Dec 27 08:49:48 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:40 EST