From maechler at stat.math.ethz.ch  Tue Apr 22 18:55:02 2008
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Tue, 22 Apr 2008 18:55:02 +0200
Subject: [Rd] plot(x) in 2.7.0 (with y=NULL) proposed code correction
In-Reply-To: <1A68FCB28DE72F4BA3B967E6506CCE4302294889@mildnpexmb01.maninvestments.ad.man.com>
References: <1A68FCB28DE72F4BA3B967E6506CCE4302294889@mildnpexmb01.maninvestments.ad.man.com>
Message-ID: <18446.6246.920108.375163@stat.math.ethz.ch>

>>>>> "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)



[Rd] plot(x) in 2.7.0 (with y=NULL) proposed code correction
Martin Maechler