Re: [R-sig-Geo] Plotting an image on a stereographic grid orientation

2005-08-12 Thread White . Denis
Here is a script using two functions. I hope this helps. Note that this version of the stereographic projection uses a spherical model of the earth not an ellipsoidal, and is set up for the north polar aspect of the projection, since that appears to be most appropriate for the kind of data you ha

Re: [R-sig-Geo] Plotting an image on a stereographic grid orientation

2005-08-12 Thread Dag Johan Steinskog
Dear Roger and Barry (and rest of you) I need this as soon as possible I think. I am working with climate analysis, and this need is quite urgent in general, not only for me. I will do some testing on the things you have written down, but I feel this is something that should be done. All the b

Re: [R-sig-Geo] Plotting an image on a stereographic grid orientation

2005-08-12 Thread Roger Bivand
On Fri, 12 Aug 2005, Barry Rowlingson wrote: > Dag Johan Steinskog wrote: > > > I would like to have a colour presentation of the data. Before I have > > used the image command to plot a datamatrix when there is no specific > > projection, and I would like to use the image command on this probl

Re: [R-sig-Geo] Plotting an image on a stereographic grid orientation

2005-08-12 Thread Barry Rowlingson
Dag Johan Steinskog wrote: > I would like to have a colour presentation of the data. Before I have > used the image command to plot a datamatrix when there is no specific > projection, and I would like to use the image command on this problem too. > > I hope someone have time to help me. I t

[R-sig-Geo] Plotting an image on a stereographic grid orientation

2005-08-12 Thread Dag Johan Steinskog
Dear all First of all, I am sorry for all inconvinience I am causing you, but I have a problem on plotting some data on stereographic grids. Say I have data given to be (for simplicity): lon<-seq(-180,180,2.5) lat<-seq(50,90,2.5) data<-matrix(rnorm(145*17,sd=10),ncol=17,nrow=145) And this I wan