search for: mypal

Displaying 5 results from an estimated 5 matches for "mypal".

Did you mean: mypar
2008 Feb 24
0
Color of CI bars in Hmisc::Dotplot()
Dear R-helpers, (1) I can't figure out how to tell Dotplot that I want the colors of the CI bars to be the same as the colors of the dots. For example: t2a.ci3 <- data.frame(est = c(7, 20, 75), lower = c(-9, 0.5, 42), upper = c(22, 39, 109)) mypal <- c('skyblue3', 'mistyrose3') condNames <- c('noise', 'horn', 'marimba') Dotplot(1:2 ~ Cbind(est, lower, upper), data = t2a.ci3, scales = list(y = list(at = 1:2, labels = condNames)), ylab = '', xlab = 'rated duration', aspect = 0.2,...
2012 Oct 04
3
Problem with colors in contour plot
Dear R users, I have a 51 by 51 matrix of p-values (named as pvalue_MA). I want to present graphically this matrix in a plot (filled contour plot) where both axes represent probabilities. I have also added a grid in this plot. I want to highlight in white the cells of the grid that represent p-values smaller than the (common) significance threshold, 0.05. The code from this plot is colored in
2008 Apr 16
0
Don't understand error-message (from lattice, I think)
> mypal <- trellis.par.get('superpose.line')$col[1:2] > mycol <- mypal[1] > trellis.par.set(list(dot.symbol = list(pch = 16, cex = 1.5))) > dotplot(1:6 ~ audRating, data = txtA.ci, + scales = list(y = list(at = 1:6, labels = txtA.ci$pitchAud, col = 'black', cex = 1.1)),...
2011 Feb 11
2
Using filled.contour and contour functions together
...t;- seq(1, as.numeric(as.Date(max(NEdaily[[1]])) - as.Date(min(NEdaily[[1]]))), 1) yNE <- rev(c(-0.3, -0.5, -0.7, -0.9, -1.1, -1.4, -1.7, -2, -2.5, -3, -4, -5, -7, -9, -10)) zNE <- mirror.matrix(as.matrix(NEdaily[1:(nrow(NEdaily)-1),2:length(NEdaily)])) filled.contour(xNE,yNE,zNE , col = myPal(20) , zlim = c(-20,20) , ylab = "Depth [m]", , xlab = paste("Days since ", as.Date(min(NEdaily[[1]]), format ="%d.%m.%Y")) ) contour(xNE,yNE,zNE, lty = 3, add = T) contour(xNE,yNE,zNE, nlevels = 1, level = 0, add = T, lwd = 1.5) I get this graph ( http://r.7896...
2014 Sep 04
1
gplot heatmaps: clustering according to rowsidecolors + key.xtickfun
...s now, can i combine the two features that the clustering/reordering is done only for submatrices defined by the vectors given in rowsidecolors (so, in this case, that the original ordering by bacterial taxa is preserved)? That would be very amazing. 2. I have set my own coloring rules with: mypal <- c("grey","blue", "green","yellow","orange","red") col_breaks = c(seq(0,74.9), seq(75.0,78.4), seq(78.5,81.9), seq(82.0,86.4), seq(86.5, 94.5), seq(94.5,100.0)) Is it possible to pass this sequential ordering to key.xtickfun? May i...