简体   繁体   中英

Change transparency of symbols in R function plotrix::polar.plot()

Is there a simple way to control the transparency of the blue circles in the function below to control the overplotting.

library(plotrix)
polar.plot(1:5000, rnorm(5000,90,30), rp.type='s', point.col='blue')

I'm hoping for some transparency parameter, usually called alpha , between 0 and 1.

在此处输入图片说明

There are lots of ways to do this, but an easy one is using the rgb function. Here is an example with 50% transparency.

polar.plot(1:5000, rnorm(5000,90,30), rp.type='s', point.col=rgb(0,0,1, 0.5))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM