How to make a 4d plot with matplotlib using arbitrary data

后端 未结 3 1082
眼角桃花
眼角桃花 2020-11-29 02:28

This question is related to this one.

What I would like to know is how to apply the suggested solution to a bunch of data (4 columns), e.g.:

0.1 0 0.         


        
3条回答
  •  不知归路
    2020-11-29 02:53

    One possibility would be use a color space, for example RGBA or HSVA, they are 4 dimensional, but displaying the alpha (transparency) well may be a problem.

    Other possibility would be a dynamic plot with a slider. One of the dimensions would be represented by the slider.

    I am not sure if that is what you are asking, though.

提交回复
热议问题