Re: [R] axis manipulation in levelplot

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Sat 06 May 2006 - 06:19:47 EST

On 5/4/06, Toby Daniel Ahrens <tahrens@stanford.edu> wrote:
> Hi:
>
> I am trying to print multiple levelplots on a single page, and I am having
> trouble manipulating individual axes on the plots. I do not want a box
> around the entire plot; on some plots I would like to show only the x-axis
> (with line, tick marks and labels), and on other plots both x- and y-axes.
>
> I am working from Windows XP with R 2.0.1, and my code is below. Right now,
> the code results in a contour plot printed with ticks and labels only on
> the x axis, but the plot still has a box around the entire plot. If I set
> the axis.line in trellis.par.set to "transparent", I lose the box and the
> x-axis line and ticks, and I can't figure out how to re-print them.

panel.axis has a line.col parameter that you can set to 'black'.

Deepayan



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 06 06:23:44 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 May 2006 - 08:10:03 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.