search for: mycolour

Displaying 4 results from an estimated 4 matches for "mycolour".

Did you mean: mycolours
2006 Apr 27
1
losing x-label when exporting to PNG
...quot;Moosonee", "Ottawa", "Montr?al", "Saskatoon") # Here we are setting the font to Bold and addin some lines to the bottom # margin of the graph, 6 vs default of 5, to give us more room with the angled # labels. par(font=2,mar= (c(6, 4, 4, 2) + 0.1)) Mycolours <- c("red", "blue", "green", "yellow", "orange" ,"purple") # --------------plot to screen -------------------------------------- mp <- barplot(Groups, beside=T , horiz=F , las=1, ylim=c(0,60), axisnames=F, font.lab=2, col=My...
2010 Nov 23
1
specifying colours in a ggplot2 piechart
...don't seem to be able to use manually assigned colours. Can anyone suggest where I'm going wrong? Thanks =================================================================== library(ggplot2) mypie <- data.frame(xx = c(12,13,6,7,9,10,4, 3, 8, 6, 8, 4, 6,5,2,3), zz = letters[1:16]) mycolours <- c(a = "red", b = "blue", c = "green", d = "orange", e = "red", f = "blue", g = "geen", h = "orange", i = "red", j = "blue", k = "green", l = "orange", m = "red&quo...
2008 Sep 25
2
ggplot, qplot in loop
Dear List, yes, me again trying to work with qplot ;-) I would like to make several single plots within a loop, like this (simplified and so on...): trials <- c("A","B","C") mycolours <- ("wheat","darkolivegreen","lightgreen", "khaki","darkseagreen","orange","chocolate4","gray75") for (i in 1:length(trials)) { sql <- paste("select trial, cover_of, dateofsurvey, cover from mytab...
2008 Sep 24
1
qplot, stacked area, own colourscheme
...t;, "saddlebrown") mycolors <- rep(mycolorscheme,3) myplot <- qplot(dateofsurvey, wert, data=mydata, geom="area", fill=cover_of, main = "Development of cover, ZU-316", ylab="projective Cover[%]", xlab = "Year") myplot + geom_area(colour = mycolours) What am I doing wrong? Thank you in advance, Albin -- | Albin Blaschka, Mag.rer.nat. | Etrichstrasse 26, A-5020 Salzburg | * www.albinblaschka.info * www.thinkanimal.info * | - It's hard to live in the mountains, hard but not hopeless!