How to make data points on graph transparent or less visible?
11 次查看(过去 30 天)
显示 更早的评论
I need to plot an contourf plot which represents the density of some data points and over that I need to put those data points. The problem is when I plot them ordinarily, I can barely see anything, so I started experimneting with transparency, but while it's easy to make the contourf plot transparent with alpha command, how can I make the data points transparent? alpha doesn't seem to work for them.
I would like for the data points just to be a slight haze in the background and for the contours too be visible over them.
And one more thing. Where in the plot tools can I find the option to adjust alpha for contourf graph? It's for another figure, but the problem is similar to this one I think. I plot the contourf graph with alpha 0.5. Then I open the plot tools and adjust the x axis to log scale. As I do that Matlab automaticaly sets alpha back to 1 and I cannot find anywhere in the plot tools and docking figure an option to adjust it back
Any help with tese two problems?
Thank you in advance!
0 个评论
回答(1 个)
Walter Roberson
2012-7-11
The only renderer that supports transparency is OpenGL, but OpenGL does not support log scale axes.
What are you using to plot your data points at present?
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!