Displaying 8 results from an estimated 8 matches for "gray10".
2010 Feb 07
4
x-axis plot problem
...ot;)
model<-data.frame(F,M,P,B)
row.names(model)<-c("Jul07","Aug07","Sep07","Oct07","Nov07","Dec007")
model
par(mgp=c(2, 1, 0),bty="o" )
matplot(model, pch = c(1,22,17,16), type = "o",lty=c(2,2,2,5), col
=c("gray10"," gray10","gray10","gray10"),xlab="Month-Year",ylab="Zinth",
xaxs = "i", yaxs = "i",main="Model Output")
legend("topleft", legend = c("F", "M","P","B"),text.width...
2012 Nov 30
3
(no subject)
..., data=ordinate)
abline(v=0,h=0)
par(new=TRUE)
# Define cars vector with 8 values
cars <- c(1,1,1,1,1,1,1,1)
# Define colors in each sector
color1 <- c("grey80","grey80","grey80","grey80","gray80","grey30","grey20","gray10"
) ## gray10=<0.0001, gray20<0.001, gray30<0.01, gray40=<0.05, gray
80=>0.05
# Putting sector levels
car_labels <- c(1,2,3,4,5,6,7,8)
car_labels <- paste(car_labels,sep="")
# Create a pie chart with defined heading and custom colors
# and labels
pie(cars, main=...
2009 May 24
2
help with replacing factors
Hi,
In the example dataset below - how can I cahnge "gray20", to "blue"
# data
black <- rep(c("black","red"),10)
gray <- rep(c("gray10","gray20"),10)
black_gray <- data.frame(black,gray)
# none of this desperate things works
# replace(black_gray$gray, gray=="gray20","red")
# if(black_gray$gray=="gray20"){black_gray$gray<-"blue"}
# for (i in
black_gray$gray)if(black_gray...
2009 Oct 26
1
Unable to get Legend with survplot rms package
Hello,
I apologize for the post as I am certainly overlooking a simple
solution to my difficulties with getting a legend to print on a
survplot from the rms package.
I am plotting the following:
survplot(survest(fita), n.risk=T, conf='none', cex.n.risk=.85, dots=T,
col='gray10', lty=2)
survplot(survest(fit), n.risk=F, conf='none', add=T)
survplot(survest(fitb), n.risk=F, conf='none', col='gray20', add=T,
lty=4)
I have tried to place 'label.curves=list(method="arrow", cex=.8)' and
others as suggested in ?survplot in any and a...
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
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:
2000 Feb 29
0
mapping of colornames into hsv: half way done
...quot;#080808",
"gray4", "#0A0A0A",
"gray5", "#0D0D0D",
"gray6", "#0F0F0F",
"gray7", "#121212",
"gray8", "#141414",
"gray9", "#171717",
"gray10", "#1A1A1A",
"gray11", "#1C1C1C",
"gray12", "#1F1F1F",
"gray13", "#212121",
"gray14", "#242424",
"gray15", "#262626",
"gray16", "#292929&q...
2012 Aug 27
2
Font size in geom_dl (using ggplot2)
Hey everyone,
I am an R-newby... so sorry for bothering you with simple-to-solve
questions;) I have the following issue: trying to add labels to my
scatterplots (with geom_dl in ggplot2). Everything works fine, but after
checking every resource I do not find a way to change the font size of my
labels. I tried size, cex, fontsize at every position... but it always stays
the same.
ggplot()+