# [R-sig-Geo] Problem with the scale of the Y-axis in the function points.geodata

Edzer Pebesma edzer.pebesma at uni-muenster.de
Tue Oct 28 18:05:29 CET 2008

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.
>
>
>
>
> Céline
>
>
> Here is the code :
> >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 at 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 at wwu.de