Dear s-plus users:
I'm having some difficulty to create a legend of the image I've just
created. I've created an image based on some local statistics to identify
clusters in the areas using, "image" command, "zlim=c(3.12,12.7)"
option(for example). It will plot the areas to exceed 3.12(minimum) up to
12.7(maximum) to form a cluster.
When I use "image.legend" command, I can get some values in the scale of
legend like -5, 5, 10, but these numbers indicate the (value of) color, not
the real numbers I want to use. I'd like to use the local statistic as a
value in the scale. Even the scale changes when I work on the different
computers because it depends on graphic device. I found that the "nint"
option of image.legend controls the numbers somewhat, but only make it
possible to specify the number of intervals. Can anyone help me to change
colors(or values) of the legend or to use the numbers I want ? Any help
would be appreciated.
Daikwon Han
|