[R] Plot Rect Transparency

Jeff Reichman reichm@nj @ending from @bcglob@l@net
Thu Jun 28 23:29:19 CEST 2018



Is there a way to make a rectangle transparent (alpha=0.1??)


  plot(c(100, 200), c(300, 450), type= "n", xlab = "", ylab = "")

   rect(110, 300, 175, 350, density = 5, border = "red")


Can't figure out how to take the changepoint function results and plot in
ggplot2 so I can just simply add rectangles to the plot function, but I need
to make transparent and there doesn't seem to be an alpha option.



	[[alternative HTML version deleted]]

More information about the R-help mailing list