Transparency in 2D scatter plots

5 views (last 30 days)
Josh
Josh on 19 Aug 2011
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.

Accepted Answer

per isakson
per isakson on 19 Aug 2011
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 Comment
Josh
Josh on 22 Aug 2011
I was afraid of that. It looks like this is probably the only solution.

Sign in to comment.

More Answers (1)

the cyclist
the cyclist on 19 Aug 2011
Not sure it's possible to adjust the transparency of a marker. The answer and comment in this question may be relevant:
  1 Comment
Josh
Josh on 22 Aug 2011
I did see that thread, but it wasn't clear how that would apply in the 2D case.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!