Message-ID: <4F32CE3E.7050400@statistik.tu-dortmund.de>
Date: 2012-02-08T19:34:22Z
From: Uwe Ligges
Subject: Force printing of excluded axis annotations
In-Reply-To: <CAKZHBxHMLZnnpJYD1Ukr2L4HONtU4L3cQjP=VTN1mALU9HL8iA@mail.gmail.com>
On 08.02.2012 17:43, Justin Fincher wrote:
> Howdy,
> This should be simple, but I am finding that I can't find a simple
> solution. I have a plot to which I am manually adding the annotations
> to the y-axis with this command:
>
> axis(2, c(-4,-3,-2,-1,0,1,2,3,4,5,6,7),labels=c(-4,-3,-2,-1,0,1,2,3,4,5,6,7),cex.axis=8)
>
> The issue is that, apparently, R doesn't think that the -1 can fit,
> even though there is most certainly enough space. Is there a way to
> force R to print all the annotations I give it, regardless of
> proximity or to reduce the space it believes it needs? Thank you.
If you really want to plot all and R thinks it dos not fit although you
believe it does, you can plot in two sets (first even, then odd numbers,
for example).
Uwe Ligges
> - Fincher
>
> ______________________________________________
> 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.