[R] Using a background photo in lattice--title and axes missing
Waichler, Scott R
Scott.Waichler at pnl.gov
Thu Nov 6 18:13:49 CET 2008
> I am trying to use a background photo in a lattice plot. I
> am using the rimage and TeachingDemos packages to plot the
> photo and translate from the photo coordinates in pixels to
> geographic coordinates, which is what I want to use for
> plotting contours, lines, etc. The (unrunable) code below
> does give me a plot showing the photo, color contours,
> contour lines, and colorkey, but not the plot title or axes.
> How can I get the title and axes to appear?
Nevermind, I figured out that all I needed was to add the statement
par(new=T) before plot(photo).
More information about the R-help