[R-SIG-Mac] Minor bug in Quartz sizing
Erich Neuwirth
erich.neuwirth at univie.ac.at
Wed Sep 21 17:20:58 CEST 2011
I am on the road, so I cannot test this on my 27" screen at the moment.
The problem also happens without setting height and width for the quartz window.
The graphics is cut off at the bottom, it seems the engine doing the drawing gets incorrect information about the
window size.
If I set height=6 explicitly, I do not see the problem.
On Sep 4, 2011, at 12:37 AM, Duncan Murdoch wrote:
> On 11-09-03 5:03 PM, Kasper Daniel Hansen wrote:
>> On Sat, Sep 3, 2011 at 12:47 PM, Duncan Murdoch
>> <murdoch.duncan at gmail.com> wrote:
>>> With a current R-patched (2.13.1 Patched (2011-09-02 r56906)), the following
>>> code generates plots missing the bottom labels:
>>>
>>> par(mfrow = c(4, 5), mar = c(2.1, 2.1, 4.1, 1.1))
>>> for (i in 1:20) plot(1)
>>>
>>> If I resize the plot at all, it's redrawn correctly, with all margins
>>> showing. After resizing, repetitions in the old window are fine, but if I
>>> close it and try again, the error re-surfaces.
>>>
>>> I'm on Mac OSX 10.6.8.
>>
>> I have often seen the issue missing bottom labels on the default
>> window on my old 13in macbook. I have always assumed (and I could be
>> wrong) that this had something to do with the actual dimensions of the
>> screen. Recently I switched to a 15in macbook pro and I have never
>> had this problem (and I never observed it when I connected my 13in to
>> an external display). I have various incoherent theories about why
>> this happens, but I will just state my observation: this only happens
>> on the native screen of a smaller laptop.
>
> I'm using a Macbook Air with a 1440 x 900 screen. If I resize the screen to 1024 x 768, it does look a little worse.
>
> Duncan Murdoch
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20110921/c876ce62/attachment.bin>
More information about the R-SIG-Mac
mailing list