Skip to content
Back to formatted view

Raw Message

Message-ID: <18446.6246.920108.375163@stat.math.ethz.ch>
Date: 2008-04-22T16:55:02Z
From: Martin Maechler
Subject: plot(x) in 2.7.0 (with y=NULL) proposed code correction
In-Reply-To: <1A68FCB28DE72F4BA3B967E6506CCE4302294889@mildnpexmb01.maninvestments.ad.man.com>

>>>>> "OlegS" == Sklyar, Oleg \(MI London\) <osklyar at maninvestments.com>
>>>>>     on Tue, 22 Apr 2008 17:34:24 +0100 writes:

    OlegS> Hi all:
    OlegS> following the previous discussion, it looks like plot(x) with y=NULL
    OlegS> still does not work correctly. If one tries for example plot(1:5) it
    OlegS> works, but already for plot(runif(100)) it does not. 

??? Not for me, with my propsal
{{maybe only in your too much modified version of R ??}

I've committed my proposal, and am interested in feedback, 
notably additional relevant examples.

Martin

    OlegS> I posted the proposed correction for plot.POSIXct and
    OlegS> plot.POSIXlt before. Please voice your opinions
    OlegS> whether the following fix for plot.default could be
    OlegS> reasonable? I include the full function and the diff.

(And both suffered from wraparounds)