[R] Add notes to a graph

John Logsdon j.logsdon at quantex-research.com
Tue Dec 27 12:32:15 CET 2005


Closer to what Ronnie needs is:

plot(1:10, 1:10, main = "Title")
mtext("Note: source",side=1,line=4,adj=0)

The line number may need adjustment.

Best wishes

John

John Logsdon                               "Try to make things as simple
Quantex Research Ltd, Manchester UK         as possible but not simpler"
j.logsdon at quantex-research.com              a.einstein at relativity.org
+44(0)161 445 4951/G:+44(0)7717758675       www.quantex-research.com


On Tue, 27 Dec 2005, Ener Borg wrote:

> Ronnie Babigumira skrev:
> > Hi, I have done a search on this in vain. How can I add a note to the foot of a graph example below
> 
> Can you use this?:
> 
> plot(1:10, 1:10, main = "Maintitle", sub = "subtitle") mtext("Another
> possibillity", side=4)
> 
> 
> 
> 
> 
> 
> 
> > 
> > |-----------------------|
> > |	 Title		|
> > |	 --------	|
> > |	|  my	|	|
> > |	| graph	|	|
> > |	|	|	|
> > |	| ______|	|
> > |note: source 		|
> > |-----------------------|
> > 
> > 
> > Many thanks
> > 
> > Ronnie
> 
> ______________________________________________
> R-help at 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
>




More information about the R-help mailing list