Skip to content
Back to formatted view

Raw Message

Message-ID: <1343653942907-7580633.post@n2.nabble.com>
Date: 2012-07-30T13:12:22Z
From: Giuseppe Calamita
Subject: a question on lattice contourplots
In-Reply-To: <5013D1EE.2080409@ifg.uni-tuebingen.de>

Martin Ivanov wrote
> 
> ....
> As an alternative, is it possible to fill the regions between the 
> contour lines in the following plot:
> levelplot(volcano, at=heights, col.regions=terrain.colors(6), 
> contour=TRUE, region=FALSE)
> without plotting the contourlines themselves?
> ...
> 
well, regarding your last question , you just have to change the parameters
of levelplot() function: if you read them, they "speak" clearly ;) : if you
don0t want contourlines switch contour parameter to False, and if you want
your regions to be coloured switch the region parameter to T
try
levelplot(volcano, at=heights, col.regions=terrain.colors(6), contour=F,
region= T)

this should work,







-----
Giusepep Calamita
PhD italian National Council of Research - Institute of Methodologies for Environmental Research CNR - IMAA
85050 Tito Scalo - Potenza - Italy 

--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/a-question-on-lattice-contourplots-tp7580626p7580633.html
Sent from the R-sig-geo mailing list archive at Nabble.com.