search for: royalblue4

Displaying 10 results from an estimated 10 matches for "royalblue4".

Did you mean: royalblue
2012 Jul 05
2
function curve() swap axes
...Minimal working example: S0 = 0.004 n = 0.04 tanalpha = 1.4/1.5 par(mar = c(5,5,1,1)) # b, l, t, r curve((sqrt(S0)/n)*(0.035+(0.7+(x-0.1)/tanalpha)*(x-0.1))*((0.035+(0.7+(x-0.1)/tanalpha)*(x-0.1))/(2*sqrt((0.7/2)^2+0.1^2)+2*sqrt((x-0.1)^2+((x-0.1)/tanalpha)^2)))^(2/3),0.1,1.55, lwd = 3, col = "royalblue4", ann = F, axes = T) title(xlab = parse(text='a~bgroup("[", m, "]")')) title(ylab = parse(text='Q~bgroup("[", m^3/s, "]")')) box() I tried to find the inverse function, but that doesn't seem to exist. Thank you for support, Boudewijn...
2020 Oct 23
2
How to shade area between lines in ggplot2
...uot;purple", size=4, alpha=0.5) # show hyperplane (decision boundaries are off set by 1/w[2]) w = t(svm_model$coefs) %*% svm_model$SV # %*% = matrix multiplication slope_1 = -w[1]/w[2] intercept_1 = svm_model$rho / w[2] p = p + geom_abline(slope = slope_1, intercept = intercept_1, col = "royalblue4") p = p + geom_ribbon(aes(ymin=intercept_1 - 1/w[2], ymax=intercept_1 + 1/w[2], x=x, fill = "band"), alpha = 0.3) + scale_fill_manual("",values="grey12") ``` On Fri, Oct 23, 2020 at 10:26 AM PIKAL Petr...
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:
2020 Oct 23
2
How to shade area between lines in ggplot2
...sion > > boundaries are off set by 1/w[2]) w = t(svm_model$coefs) %*% > > svm_model$SV # %*% = matrix multiplication > > slope_1 = -w[1]/w[2] > > intercept_1 = svm_model$rho / w[2] > > p = p + geom_abline(slope = slope_1, intercept = intercept_1, col = > > "royalblue4") > > p = p + geom_ribbon(aes(ymin=intercept_1 - 1/w[2], > > ymax=intercept_1 + 1/w[2], > > x=x, fill = "band"), alpha = 0.3) + > > scale_fill_manual("",values="grey12") > &gt...
2020 Oct 23
0
How to shade area between lines in ggplot2
...# show hyperplane > (decision > boundaries are off set by 1/w[2]) w = t(svm_model$coefs) %*% > svm_model$SV # %*% = matrix multiplication > slope_1 = -w[1]/w[2] > intercept_1 = svm_model$rho / w[2] > p = p + geom_abline(slope = slope_1, intercept = intercept_1, col = > "royalblue4") > p = p + geom_ribbon(aes(ymin=intercept_1 - 1/w[2], > ymax=intercept_1 + 1/w[2], > x=x, fill = "band"), alpha = 0.3) + > scale_fill_manual("",values="grey12") > ``` > > On Fri, O...
2020 Oct 23
5
How to shade area between lines in ggplot2
Hello, I am running SVM and showing the results with ggplot2. The results include the decision boundaries, which are two dashed lines parallel to a solid line. I would like to remove the dashed lines and use a shaded area instead. How can I do that? Here is the code I wrote.. ``` library(e1071) library(ggplot2) set.seed(100) x1 = rnorm(100, mean = 0.2, sd = 0.1) y1 = rnorm(100, mean = 0.7, sd =
2020 Oct 26
0
How to shade area between lines in ggplot2
...are off set by 1/w[2]) w = > > > t(svm_model$coefs) %*% svm_model$SV # %*% = matrix multiplication > > > slope_1 = -w[1]/w[2] > > > intercept_1 = svm_model$rho / w[2] > > > p = p + geom_abline(slope = slope_1, intercept = intercept_1, col = > > > "royalblue4") > > > p = p + geom_ribbon(aes(ymin=intercept_1 - 1/w[2], > > > ymax=intercept_1 + 1/w[2], > > > x=x, fill = "band"), alpha = 0.3) + > > > scale_fill_manual("",values="gr...
2011 Feb 10
1
Ggplot: free x-scales in a facet-grid
Hello, I have a ggplot that has the looks of the plot that I want, but it doesn't have the right layout. The data is an ordered melted dataframe: - ID - type (to use for a faced grid) - time - type - time - value (POSIXct) - pos (to use for a faced grid, this is an index to split the plot) The goal of the plot is to create a time line for each ID (different points of time). The ID's
2000 Feb 29
0
mapping of colornames into hsv: half way done
..."rosybrown3", "#CD9B9B", "rosybrown4", "#8B6969", "royalblue", "#4169E1", "royalblue1", "#4876FF", "royalblue2", "#436EEE", "royalblue3", "#3A5FCD", "royalblue4", "#27408B", "saddlebrown", "#8B4513", "salmon", "#FA8072", "salmon1", "#FF8C69", "salmon2", "#EE8262", "salmon3", "#CD7054", "salmon4", "#8...
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()+