Message-ID: <4DD01497.7090707@uni-muenster.de>
Date: 2011-05-15T17:59:51Z
From: Edzer Pebesma
Subject: Help with contour plots
In-Reply-To: <4DCE97DA.9000609@ipimar.pt>
On 05/14/2011 04:55 PM, Cristina Silva wrote:
> Dear all,
>
> I have a SpatialLinesDataFrame with bathymetric lines, built with:
>
> cl <-
> ContourLines2SLDF(contourLines(as.image.SpatialGridDataFrame(prof.grid2["z"]),
> levels=c(50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 2000,
> 3000, 4000)))
>
> This object has all the bathymetric lines. Is there any way to plot some
> of the lines using this object or do I have to build the SLDF with only
> the lines that I want to plot?
well, you can do it in a single pass, using selection; try:
plot(cl[1:3])
>
> Regards,
>
> Cristina
>
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics e.pebesma at wwu.de