[R] text at the upper left corner outside of the plot region
Eik Vettorazzi
E.Vettorazzi at uke.uni-hamburg.de
Thu Mar 5 12:15:03 CET 2009
is this something that helps?
plot(1,2)
mtext("test low right",side=1,outer=T,adj=1,line=-1)
mtext("test low left",side=1,outer=T,adj=0,line=-1)
mtext("test upper right",side=3,outer=T,adj=1,line=-1)
mtext("test upper left",side=3,outer=T,adj=0,line=-1)
hth
batholdy at googlemail.com schrieb:
> Hi,
>
> is there a way to place text at the upper left corner (or another
> corner) of the plot?
>
> I want to place it really at the upper left corner of the whole plot
> (the file I get),
> not at the upper left corner of the plot-region.
>
>
>
> I tried text() and mtext(), and corner.label() of the plotrix package
> but it didn't work out.
>
>
> thanks!
>
> ______________________________________________
> 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.
--
Eik Vettorazzi
Institut für Medizinische Biometrie und Epidemiologie
Universitätsklinikum Hamburg-Eppendorf
Martinistr. 52
20246 Hamburg
T ++49/40/42803-8243
F ++49/40/42803-7790
More information about the R-help
mailing list