[Rd] can't plot a line

Emmanuel Sharef
2007-01-23T15:58:25Z

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.