Displaying 4 results from an estimated 4 matches for "myimageplot".
2008 Oct 27
1
Problem with script
...in R, I don?t even have a
line like that :-|
Error in if (random_matrix[x_list[random_sq] - 1, y_list[random_sq]] == :
missing value where TRUE/FALSE needed
the script is this:
# ______________
# ----- Define a function for
plotting a matrix ----- #
myImagePlot <- function(x, ...){
min <- min(x)
max <- max(x)
yLabels <- rownames(x)
xLabels <- colnames(x)
title <-c()
# check for additional function
arguments
if( length(list(...)) ){
Lst <- list(...)
if( !is.null(Lst$zlim) ){...
2011 Jul 28
1
plotting matrix into 2D color plots with rainbow colors
Dear all,
Can you pl. help me in plotting a matrix into 2D plot with more color
options. I tried to plot with myImagePlot with
RGB color ramp but it shows limited variation in color. There is a rainbow
plot option also. Can anyone help me.
Regards,
Hitendra
--
Hitendra Padalia, PhD
Scientist/Engineer 'SD'
Regional Remote Sensing Centre-North, NRSC
Indian Space Research Organisation
4-Kalidas Road, IIRS Campu...
2011 Feb 04
1
Adding axes label to image
..., adding axes labels proved difficult for me . I have
succeeded in adding a few things to the plot function so as to get what a
better plot. Other things work but ylab="days" did not reflect.
It will be great if somebody can advice on how to add axes labels to the
plot.
Regards
Ogbos
>myImagePlot(a[1:16,1:4],yLabels=c(-5:10),xLabels=c("global","Lat25","Lat60","Lat60neg"),title=c("SEA
of lightning"),ylab="days")
[[alternative HTML version deleted]]
2008 Oct 27
1
Problem with script,
I?m sorry, in my last email I forgot to attach the data I?m using wich
is a matrix of 175x175 filled with 0?s and 1?s
0 is the sea
1 is the continental land
The script is area.r
Thank you very much.
Carlos L?pez
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
An embedded and