like abline which will take up the whole
plot region. Then you can adjust the plot region using
pin = c(diff(range(a*x)), diff(range(a*y)))
see ?par
Best wishes,
Mikkel
R] about image() function in R and colors
Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI at
saic.com
Thu Jul 7 14:22:27 CEST 2005
Hi!
I've got a map in R imported from a GIS (GRASS) as a vector of factors.
So I've got 20 different levels in the map and I've created a vector of custom
colors of exactly 20 colors in lenght.
I'm trying to use image() (really plot.grassmeta() that call image()) to plot
the map with those
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of javier garcia
Sent: Thursday, July 07, 2005 7:23 AM
To: R-Help
Cc: [EMAIL PROTECTED]
Subject: [R] about image() function in R and colors
Hi!
I've got a map in R imported from a GIS (GRASS) as a vector of factors.
So I've got 20