Transparency in 2D scatter plots

Can Matlab be fooled into having variable transparency of data points in a 2D scatter plot?
My data is ultimately 5 dimensions. I have 12 countries (one color per country), 24 industries (data points or observations) , three factors (x, y and z determines the size of the point) and a time dimension for which I would like to have variable transparency (current point opaque, further back in time most transparent which is essentially a trail).
I searched and it doesn't look hopeful, but I did see where someone came up with 3D bubbles with a constant transparency. Hoping the whizzes here can help.

 采纳的回答

per isakson
per isakson 2011-8-19

1 个投票

I think it is doable with some low level handle graphic code. Each point should be a separate patch object (or a surface object).

1 个评论

I was afraid of that. It looks like this is probably the only solution.

请先登录,再进行评论。

更多回答(1 个)

the cyclist
the cyclist 2011-8-19

0 个投票

Not sure it's possible to adjust the transparency of a marker. The answer and comment in this question may be relevant:

1 个评论

I did see that thread, but it wasn't clear how that would apply in the 2D case.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by