search for: grey70

Displaying 20 results from an estimated 21 matches for "grey70".

Did you mean: grey50
2011 Jun 21
2
par code help
...resents 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", "Brosimum\nutile", "Caryocar\ncostaricense", "C...
2012 Feb 01
3
Plotting bar graph over a geographical map
...de library(ggplot2) library(maps) measurements <- read.csv("all_podo.count.csv", header=T) allworld <- map_data("world") pdf("map.pdf") ggplot(measurements, aes(long, lat)) + geom_polygon(data = allworld, aes(x = long, y = lat, group = group), colour = "grey70", fill = "grey70") + geom_point(aes(size = ref)) + opts(axis.title.x = theme_blank(), axis.title.y = theme_blank()) + geom_bar(aes(y = normcount)) dev.off() ### -- View this message in context: http://r.789695.n4.nabble.com/Plotting-bar-graph-over-a-geographical-map-tp4346...
2010 Apr 24
2
barplot - offsetting individual bars
...I'm trying currently using barplot to summarize precipitation data. So far I've compiled total annual snow and rain accumulation in a table (attached). I've been successful at plotting it using the following code: fig=barplot(t(Annual_Precip_table), horiz=TRUE, space=0, col=c("grey70", "white"), axes=FALSE) . . The result is a stacked barplot with total annual rain represented by grey bars and total annual snow represented by white bars. This is great, however, I'd like to position the bars so that the rain bars are right justified on the axis and the snow b...
2012 Dec 12
1
Problems with plot maps
Hello, I need plot map using ggplot() I use such code: library("ggplot2") library(cshapes) cshp.data <- cshp() map <- cshp.data[cshp.data$COWCODE==369,] map_mp<- list( geom_polygon(aes(long, lat, group = group), data = map, fill = "grey70", colour = "grey60", inherit.aes = FALSE, show_guide = FALSE), scale_x_continuous("", breaks = NULL, expand = c(0.02, 0)), scale_y_continuous("", breaks = NULL, expand = c(0.02, 0))) ggplot()+map_mp but I have such error "Error in r...
2020 Jul 28
2
Superponer mapas en ggplot
...na nueva variable, combinación de las dos, que me permitiera hacer eso mismo, pero no encuentro la forma. Gracias por vuestra ayuda, una vez más, Manuel ggplot(legend=FALSE)+ geom_point(data=NCDS,aes(x=lon,y=lat,color= PA),shape=15,size=1) + scale_color_manual(values=c("white","grey70"))+ geom_path(data=map_data('world'), aes(x=long, y=lat,group=group)) ggplot(legend=FALSE)+ geom_point(data=NCDS,aes(x=lon,y=lat,color= ExtTG7085),shape=15,size=1) + # PTP o FTP scale_colour_gradient2(low = "white",high="RED",midpoint=0,guide="colourbar&...
2011 Nov 07
0
Adding lines to scatterplot odd result when creating multiple plots
...sval2$True~crossval2$Estimate ) #create plots scatterplot(True ~ Estimate, data=crossval2, xlab= X, ylab= Y, main= "Min 4 Max 8", grid=FALSE, xlim=c(0,8), ylim=c(0,8), pch=21, cex=1.2, smooth=FALSE, reg.line=FALSE ) #Plot mean lines and regression abline(h=AveTru,col="grey70") abline(v=AveEst,col="grey70") abline(0,1,col="red") abline(lm(crossval2$True~crossval2$Estimate), col="blue", lty=1, lwd=2) -- View this message in context: http://r.789695.n4.nabble.com/Adding-lines-to-scatterplot-odd-result-when-creating-multiple-plots-tp4014...
2011 Oct 26
1
Using abline in lattice
...("country","X1") names(test) xyplot(country ~ X1, data=test, xlim=c(0,130), #scales = list(alternating = 1, cex=1.2), xlab="", panel = function (x,y) { #groups=country panel.abline(v = 20, lty = 2, col = "grey70") panel.abline(v = 40, lty = 2, col = "grey70") panel.barchart(x,y, col=c("grey20","grey100","grey50","grey83","grey33","grey67","grey0")) }, ) I played a lot around with th...
2004 Dec 03
1
organising the display in Trellis plots
...pch=3, method="bars",pch.bar=2,lwd=3, cex=0.8, par.strip.text=list(cex=1), panel=function(x,y,...) { print(attr(x,'other')) panel.abline(v=attr(x,'other'),lty=2,col="grey70") panel.Dotplot(x,y,...) }, scales = list(cex=1,rot=c(0,45), x=list(alternating=c(1,1,1,1),limits=c(1,nlevels(OUT$algo)),relation="same"), y=list(at=c(1:nlevels(OUT$algo)),labels=levels(OU...
2011 Oct 17
1
plotting issues with PCA
Hi Listers, This has a simple answer but it has been eluding me nonetheless. I have been building a PCA plot from scratch with the ability to plot predefined groups in different colors. This has worked fine but when I try to get a polygon drawn around each of the groups it is not recognising my colour file correctly and is only printing the first colour in the file....code is below
2004 Feb 17
2
Lattice graphics and strip function
I am looking for examples of code that demonstrates the fine tuning of the strip panels in lattice graphics and uses plotmath characters. The code for the graphic is as follows: xyplot(lagy ~ n | rho1 * rho2, data= data, layout=c(2,6), span = 1, xlab = "Sample Size", ylab = "Bias in the Coefficient for the Lag of X", type = "o") rho1 is a four level factor
2020 Oct 23
2
How to shade area between lines in ggplot2
...ribbon? and the color is not grey... On Fri, Oct 23, 2020 at 2:35 PM PIKAL Petr <petr.pikal at precheza.cz> wrote: > > Hi > > What about something like > > p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2], > ymax = slope_1*x + intercept_1 + 1/w[2], fill = "grey70", alpha=0.1)) > > Cheers > Petr > > > -----Original Message----- > > From: Luigi Marongiu <marongiu.luigi at gmail.com> > > Sent: Friday, October 23, 2020 11:11 AM > > To: PIKAL Petr <petr.pikal at precheza.cz> > > Cc: r-help <r-help at...
2020 Oct 23
0
How to shade area between lines in ggplot2
Hi What about something like p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2], ymax = slope_1*x + intercept_1 + 1/w[2], fill = "grey70", alpha=0.1)) Cheers Petr > -----Original Message----- > From: Luigi Marongiu <marongiu.luigi at gmail.com> > Sent: Friday, October 23, 2020 11:11 AM > To: PIKAL Petr <petr.pikal at precheza.cz> > Cc: r-help <r-help at r-project.org> > Subject: Re: [R] How...
2016 Apr 09
1
Run script R
...ULL, ? ? ? panel.background = ? element_rect(fill = "white", colour = NA),? ? ? panel.border = ? ? ? element_rect(fill = NA, colour = "grey50"),? ? ? panel.grid.major = ? element_line(colour = "grey60", size = 0.1),? ? ? panel.grid.minor = ? element_line(colour = "grey70", size = 0.1, linetype="dotted"),? ? ? ## panel.margin = ? ? ? unit(c(0.1, 0.1, 0.1, 0.1), "lines"), ? ? ? strip.background = ? element_rect(fill = NA, colour = NA),? ? ? strip.text.x = ? ? ? element_text(family = base_family, size = base_size * 0.8),? ? ? strip.text.y = ?...
2020 Oct 26
0
How to shade area between lines in ggplot2
...gt; On Fri, Oct 23, 2020 at 2:35 PM PIKAL Petr <petr.pikal at precheza.cz> wrote: > > > > Hi > > > > What about something like > > > > p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2], > > ymax = slope_1*x + intercept_1 + 1/w[2], fill = "grey70", alpha=0.1)) > > > > Cheers > > Petr > > > > > -----Original Message----- > > > From: Luigi Marongiu <marongiu.luigi at gmail.com> > > > Sent: Friday, October 23, 2020 11:11 AM > > > To: PIKAL Petr <petr.pikal at precheza.cz...
2008 Jan 06
1
Confidence Inteval for regression curve.
Dear all, I have a dataset which I need to estimate the regression model and plot the estimated curve two other curves with low and high confidence interval (CI=95%). How can I do that? x<-1:100 y<-x^0.2+rnorm(100,0.1,0.1) mod<-glm(y~log(x)) plot(y~x) lines(predict(mod)~x,col=2) Kind regards, miltinho Brazil para armazenamento! [[alternative HTML version deleted]]
2012 Jun 03
1
Regions of significance plots with ggplot2
I'd like to create a plot similar to this one from Kochanska et al. (Development and Psychopathology, 2011): <http://pages.videotron.com/do999/r-help/Kochanska_graph_ros.jpg> http://pages.videotron.com/do999/r-help/Kochanska_graph_ros.jpg I am new to ggplot2 and can't see any obvious way to create distinct coloured regions for the background, nor can I find any relevant
2020 Oct 23
2
How to shade area between lines in ggplot2
also from this site: https://plotly.com/ggplot2/geom_ribbon/ I get the answer is geom_ribbon but I am still missing something ``` #! plot p = ggplot(data = trainset, aes(x=x, y=y, color=z)) + geom_point() + scale_color_manual(values = c("red", "blue")) # show support vectors df_sv = trainset[svm_model$index, ] p = p + geom_point(data = df_sv, aes(x=x, y=y),
2009 Jan 07
2
Plotting a graph for every Level of a Factor
Hello, I'm sorry if this seems similar to my last post but I thought it was significantly different to warrent a new thread. Using the dataset below, is there a way to generate a bar/line plot for the TACC/Catch of every lvl of stock? i.e. OR1,OR3,OR5. The picture at the bottom of this post is an example of the bar/line plot for OR1 which was generated when OR1 was the only stock in the
2000 Feb 29
0
mapping of colornames into hsv: half way done
...A1A1A1", "grey64", "#A3A3A3", "grey65", "#A6A6A6", "grey66", "#A8A8A8", "grey67", "#ABABAB", "grey68", "#ADADAD", "grey69", "#B0B0B0", "grey70", "#B3B3B3", "grey71", "#B5B5B5", "grey72", "#B8B8B8", "grey73", "#BABABA", "grey74", "#BDBDBD", "grey75", "#BFBFBF", "grey76", "#C2C2C2&q...
2020 Oct 23
0
How to shade area between lines in ggplot2
Hi Did you try google? I got several answers using your question e.g. https://stackoverflow.com/questions/54687321/fill-area-between-lines-using-g gplot-in-r Cheers Petr > -----Original Message----- > From: R-help <r-help-bounces at r-project.org> On Behalf Of Luigi Marongiu > Sent: Friday, October 23, 2020 9:59 AM > To: r-help <r-help at r-project.org> > Subject: