[R] plot: skip a range of axis

Jim Lemon jim at bitwrit.com.au
Wed Jan 12 11:26:31 CET 2011

On 01/12/2011 03:46 PM, Yuan Jian wrote:
> Hi,
> I am using plot to show scatter points in 2_D.
> in my data, there is no data between -1 and +1 in x-axis.
> I want to skip this region, i.e. x axis becomes [-Inf:-1, 1:Inf].
> can any one tell me how to do?
Hi Yu,
Try the gap.plot function in the plotrix package.


More information about the R-help mailing list