Does anyone know how to change the box type in Hmisc package function xYplot. I want only the left and bottom axes drawn, similar to what I would accomplish with bty="l" argument in plot() function. bty= argument did not do anything for me in xYplot(). Brian Brian S. Cade, PhD U. S. Geological Survey Fort Collins Science Center 2150 Centre Ave., Bldg. C Fort Collins, CO 80526-8818 email: cadeb at usgs.gov <brian_cade at usgs.gov> tel: 970 226-9326
box type in Hmisc xYplot
5 messages · Cade, Brian, David Winsemius, Bert Gunter
On Sep 15, 2016, at 12:59 PM, Cade, Brian <cadeb at usgs.gov> wrote: Does anyone know how to change the box type in Hmisc package function xYplot. I want only the left and bottom axes drawn, similar to what I would accomplish with bty="l" argument in plot() function. bty= argument did not do anything for me in xYplot().
Frank switched over to lattice so base-graphics arguments are not necessarily honored (unless they're shared with lattice::xyplot). So you need to think how you would specify the options in lattice::xyplot and then try to pass those arguments, since there is a "dots" mechanism. I tried finding a solution in Sarkar's Lattice book but didn't come up with anything. The "box" settings I found applied to bwplot "boxes". (Not attempting example since no data offered. You might consider searching the archives.)
David Winsemius Alameda, CA, USA
I do not know about xYplot, but the "scales" argument controls axes in xyplot. For example: scales = list(alternating = 1) would draw axes on left/bottom ... see ?xyplot for details and subtleties. Again, might not work for xYplot. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Sep 15, 2016 at 1:32 PM, David Winsemius <dwinsemius at comcast.net> wrote:
On Sep 15, 2016, at 12:59 PM, Cade, Brian <cadeb at usgs.gov> wrote: Does anyone know how to change the box type in Hmisc package function xYplot. I want only the left and bottom axes drawn, similar to what I would accomplish with bty="l" argument in plot() function. bty= argument did not do anything for me in xYplot().
Frank switched over to lattice so base-graphics arguments are not necessarily honored (unless they're shared with lattice::xyplot). So you need to think how you would specify the options in lattice::xyplot and then try to pass those arguments, since there is a "dots" mechanism. I tried finding a solution in Sarkar's Lattice book but didn't come up with anything. The "box" settings I found applied to bwplot "boxes". (Not attempting example since no data offered. You might consider searching the archives.) -- David Winsemius Alameda, CA, USA
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
No even in xyplot() the scales argument is not eliminating plotting of the top and right graph axes. It is not the scale of the axes I want eliminated but the actual lines. But thank you for trying. Brian Brian S. Cade, PhD U. S. Geological Survey Fort Collins Science Center 2150 Centre Ave., Bldg. C Fort Collins, CO 80526-8818 email: cadeb at usgs.gov <brian_cade at usgs.gov> tel: 970 226-9326
On Thu, Sep 15, 2016 at 2:44 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
I do not know about xYplot, but the "scales" argument controls axes in xyplot. For example: scales = list(alternating = 1) would draw axes on left/bottom ... see ?xyplot for details and subtleties. Again, might not work for xYplot. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Sep 15, 2016 at 1:32 PM, David Winsemius <dwinsemius at comcast.net> wrote:
On Sep 15, 2016, at 12:59 PM, Cade, Brian <cadeb at usgs.gov> wrote: Does anyone know how to change the box type in Hmisc package function xYplot. I want only the left and bottom axes drawn, similar to what I would accomplish with bty="l" argument in plot() function. bty=
argument
did not do anything for me in xYplot().
Frank switched over to lattice so base-graphics arguments are not
necessarily honored (unless they're shared with lattice::xyplot). So you need to think how you would specify the options in lattice::xyplot and then try to pass those arguments, since there is a "dots" mechanism. I tried finding a solution in Sarkar's Lattice book but didn't come up with anything. The "box" settings I found applied to bwplot "boxes".
(Not attempting example since no data offered. You might consider
searching the archives.)
-- David Winsemius Alameda, CA, USA
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
On Sep 15, 2016, at 1:32 PM, David Winsemius <dwinsemius at comcast.net> wrote:
On Sep 15, 2016, at 12:59 PM, Cade, Brian <cadeb at usgs.gov> wrote: Does anyone know how to change the box type in Hmisc package function xYplot. I want only the left and bottom axes drawn, similar to what I would accomplish with bty="l" argument in plot() function. bty= argument did not do anything for me in xYplot().
Frank switched over to lattice so base-graphics arguments are not necessarily honored (unless they're shared with lattice::xyplot). So you need to think how you would specify the options in lattice::xyplot and then try to pass those arguments, since there is a "dots" mechanism. I tried finding a solution in Sarkar's Lattice book but didn't come up with anything. The "box" settings I found applied to bwplot "boxes". (Not attempting example since no data offered. You might consider searching the archives.)
Searching the archives "scores" again: https://stat.ethz.ch/pipermail/r-help/2007-September/140098.html
David Winsemius Alameda, CA, USA