On 07/28/2011 04:00 PM, hitendra padalia wrote:
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.
Hi Hit
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/Eng
Perhaps:
for(i in 2:4) plot(g[c(1, i)])
On Wed, Oct 22, 2008 at 8:56 PM, stephen sefick <[EMAIL PROTECTED]> wrote:
> #this does what I want is there a better way to do this
> a <- c(1:26)
> b <- rnorm(26)
> e <- rnorm(26)
> f <- rnorm(26)
> g <- data.frame(a,b,e,f)
>
> for(i in 1:3){
> plot(g[,i]
#this does what I want is there a better way to do this
a <- c(1:26)
b <- rnorm(26)
e <- rnorm(26)
f <- rnorm(26)
g <- data.frame(a,b,e,f)
for(i in 1:3){
plot(g[,i]~g[,"a"], ylab=colnames(g)[i])
}
On Wed, Oct 22, 2008 at 6:39 PM, stephen sefick <[EMAIL PROTECTED]> wrote:
> #sorry lets try that ag
#sorry lets try that agian here is data that should work
a <- c(1:26)
b <- rnorm(26)
e <- rnorm(26)
f <- rnorm(26)
g <- data.frame(b,e, a,f)
On Wed, Oct 22, 2008 at 6:35 PM, stephen sefick <[EMAIL PROTECTED]> wrote:
> a <- c(1:26)
> b <- rnorm(25)
> e <- rnorm(25)
> f <- rnorm(25)
> g <- data.fra
a <- c(1:26)
b <- rnorm(25)
e <- rnorm(25)
f <- rnorm(25)
g <- data.frame(b,e, a,f)
I would like to plot a agianst all possibilities and then shoot it out
to a pdf one graph per page. I think it would be okay to have this as
a lattice plot or a ggplot with many graphs per page. I can figure
all
On 3/25/08, Ron Bonner <[EMAIL PROTECTED]> wrote:
> Thanks Henrique - that didn't exactly solve my problem but gave me enough to
> do so!
>
> In your solution each row is plotted as a vertical row of points at the
> value of 'ind' while I wanted to plot the values against the column numbers,
>
Thanks Henrique - that didn't exactly solve my problem but gave me enough to
do so!
In your solution each row is plotted as a vertical row of points at the
value of 'ind' while I wanted to plot the values against the column numbers,
i.e. 1 to 5.
The solution was to create a vector of column numbe
Maybe:
xyplot(values ~ ind|ind, data = stack(split(m, 1:4)))
On 24/03/2008, Ron Bonner <[EMAIL PROTECTED]> wrote:
> Sorry if this is an FAQ, but I haven't found the answer (yet)...
>
> I'm trying to plot each row of a simple numeric matrix in a separate
> panel using the layout features of latt
Sorry if this is an FAQ, but I haven't found the answer (yet)...
I'm trying to plot each row of a simple numeric matrix in a separate
panel using the layout features of lattice, but can't make it work -
help would be appreciated!
Example:
> m <- matrix(seq(1:20), nrow=4)
> m
[,1] [,
10 matches
Mail list logo