Re: [R] How to adjust y-axis when using panel.densityplot within histogram function

2011-07-27 Thread Sébastien Bihorel
Thanks David, Unfortunately, that is an option that I cannot use. The code that I provided was a simplification of a more complex workflow that accommodates various types of histograms (count, density or percentage). The actual panel function of my histogram call contains several switches that all

Re: [R] How to adjust y-axis when using panel.densityplot within histogram function

2011-07-27 Thread David Winsemius
On Jul 27, 2011, at 9:15 AM, Sébastien Bihorel wrote: Hi I would like to superimpose group-specific densityplots on top of an overall histogram using panel.histogram and panel.densityplot. Furthermore, I would like to automatically adjust the range of the y-axis to take into account the

[R] How to adjust y-axis when using panel.densityplot within histogram function

2011-07-27 Thread Sébastien Bihorel
Hi I would like to superimpose group-specific densityplots on top of an overall histogram using panel.histogram and panel.densityplot. Furthermore, I would like to automatically adjust the range of the y-axis to take into account the ranges of both histogram and densityplot. This last part is wher