Re: [R] Bug in gap.plot

From: Jim Lemon <>
Date: Fri, 25 Jul 2008 20:47:22 +1000

On Thu, 2008-07-24 at 20:19 -0700, Arthur Roberts wrote:
> Hi, all
> I am trying to make a plot with a axis break and I want the whole plot
> to be line, not points. However, when I execute the following command
> half of the graph is points and the other lines.
> gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="l")
> I think it might be a bug in plotrix. I would greatly appreciate your
> input. If there is another way to do it, I would greatly appreciate it.
Hi Art,
I don't know what your data look like, but I tried this:

gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="l")

and it seemed to work fine in R-2.7.1 on Linux.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 25 Jul 2008 - 10:46:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jul 2008 - 11:32:12 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive