powered by
Places a break mark on an axis on an existing plot.
AxisBreak(axis = 1, breakpos = NULL, pos = NA, bgcol = "white", breakcol = "black", style = "slash", brw = 0.02)
which axis to break.
where to place the break in user units.
position of the axis (see axis).
the color of the plot background.
the color of the "break" marker.
Either gap, slash or zigzag.
break width relative to plot width.
Jim Lemon and Ben Bolker
The pos argument is not needed unless the user has specified a different position from the default for the axis to be broken.
plot(3:10, main="Axis break test") # put a break at the default axis and position AxisBreak() AxisBreak(2, 2.9, style="zigzag")
Run the code above in your browser using DataLab