From ess28 at cornell.edu  Tue Jan 23 16:58:25 2007
From: ess28 at cornell.edu (Emmanuel Sharef)
Date: Tue, 23 Jan 2007 10:58:25 -0500
Subject: [Rd] can't plot a line
In-Reply-To: <45B62CC6.1020008@pdf.com>
References: <45B62CC6.1020008@pdf.com>
Message-ID: <40EA13FA-EB6B-49CE-A32F-CFE8F6475076@cornell.edu>


On Jan 23, 2007, at 10:41 AM, Spencer Graves wrote:

> Consider the following:
>
>       plot(0, 0, xlim=c(-10, 10), ylim=c(-50, 50))
>       lines(c(0,0), (2*c(-pi, pi))^2)
>

You are creating a line from point (0,(2*(-pi))^2) to point (0,(2*pi) 
^2), however, since (-pi)^2=pi^2, it's not much of a line.



[Rd] can't plot a line
Emmanuel Sharef