[R] axis manipulation in levelplot
Deepayan Sarkar
deepayan.sarkar at gmail.com
Fri May 5 22:19:47 CEST 2006
On 5/4/06, Toby Daniel Ahrens <tahrens at 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
More information about the R-help
mailing list