There are 4 sets of array, each have 2 dimension data:x,y. And these data comes from bkde. I tried to plot them in one figure, but details of some lines, like peak and where it locate, have diminished since one set of array have fairly high y value.And another array have lots of y value near zero, like 1e-20, 1e-10, like a long tail, while the highest y value of these arrays is 1e-4. Does R have the function to cut some range of y value? The corresponding function in sigmaplot is break in which we could define break range to omit some meanless range of y value.
It has been solved On Feb 24, 5:05?pm, yk <shiyuankun.deb... at gmail.com> wrote:> There are 4 sets of array, each have 2 dimension data:x,y. > And these data comes from bkde. > I tried to plot them in one figure, but details of some lines, like > peak and where it locate, have diminished since one set of array have > fairly high y value.And another array have lots of y value near zero, > like 1e-20, 1e-10, like a long tail, while the highest y value of > these arrays is 1e-4. > Does R have the function to cut some range of y value? The > corresponding function in sigmaplot is break in which we could define > break range to omit some meanless range of y value. > > ______________________________________________ > R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Hi If you had issued "axis break" into CRAN fearch facility you would have find several options e.g. plotrix package. Also look at xlim or ylim and consider logarithmic axes regards Petr r-help-bounces at r-project.org napsal dne 24.02.2009 10:05:26:> There are 4 sets of array, each have 2 dimension data:x,y. > And these data comes from bkde. > I tried to plot them in one figure, but details of some lines, like > peak and where it locate, have diminished since one set of array have > fairly high y value.And another array have lots of y value near zero, > like 1e-20, 1e-10, like a long tail, while the highest y value of > these arrays is 1e-4. > Does R have the function to cut some range of y value? The > corresponding function in sigmaplot is break in which we could define > break range to omit some meanless range of y value. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.