Re: [R] Text over the plot and the margins

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Sun, 30 Dec 2007 16:37:33 -0500 (EST)


Hi Miguel,

Some sample code would help but I think xpd in ?par may be what you're looking for however it probably would be easier/better to set the xlim values to give more space on the right hand side of the graph or just modify the text( at=) value to keep the numbers inside the plot area.

> Hi,
>
> I am having problem to display text that goes start
> inside the
> plot but should go over the margins of the plot.
>
> You can have an example of what I mean by looking at
> the graphs on this
> page:
>
http://ptaff.ca/soleil/?l1pays=Canada&l1etat=Qu%C3%A9bec&l1ville=Montr%C3%A9al&year=2007&month=12&day=30&l1cityname=Montr%C3%A9al%2C+Qu%C3%A9bec%2C+Canada&l1ltd=45&l1ltm=30&l1lts=0&l1ltx=N&l1lgd=73&l1lgm=34&l1lgs=47&l1lgx=W&l1tz=-5.0&l1dst=US&l2ltx=N&l2lgx=E&l2tz=0&lang=en_CA&go=Voir+le+graphe%21
> or
> http://tinyurl.com/3ykaha
>
> The sunset and sunlight values near the bullets
> should be displayed but
> they are truncated in the middle.
>
> For what I understand, the "text" method is used to
> write inside the plot
> area while the "mtext" is used to write in the
> margins, i.e. outsite the
> plot.
>
> Is there a way to start writing in the plot area and
> to indicate that if
> the strings goes outside the area, it can continue
> to write there?
>
> Thanks,
>
> Miguel Tremblay
> http://ptaff.ca/miguel/
>
> ______________________________________________
> 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.
>



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. Received on Sun 30 Dec 2007 - 21:42:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 30 Dec 2007 - 22:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.