break.axis all range of data
On 10/05/2011 09:52 AM, Heverkuhn Heverkuhn wrote:
Hello R users, I have a plot type=b with x axis at=(1:36), I would like to increase the distance between x tick-marks 8 and 9, and not connect the points x=8 and x=9. I can do the second thing, setting type="p" and then drawing the lines, but I don't know how to do the first. Plus, I was wondering if there was a function that allows to insert a gap without covering data point like break.axis does.
Hi Heverkuhn, The axis.break function (plotrix) allows the user to insert a break mark on an axis with three styles (zigzag, slash and gap). From your question, I think you want one of the first two styles. Jim