Hi Paulo,

try this:

x<-x[,dim(x)[2]:1]
cheers

milton
On Tue, Jul 21, 2009 at 5:53 AM, Paulo E. Cardoso <pecardoso@netcabo.pt>wrote:

> By converting a SpatialGridDataFrame into a asc object with
>
>
>
> asc.obj <- as.asc(as.matrix(x),xll = 0.5, yll = 0.5)
>
>
>
> the object created have inverted rows. It apparently starts reading from
> bellow, inverting row reading but keeping columns unchanged.
>
>
>
> The result is a flipped image.
>
>
>
> Can this be corrected and how?
>
> ____________
>
> Paulo E. Cardoso
>
>
>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

