Skip to content
Back to formatted view

Raw Message

Message-ID: <426CE0F4.8020005@statisticon.se>
Date: 2005-04-25T12:22:12Z
From: Henric Nilsson
Subject: Garbled plot label
In-Reply-To: <426CA8BA.1080503@statistik.uni-dortmund.de>

Uwe Ligges said the following on 2005-04-25 10:22:
> Maciej Blizi??ski wrote:
> 
>> Hello,
>>
>> While using the "plot" function against a model with a long formula,
>> I get a garbled label in the bottom of the plot. It looks like there are
>> two lines printed one over another, here's my example:
>>
>> http://pico.magnum2.pl/maciej/NodalInvolvement/MisclassificationRate?action=AttachFile&do=get&target=TwoFactorResiduals.png 
>>
>>
>> This was from using  "plot(model_object)" which produces 4 plots at
>> once. Can I fix it somehow?
>>
>> I already tried googling, and searching R maillist archives and didn't
>> find a relevant discussion.
>>
> 
> Can you provide a reproducible example please (the posting guide ask to 
> do so anyway)?

It's quite easy to reproduce this. Just

long.var.name.1 <- runif(10)
long.var.name.2 <- runif(10)
long.var.name.3 <- runif(10)
long.var.name.4 <- runif(10)
fit <- lm(long.var.name.1 ~ long.var.name.2 + long.var.name.3 + 
long.var.name.4)
plot(fit)

//H