Henning Wildhagen <HWildhagen <at> gmx.de> writes: > > Dear list, > > using the packages Hmisc and lattice i produced some nice xYplots. However, > since the data range of the conditioning variable is very big, i need to > define more than one y-scale for the plot (in some panels you just see a > flat line of data points very close to the x-axis), e.g. different y-axis > scales for the different rows of the plot. > > Is there a way to do so? > > Thanks, > > Henning
https://stat.ethz.ch/pipermail/r-help/2008-April/159034.html My student (John Poulsen) said: The answer turned out to be that I needed to specify limits for each case (e.g. ylim=list(c(0,0.005),c(0,0.2))) after setting scale to be free. Deepayan Sarkar pointed out that for some problems (error bars) what I wanted can also be done in lattice without Hmisc (although I find it a bit of a pain to code custom panel and prepanel functions) Ben Bolker ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.