Displaying 5 results from an estimated 5 matches for "plotmap".
2006 Feb 10
1
the proper way to use panel functions in lattice package?
Hi,
I was trying to stack a topographic map readed in from esri shapefile with a
contour map and a vector map. However, the plotMap(maptools) and
contourplot(lattice) do not seem to work well on top of each other. Here is
part of my code.
xrange<-range(225000:350000)
yrange<-range(2685000:2810000)
basemap <- read.shape("Twn25_town_dxf_Polygon.shp")
plot.Map(basemap,xlim=xrange,yli...
2010 Jul 15
4
Sweave: infelicities with lattice graphics
In a paper I'm writing using Sweave, I make use of lattice graphics, but
don't want to explicitly show (or explain)
in the article text the print() wrapper I need in code chunks for the
graphs to appear.
I can solve this by including each chunk twice, with different options,
as in
<<ortho-xyplot1-code, keep.source=TRUE, eval=FALSE>>=
library(nlme)
library(lattice)
2011 Aug 16
1
PBSmapping, where is Ireland?!
...my own
from the GSHHS files.
The only problem is this PolyData does not seem to include Ireland. I have
no idea why this should be so, other European islands such as Sardinia etc.
are included. http://r.789695.n4.nabble.com/file/n3747120/map1.jpeg
The code I've been using is:
data(worldLL)
plotMap(worldLL, polyProps=NULL, xlim=c(-20,36.5), ylim=c(30,71),
projection=1, plt=c(0.16, 0.97, 0.16, 0.97) ,col=0,bg=0)
Any help would be appreciated,
Cheers,
Ewan
--
View this message in context: http://r.789695.n4.nabble.com/PBSmapping-where-is-Ireland-tp3747120p3747120.html
Sent from the R help m...
2010 May 07
0
Problems with image.plot
...put legend in linear scale, but I
want put this in log scale. This is a image of the ocean color web site
8-day composite L3 4KM. Anybody colud get me advise please.
This is de code...
uno<-schl[1,,]
rn_cl<-exp(range(uno,na.rm=T))
x11()
par(mgp=c(-2.7,1.5,0),mar=c(5,4.5,5,5.8),cex.axis=2.5)
plotMap(worldLLhigh,xlim=c(286,292),ylim=c(-32,-18),proj="LL",tckLab=F,tck=-.04,col=rgb(255,255,160,max=255),xlab="",ylab="",plt=NULL,axes=F)
image(lon+360,lat,uno,col=tim.colors(50),add=T,zlim=log(rn_cl))
addPolys(worldLLhigh,col=rgb(255,255,160,max=255))
ax1<-seq(286,292,...
2007 Aug 10
1
Unexpected behavior in PBSmapping package
Using R 2.5.1 on Windows XP Professional, and PBSmapping package version
2.51, I have encountered some behavior which puzzles me. I am including
the package's listed maintainer on this email but also seek the thoughts
of the R-help community.
I have a set of EventData, which I want to plot as points, and to color
the points according to some criterion. It turns out that some of my