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:

Xdata<-c(2,3,8,9,10)
Ydata<-1:5
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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to