简体   繁体   中英

Transparent lines on 3D plot

Does anyone know how to make a 3D line plot where the lines are semi-transparent using Plotly or a different tool?

The 3D plot I am trying to create is here: https://plot.ly/~starhammer/238/

A 2D example of the transparency is here: https://plot.ly/~starhammer/274

This was achieved by adjusting the opacity parameter of the line in Plotly. I have tried changing the line opacity in the 3D plot but it doesn't seem to do anything,

Are you looking for something like this?

在此处输入图片说明

If yes, you can adjust your opacity by setting your own 'rgba' color ('a' stands for Alpha and defines the opacity).

From your workspace go to

  • TRACES => Style
  • under the Line section, click on the color button and set your desired 'rgba' color

在此处输入图片说明

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