On Tue, Sep 28, 2010 at 10:35 AM, Tal Galili <tal.gal...@gmail.com> wrote:

> My point is that in regular text, ylab plots it where it then goes outside
> the borders.
> With the use of expressions - the text just doesn't show up.
> Originally I thought it was because of my miss-use of expressions, until I
> figured it was the level of cex.lab I was using.
> The problem is that when you can't see the text, you don't have a sense of
> how much to decrease the cex.lab so the text will fit.
> I hope I was now clearer.

Gotcha. Seems to only affect ylab though. Do this:

 > t =  expression(paste("test
loooooooooooooooooooooooooooooooooooooooooooooo(% of 360" *degree,
")"))
 > plot(1,xlab=t,ylab=t,main=t)

then if I shrink my graphics window I can make the ylab disappear but
not the xlab or title.

 Seems to affect any rotated expressions:

> plot(1)
> text(1,1,t,srt=90)
> text(1,1,t,srt=0)
> text(1,1,t,srt=45)

 Now shrink window and watch the rotated expressions vanish! They
disappear when they start (or finish) out of the entire graphics
device, not the plot region...

 I cant find anything relating to clipping in the help, and I am on
Linux, so see if there's any news about it, try it with R-patched or
R-devel and then report a bug after having read all the other stuff
about R bug reporting!

Barry

______________________________________________
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.

Reply via email to