Jim, Thanks so much for getting back to me. Axis.mult could definitely work so me although there still appear to be a couple hiccups. I've included a .png file of my plot rather than trying to explain it. I have for explanatory purpose not called to plot with "axes=F". This illustrates that the axis.mult call produces an axis with the proper labels but widens out the axis for some reason. So the overlapping axes are here on purpose just to show the problem.
Here is what I used: filled.contour(contour, axes=FALSE, frame.plot=TRUE, color=terrain.colors) axis.mult(side=1,mult=0.001,mult.label="Width (cm)") So is there any way with axis.mult to produce the axes with the same scale as the original? This is bringing me closer for sure. Thanks again. Sam Jim Lemon-2 wrote: > > On Sat, 2008-08-16 at 14:28 -0700, hippie dream wrote: >> I am still struggling on how edit axes on a filled contour plot. I have >> managed to figure out how to place labels on the key of this graph but >> how >> to place the axes I want on this plot still eludes me. This command >> produces >> the plot I am looking for however as mentioned before these axes only go >> from 0 to 1. >> >> > filled.contour(contour, frame.plot=TRUE, color=terrain.colors) >> >> If I try to set the xlim and ylim the plot itself no longer appears but >> simply the key. Moreover, when I set the limits and add the axes in this >> way >> the axes spill over into the key. >> >> > axis(side=1, at=c(10, 30, 50, 70, 90, 110, 130, 150, 170, 190)) >> >> Is there any way to manually replace the given axis label with one of my >> choosing? That is, the 0 to 1 labels will correspond easily to the labels >> I >> would like to place on the graph. The tick marks are conveniently already >> in >> the right place. For example, can I make 0.6 appear as 100 instead? I >> don't >> really need to change the axis at all but rather just the labels.I have >> spent considerable time trying to figure this out but I am still having >> trouble. Sorry if this is ridiculously simple. >> > Hi Sam, > Are you looking for something like axis.mult in the plotrix package? > > Jim > > ______________________________________________ > R-help@r-project.org mailing list > 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. > > http://www.nabble.com/file/p19021692/test.png test.png -- View this message in context: http://www.nabble.com/Axes-in-filled.contour-plots-tp18897760p19021692.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.