[R] xYplot customizing y-axis scaling

Christoph Meyer christoph.meyer at uni-ulm.de
Thu Jul 10 19:44:44 CEST 2008


Hi Henning,

have a look at the scales argument in the xyplot documentation.
You could try adding the following to your code:

scales=list(y=list(relation="free"))

Cheers,

Christoph


Thursday, July 10, 2008, 4:35:28 PM, you wrote:

> 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    



***************************************************************
Dr. Christoph Meyer
Institute of Experimental Ecology
University of Ulm
Albert-Einstein-Allee 11
D-89069 Ulm
Germany
Phone:  ++49-(0)731-502-2675
Fax:    ++49-(0)731-502-2683
Mobile: ++49-(0)1577-156-7049
E-mail: christoph.meyer at uni-ulm.de
http://www.uni-ulm.de/index.php?id=7885



More information about the R-help mailing list