Displaying 3 results from an estimated 3 matches for "matrixtoplot".
2007 Apr 25
1
barchart producing incorrect number of barcharts when columns renamed
...ps[roi.stops[,"Group"]=="short", 2]
# long
roi.stops.long<-roi.stops[roi.stops[,"Group"]=="long", 4:length
(roi.stops)]
roi.stops.long.subjects=roi.stops[roi.stops[,"Group"]=="long", 2]
#matrixToPlot=as.matrix(roi.errs.ctrl[1:5,])
#yylim=c(floor(min(matrixToPlot)), ceiling(max(matrixToPlot)))
#barplot(matrixToPlot, col=c(2:6), beside=T, ylim=yylim,
names.arg=colnames(roi.errs.ctrl),
# border=c(2:6), legend.text=roi.errs$Subject[1:5])
roi.errs.ctrl.matrix=as.matrix(roi.errs.ctrl)...
2013 Feb 25
1
ggplot2 Increase font size
Dear all,
I am using the code as below
tdm <- melt(matrixToPlot)
p<- ggplot(tdm, aes(x = Var2, y = Var1, fill = factor(value))) +
labs(x = "Mz", y = "T", fill = "D") +
geom_raster(alpha=1) +
scale_fill_discrete(h.start=1) +
scale_x_continuous(expand = c(0...
2013 Feb 14
2
Plot a Matrix as an Image with ggplot
Dear all,
I am trying to plot a matrix I have? as an image
str(matrixToPlot)
?num [1:21, 1:66] 0 0 0 0 0 0 0 0 0 0 .
?that contains only 0s and 1s,
where the xlabel will be Labeled as
str(xLabel)
?num [1:66] 1e+09 1e+09 1e+09 1e+09 1e+09 ...
and the yLabels will be labeled as
str(yLabel)
?num [1:21] -88 -87 -86 -85 -84 -83 -82 -81 -80 -79 ...
I have found on the in...