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

Jouanin Celine celine_jouanin at yahoo.fr
Tue Oct 28 16:39:16 CET 2008


 
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))


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20081028/511425ff/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Graphic.pdf
Type: application/force-download
Size: 10075 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20081028/511425ff/attachment.bin>


More information about the R-sig-Geo mailing list