search for: lightgreen

Displaying 20 results from an estimated 29 matches for "lightgreen".

2009 Mar 10
1
North Arrow (.png file) on a Map
...=F,width=3.5 ,height=4.5,bg=''white'',pointsize=3) par(mar=c(3,2,2,0)) map(''worldHires'',''brazil'',ylim=c(23.9,20.3),xlim=c(42.1,39.2),type=''n'') plot(Faciologia,ylab='''',xlab='''',col=c(''lightgreen'',''lightgreen'',''lightgreen'' ,''lightgreen'',''lightgreen'',''lightgray'',''lightgray'',''lightgray'',''lightgray'','' lightgray'',''lig...
2015 Jun 16
4
Ayuda boxplot ggplot2
...a 60? Adjunto el boxplot y a continuación el código que usé para producirlo. vplayout <- function(x, y) viewport(layout.pos.row = x, layout.pos.col = y) tor<-ggplot(parasitos, aes(x=Arrenurus, y = torax, fill= Arrenurus)) + geom_boxplot(binwidth = 2) + scale_fill_manual(values = c("lightgreen", "lightblue"))+ ylab("Total parásitos")+ xlab("")+ ggtitle("Parásitos en el tórax") abd<- ggplot(parasitos, aes(x=Arrenurus, y = abdomen, fill= Arrenurus)) + geom_boxplot(binwidth = 2) + scale_fill_manual(values = c("lightgreen", &quo...
2007 Nov 05
1
Help with Error Message
...22, # ALL-B + "steelblue", 22, # ALL-T + "red", 22, # AML + # test samples: cicle symbols + # color symbol phenotype + "lightgreen", 21, # ALL-B + "lightblue", 21, # ALL T + "orange", 21, # AML + ) Error: element 12 is empty; the part of the args list of 'c' being evaluated was: (22, "steelblue&qu...
2012 Feb 28
1
Dotplot edition
...ure of the plot in R graph Gallery: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=150 thanks in thanks is advance José Mi code is this: ### setup the key k <- simpleKey( c( "Perdidas ",  "Contestadas" ) ) k$points$fill <- c("lightblue", "lightgreen") k$points$pch <- 21 k$points$col <- "black" k$points$cex <- 1 cliente100RD<- cliente100[order(cliente100$porc_perd),] ### create the plot dotplot( rownames(cliente100RD) ~ perdida + contestada , data = cliente100RD, horiz = T,  main="Llamadas Enero 2012: RM",...
2017 Jun 01
2
Question on function "scatterplot3d"
...mpg). It does not seem to work. Hope to get some advice here. Thanks much! Hanna C <- runif(30) B <- rep(1:3, each=10) A <- rep(1:10,3) scatterplot3d(B,A,C, type = "h", lwd = 1, pch = 16, color="red", main = "", grid=TRUE, col.grid="lightgreen", xlab="x", ylab="y", zlab="z") [[alternative HTML version deleted]]
2011 May 19
1
Pie chart
...e chart and the names of the levels are outside the circle. How do I put the names of the levels within each sector? names(tab13) = paste(c('Regular', 'Bom', 'Excelente'), round(100*prop.table(tab13), dig=1), "%") pie(tab13, col=c("LightYellow", "lightgreen", 'lightblue', 'white'), clockwise=F, radius=.7) Thanks, -------------------------------------- Silvano Cesar da Costa Departamento de Estat?stica Universidade Estadual de Londrina Fone: 3371-4346
2012 Mar 19
1
Dotplot: how to change size in the y lab ?
...ce does not order bank names alphabetically d$bank <- ordered( d$bank, levels = d$bank ) ### load lattice and grid require( lattice ) require( grid ) ### setup the key k <- simpleKey( c( "Q2 2007", "January 20th 2009" ) ) k$points$fill <- c("lightblue", "lightgreen") k$points$pch <- 21 k$points$col <- "black" k$points$cex <- 1 ### create the plot dotplot( bank ~ MV2007 + MV2009 , data = d, horiz = T, par.settings = list( superpose.symbol = list( pch = 21, fill = c( "lightblue", "lightgreen"), cex = 4, col = &q...
2017 Jun 01
2
[FORGED] Re: Question on function "scatterplot3d"
...much! >> Hanna >> >> C <- runif(30) >> B <- rep(1:3, each=10) >> A <- rep(1:10,3) >> scatterplot3d(B,A,C, type = "h", lwd = 1, pch = 16, color="red", main = >> "", >> grid=TRUE, col.grid="lightgreen", >> xlab="x", ylab="y", zlab="z?) > > Everything seems ok to me. Try to reset/clear all plots in your plotting window and try only to run the code above. Perhaps You changed par settings before in some point? I tried the code given above,...
2006 May 23
1
shapes in rgl
...model results using "lollipops". Its just a bit of fun, but as many of the trees are pines I would like to depict their crowns as cones. If there is a solution I need it to work under windows. Here is the example. library(rgl) library(misc3d) Trees3d<-function(x,y,z,rad,cols="lightgreen"){ rgl.bg(color="white") rgl.spheres(x,(z-rad),-y,rad,col=cols,alpha=1) x<-rep(x,each=3) y<-rep(y,each=3) z<-rep(z-rad*2,each=3) a<-seq(3,length(x),by=3) y[a]<-NA x[a]<-NA z[a]<-NA a<-seq(1,length(x),by=3) z[a]<-0 lines3d(x,y,z,col=&...
2007 Sep 17
3
Histogram with colors
...mple way to plot a histogram with colors? For example, suppose I generate random points in the N(2,1) distribution: x <- rnorm(100000, mean = 2, sd = 1) Now I would like to plot the histogram: hist(x) but I would like to show the bars with x < 0 in red, and the bars with x >= 0 in lightgreen. Is there any simple way to do it? I think I can do it in two steps: x.hist <- hist(x, plot=FALSE) plot(x.hist, col=c(rep("red", 5), rep("green", 12))) but maybe a more direct way is available. Alberto Monteiro
2017 Jun 01
0
Question on function "scatterplot3d"
...e to get some advice here. Thanks much! > Hanna > > C <- runif(30) > B <- rep(1:3, each=10) > A <- rep(1:10,3) > scatterplot3d(B,A,C, type = "h", lwd = 1, pch = 16, color="red", main = > "", > grid=TRUE, col.grid="lightgreen", > xlab="x", ylab="y", zlab="z?) Everything seems ok to me. Try to reset/clear all plots in your plotting window and try only to run the code above. Perhaps You changed par settings before in some point?
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 mytable where trial = '",trials[i],"' mydata <- (...
2023 Feb 15
0
Question about italics in legendg() - plotrix
...t;Galago senegalensis"), pch=list(c(15,0),c(16,1),c(17,2),c(18,5),c(19,10)), col=list(c("royalblue","skyblue1"), c("chocolate","gold"),c("deeppink","lightpink"), c("black","grey"),c("forestgreen","lightgreen"))) par(font=1) legendg(0.45,-0.7,legend=c("Pan troglodytes","Macaca mulatta", "Saguinus oedipus","Lemur catta","Galago senegalensis"), pch=list(c(15,0),c(16,1),c(17,2),c(18,5),c(19,10)), col=list(c("royalblue","skyblue1")...
2006 May 02
1
Math expressions in pie chart labels?
...llo, trying to get something like this to work and am failing: pie( c(length(strongN14),length(weakN14),length(weakN15),length(strongN15),length(ambiguous)), labels = c(>= 0.66, >= 0.33, <= -0.33, <= -0.66), col = c("#9999FF","#0000CC","#009900","lightgreen","white") ) Can't figure out a way to display the 'greater or equal' ... signs properly. I'm thankful for any prodding into the right direction. Joh
2013 Jan 22
1
how to give a lengend in symbols functions
hi Rusers I am trying to use symbos in gtools package symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen") Now I want to give a lengend to tell the reader the meaning or magnitude of these circle. How can I add these information in symbols plot just like legend in plot ? thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HT...
2017 Jun 01
0
[FORGED] Re: Question on function "scatterplot3d"
...;>> >>> C <- runif(30) >>> B <- rep(1:3, each=10) >>> A <- rep(1:10,3) >>> scatterplot3d(B,A,C, type = "h", lwd = 1, pch = 16, color="red", main = >>> "", >>> grid=TRUE, col.grid="lightgreen", >>> xlab="x", ylab="y", zlab="z?) >> >> Everything seems ok to me. Try to reset/clear all plots in your >> plotting window and try only to run the code above. Perhaps You >> changed par settings before in some point? &...
2008 Sep 24
1
qplot, stacked area, own colourscheme
...over open soil" => brown ...), but I did not get it so far. I tried several variations with area_geom, scale_manual but without success... For example (which does not work, it just shows the standard colourscheme): mycolorscheme <- c("khaki", "darkgreen", "lightgreen", "yellow", "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") mypl...
2010 Jul 05
4
Data Labels in a barchart (Lattice or otherwise)
Hi, Can anyone please help me with how I could add labels with the value for each bar in a barchart? (similar to how data labels can be added in Excel) I have done a lot of searching but havent been lucky. Thanks, Raoul -- View this message in context: http://r.789695.n4.nabble.com/Data-Labels-in-a-barchart-Lattice-or-otherwise-tp2278027p2278027.html Sent from the R help mailing list archive at
2012 May 08
1
There must be a better way to do this
I made this rather cool plot which I am quite pleased with: http://brainimaging.waisman.wisc.edu/~perlman/data/BeeswarmLinesDemo.pdf However, I feel there must be a better way to do it than what I did. I'm attaching the code to create it, which downloads the data by http so it should run for you if you have the current version of beeswarm installed (which was just updated today,
2007 Jan 04
3
problem with plot() and POSIXt dates
Hy all, I'm plotting graphs using plot() function, they are on X axes POSIX dates: "POSIXt" "oldClass" "POSIXct" "POSIXlt" I can't figure out why sometimes it prints the month and days and sometimes it prints the unix timestamp. It appens usually when the xlim is short like only some days. xlim is settled as a POSIXt like this "2006-12-30