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 <dwinsem...@comcast.net> wrote:
>
>> On Sep 15, 2016, at 12:59 PM, Cade, Brian <ca...@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@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.

______________________________________________
R-help@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.

Reply via email to