Displaying 13 results from an estimated 13 matches for "grey20".
Did you mean:
gray20
2011 Jun 21
2
par code help
...ng a barplot using barplot2 from gplots where each bar
represents a specific tree species. I have formatted the species names
on the x-axis so that the genus name is above the species name and
have then rotated the labels 45 degrees to save room. This is my code:
>columncolor<-c("grey20", "grey20", "grey20", "grey70", "grey70",
"grey70", "grey70", "grey70", "grey70")
>speciesnames<-c("Dialium\nguianensis", "Inga\nalba", "Tachigali
\nversicolor", "Brosim...
2012 Nov 30
3
(no subject)
...,type="p", 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 labe...
2011 Oct 26
1
Using abline in lattice
...4$country)
xyplot(country ~ X1 + X2 + X3 + X4 + X5 + X6 + X7, data=graph4,
xlim=c(0,130),
#scales = list(alternating = 1, cex=1.2),
xlab="",
panel = function (x,y) {
stack=F
groups=country
panel.barchart(x,y,
col=c("grey20","grey100","grey50","grey83","grey33","grey67","grey0"))
panel.abline(v = 20, lty = 2, col = "blue")
}
)
But now I would like to add vertical lines at certain values (20, 40, etc.),
but because I...
2010 Feb 12
1
Need help on boxplot panel chart
...c in each boxplot (i.e., Loc is X axis and
OV value is Y axis). Because there are three SP, I may need total of 12
boxplots to show the changes of OVs with SPs.
However, I met a problem when I used the following R code:
p1 <- ggplot(OV.m, aes(Loc, value, ymin=value, ymax = value,
colour="grey20"))+
+
scale_colour_identity()+facet_grid(variable~.,scales="free",as.table=FALSE)+
+ theme_bw()+opts(panel.margin=unit(0,"lines")
where variable is the title of a column in OV.m (OV.m is melted from OV,
original data table); value is OV value for different SP. After I used...
2017 Jun 20
2
Help with the plot function
...oma = c(4, 4, 0.5, 0.5))
par(tcl = -0.25)
par(mgp = c(2, 0.6, 0))
for (i in 1:6) {
plot(1, axes = FALSE, type = "n")
mtext(letters[i], side = 3, line=-1,adj=0.1,cex=0.6, col = "grey40")
if (i %in% c(4, 5, 6))
axis(1, col = "grey40", col.axis = "grey20", at = seq(0.6,
1.2, 0.2))
if (i %in% c(1, 4))
axis(2, col = "grey40", col.axis = "grey20", at = seq(0.6,
1.2, 0.2))
box(col = "grey60")}
#...
2011 Jun 24
1
try to generate graph for each element of my list
...icks="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="grey10")}}
dev.off()
rm(grafico)
})
The results is that I get the same graph for each element of my list.....
Someone knows how to get one graph for each element of my list pasting the
names' list element in the .png file??
Thanks fo...
2017 Jun 20
0
Help with the plot function
1. Did you study the functions (esp. ?layout) to which I referred you?
2. Show us your code! -- "to no avail" is meaningless!
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Jun 19, 2017 at 7:01 PM, Andr? Luis Neves
2017 Jun 20
0
Help with the plot function
...= -0.25)
> par(mgp = c(2, 0.6, 0))
>
> for (i in 1:6) {
> plot(1, axes = FALSE, type = "n")
> mtext(letters[i], side = 3, line=-1,adj=0.1,cex=0.6, col = "grey40")
> if (i %in% c(4, 5, 6))
> axis(1, col = "grey40", col.axis = "grey20", at = seq(0.6,
> 1.2, 0.2))
> if (i %in% c(1, 4))
> axis(2, col = "grey40", col.axis = "grey20", at = seq(0.6,
> 1.2, 0.2))
> box(col...
2017 Jun 20
1
Help with the plot function
...))
> >
> > for (i in 1:6) {
> > plot(1, axes = FALSE, type = "n")
> > mtext(letters[i], side = 3, line=-1,adj=0.1,cex=0.6, col =
> "grey40")
> > if (i %in% c(4, 5, 6))
> > axis(1, col = "grey40", col.axis = "grey20", at = seq(0.6,
> > 1.2, 0.2))
> > if (i %in% c(1, 4))
> > axis(2, col = "grey40", col.axis = "grey20", at = seq(0.6,
> > 1.2, 0...
2017 Jun 20
2
Help with the plot function
I'm trying to recreate a graph similar to the last one found on this link:
https://sites.ualberta.ca/~lkgray/uploads/7/3/6/2/7362679/6c_-_line_plots_with_error_bars.pdf
The difference is that I want budbreak on the top, and the temperatures at
the bottom.
I tried to set par before each graph and include lines, with no avail.
Thanks, Bert.
Andre
On Mon, Jun 19, 2017 at 7:41 PM, Bert Gunter
2008 Dec 17
4
Plot multiple lines, same plot, different axes?
Dear list,
I would like to plot 2 series of numbers with very different ranges/scales as lines on the same plot. I assumed this is commonly done and easy, but I have not found any help files (e.g. axis() or matplot() that show how. I've searched many old posts to no avail.
I'll be very grateful for any suggestions on how this is done.
Best,
Zack
2011 Dec 04
1
Polishing my geom_bar for publication
Dear list,
I am new with ggplot2 and I have spend quiet some time putting together the following code to create the attached plot. However there's still a few things that I'm having trouble with!
I would be grateful if someone can tell me how to fix (1) the colour of my bars into grey scales (2) removing the y-axis (species name) on the right figure to avoid duplication, and (3) fix the
2000 Feb 29
0
mapping of colornames into hsv: half way done
...212121",
"grey14", "#242424",
"grey15", "#262626",
"grey16", "#292929",
"grey17", "#2B2B2B",
"grey18", "#2E2E2E",
"grey19", "#303030",
"grey20", "#333333",
"grey21", "#363636",
"grey22", "#383838",
"grey23", "#3B3B3B",
"grey24", "#3D3D3D",
"grey25", "#404040",
"grey26", "#424242&q...