Hello !

Tanks for your help, I've tried this but, I have still the same problem. 

If I put ylim in the points.geodata function I have got a warning message :
>points.geodata(Geodonnées,ylim=c(1963367,1966367))
Erreur dans plot.default(toplot, type = "n", xlim = coords.lims[, 1], ylim = coords.lims[,  : 
  argument formel "ylim" correspondant à plusieurs arguments fournis

If I do :
>plot(Geodonnées,ylim=c(1963367,1966367))
It doesn't change the scale of the Y-axis

And if I do :
>plot(Geodonnées,ylim=c(1963367,1966367),xlim=c(815162,827162))
Warning message:
In rug(data) : some values will be clipped

Does exist an another function to do this graph ?

Thanks,
Céline




----- Message transféré ----
De : Edzer Pebesma <edzer.pebesma@uni-muenster.de>
À : Jouanin Celine <celine_jouanin@yahoo.fr>
Cc : R-sig-Geo@stat.math.ethz.ch
Envoyé le : Mardi, 28 Octobre 2008, 18h05mn 29s
Objet : Re: [R-sig-Geo] Problem with the scale of the Y-axis in the function points.geodata

consider adding ylim=c(1963367, 1966367) to the plot command?
--
Edzer

Jouanin Celine wrote:
>
> Dear RSig,
>
> I have got some problems with the function points.geodata. I would 
> like to change the scale of the Y-axis, and obtain a graph with the y 
> coordinates from the minimum =1963367 and maximum = 1966367.
> Is it possible to change the Y-axis  in the graphics ?
> I give you the graph I obtained with the R code, as you can see it’s 
> difficult to distinguish each values of each points.
>
>  
>
> Tanks for your help,
>
> Céline
>
>
> Here is the code :
> >Données<-read.table("Data8_8.txt",h=T)
> >library(geoR)
>
> >i<-104
> >Données[i][is.na(Données[i])]<-0
> >Geodonnées<-as.geodata(Données,coords.col=190:191,data.col=i)
> >summary(Geodonnées)
> Number of data points: 127
>
> Coordinates summary
>       XGPS    YGPS
> min 815162 1963367
> max 827162 1966367
>
> Distance summary
>      min      max
>   250.00 12209.12
>
> Data summary
>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
>   0.000   0.000   0.000   4.331   1.000 118.000
>
> > plot(Geodonnées)
> > points.geodata(Geodonnées,xlab="",ylab="",col="grey",pt.divide="rank.proportional"
> + ,las=1,cex.lab=0.65,cex.axis=0.65,mgp=c(3.2,0.55,0.5))
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>  

-- 
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.springer.com/978-0-387-78170-9 e.pebesma@wwu.de


      
	[[alternative HTML version deleted]]


