What about simply using a log scale on the y axis? I.e. plot(..., log=y)
--
Bjørn-Helge Mevik
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Bo Peng wrote:
Dear list,
I need to plot four almost horizontal lines with y-values around
1,3,4, 400. If I plot them directly, the first three lines will be
indiscernible so I am thinking of breaking y-axis into two parts, one
with range (0,5), another (395,400). Is there an easy way to do
Bo Peng wrote:
Dear list,
I need to plot four almost horizontal lines with y-values around
1,3,4, 400. If I plot them directly, the first three lines will be
indiscernible so I am thinking of breaking y-axis into two parts, one
with range (0,5), another (395,400). Is there an easy way to do
Tom Mulholland has already pointed out that the plotrix package has an
axis.break() function that will draw the break symbol. Your problem is a
combination of plotting two disparate sets of data and getting the
y-axis right. The following is one way to do it, just be careful that
the ylim=
I think you may wish to look at the plotrix package, assumming that you have
taken care of the issues involved in breaking an axis and that your plots don't
result in misleading information.
I think to use the axis break you would have to calculate your own labels and
rescale the data, as it