search for: gray50

Displaying 16 results from an estimated 16 matches for "gray50".

Did you mean: gray10
2012 Nov 06
3
Survplot, Y-axis in percent
...ot;n" without any results. Any help in this matter will be appreciated. The code is posted below: par(mfrow=c(1,1)) fit <- survfit(Surv(revreg$Tcuprev , revreg$Rcup_n_j_n)~revreg$RAceGrp_1Maz) fit survplot (fit, col=c("gray1","gray40"), lty=1, lwd = 1, col.fill=c("gray50","gray80"), mark.time= T, conf="bands" , conf.int=.95, add=F , xlim=c(0, 20) , time.inc = 4, ylim=c(0.5, 1), xlab="Years Postoperative" , ylab="Cumulative Survival Probability" , label.curves=F , ab...
2010 Aug 09
1
Different colour in each bar in lattice package
...tratP3", "tratT3", "tratPl3", "tratTN4", "tratO4", "tratP4", "tratPl4", "tratT4"), class = "data.frame") library(lattice) dados$Yvar <- as.factor(dados$Yvar) with(dados,barchart(Medias*100~trat|Yvar,col="gray50")) -- 10ª lei - Seu orientador espera que a sua produtividade seja baixa inicialmente e esteja acima da média após um ano. --Herman, I. P. 2007. Following the law. NATURE, Vol 445, p. 228. > Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e C...
2011 Jun 24
1
try to generate graph for each element of my list
...olate4", "BlueViolet", "Yellow3") chart.TimeSeries(x, type="l",lwd=5, ylab="", xlab="", main="", date.format="% Y", ylim=yrange, col=colori, cex.axis=1.6, major.ticks="years", minor.ticks=FALSE, grid.color="gray50", grid.lty="dotted") legend("topleft",as.character(legenda$PAESE),bty="n",cex=1.7,lwd=5, ncol=2, col=colori, horiz=F) mtext("Fonte: Unctad, Pctas", side=1,line=5,adj=1,cex=1.8,col="grey20") mtext(p, side=1,line=5,adj=0,cex=1.5,col="grey1...
2010 Jun 23
1
Plotting Data on a Map
...gt;>Using the same commands on both Mac and Windows, I found that the polygon borders are plotted on the Mac, but not on Windows, so on the Mac I see the country borders, but on Windows I do not. On the Mac, it looks like the default for geom_polygon is something like size = 0.01, colour = "gray50". On Windows, it's more like colour = alpha("gray50", 0), though in fact the visibility of polygon borders seems to be independent of both the size and colour settings. >>> >>> >>>Regards, >>> >>> >>>Tom >>> >>&...
2006 Nov 27
1
x axis on sciplot
Is it possible to format the x axis, so that days are spaced proportionately? i.e. a larger space between 50 & 100, than 0 and 5? Have not had any luck with axis.POSIXct(). Many thanks Murray try <- structure(list(visit = structure(as.integer(c(1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5)), .Label = c("Screening", "0",
2008 Oct 02
1
Shadowed Plot
...dat) plot(Time, Y, type="n") subjects <- unique(Id) dark <- subjects %in% sample(subjects, 3) for (subject in subjects){     which <- subject == Id     lines(Time[which], Y[which], pch=as.character(subject), type="b", col=if(dark[subject]) "black" else "gray50")     }   Thanks. [[alternative HTML version deleted]]
2012 May 09
12
Matrix heatmap
I would like to organize my data as follows: I have a table that contains various data, and the numbers represent a level of similarity between these data, eg RF00013 has 100% similarity with the data RF00014. I would leave my table as a heatmap where darker colors represent higher similarity, and the lighter colors represent less level of similarity. I'm using version 2.11 of R. these
2006 Jun 28
0
superimposing histograms con't [Broadcast]
...one again, so I never went back to really clean it up. It works by first plotting both sets of rectangles, then going back over the ones that had the first bar totally covered by the second. Hope this helps, Matt Wiener "f.back.front.hist" <- function(breaks, x1, x2, col1 = "gray50", col2 = "white", lwd = diff(range(mids))/20, xlab = "", ylab = "", leg.text = NULL, ...){ if(length(x1) != length(x2)) stop("x1 and x2 must have same length") if(length(x1) != length(breaks) - 1) stop...
2011 Aug 15
2
plotting segments only and in color
Hello, I've a question concerning the display of interval data. A sample dataset where X is an interval between Xa and Xb which should be displayed: Y=c(15,14,23,18,19,9,19,13) Xa=c(17,22,21,18,19,25,8,19) Xb=c(22,22,29,34,19,26,17,22) X = (Xa+Xb)/2 It's easily possible to plot the mean of the interval like: plot(X,Y) afterwards I can create lines for the interval with:
2010 Feb 25
4
different types graphs
>library(RODBC) >ch<- odbcConnect("durga") > sqlQuery(ch, paste("SELECT * from emp")) >sqlQuery(ch, ("SELECT * from xyz")) store revenue year_y 1 bigbazar 787875 2008 2 more 87876 2008 plot(revenue ~ year_y, data=xyz, pch=16) can i get any diffrent types of graphs like pie charts, bar
2012 Oct 22
0
Lattice to ggplot2: Reference graphics across facets
...) medians$x <- as.numeric(medians$time) # Structure, including reference lines panel.grid(-1, 0) panel.abline(v = c(2.5, 7.5), col = trellis.par.get('reference.line')$col) if(current.row() == 2) panel.abline(h = 0, col = 'gray50') # Add placebo quantile reference with(medians, panel.polygon(c(x, rev(x)), c(h1, rev(h2)), col = 'gray80', border = NA, alpha = 0.75)) # Basic bar and whisker plot panel.bwplot(..., subscripts = subscripts) # Add placebo median refe...
2009 May 16
2
Question about barplot: gridlines & value labels
Hello! I promise I looked into help files before asking. Still cannot figure it out. I think it's because I am totally confused what packages use lettice, which use trellis, etc. Sections 1 and 2 below produce the data and the data to plot. My question is about barplot in Section 3. I am trying to: 1. add only horizontal gridlines and manipulate the type and color of that line. tck = 1 is not
2012 Feb 19
2
barplot with more than 1 variable
Dear R listers, I am trying to produce a simple (for a stata user) barplot with 4 countries on the x axis, each country observed in 2 subsequent years and 3 variables. Basically, I should have three bars for each year for each country. I am attaching the chart I made in Stata, but I am not sure you'll manage to see it! I did the following: #here I create the data-set TUSE2. The vectors mw, st
2010 Sep 16
3
Help with customizing a histogram figure
Hi all, Please consider the following code: require(plotrix) l <- list(rnorm(50),rnorm(50,sd=2),rnorm(50,mean=3)) multhist(l) I have two things I need help with: (1) In the output, there are empty spaces on the x-axis. How would I eliminate these spaces? I want a nice, smooth, empty-spaceless x-axis. (2) How could I add tracing lines to each histogram? I am undoubtedly using the wrong
2018 May 21
3
draw borders of bars inside of the rectangles in a barplot
Dear R-users, I want to draw a barplot with beside=TRUE. One halve of the bars are drawn with a border, while the other halve are drawn without a border (i.e. filled bars vs. non-filled bars next to each other). Because borders are drawn around the bars, doing this leads to one halve of the bars being wider than the other halve, expanding across the 0-point of the y-axis. This problem emerges
2000 Feb 29
0
mapping of colornames into hsv: half way done
...6E6E6E", "gray44", "#707070", "gray45", "#737373", "gray46", "#757575", "gray47", "#787878", "gray48", "#7A7A7A", "gray49", "#7D7D7D", "gray50", "#7F7F7F", "gray51", "#828282", "gray52", "#858585", "gray53", "#878787", "gray54", "#8A8A8A", "gray55", "#8C8C8C", "gray56", "#8F8F8F&q...