colormap for facealpha and range
2 views (last 30 days)
Show older comments
I have plotted concentric sphere of different radii with different color and different FaceAlpha.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148417/image.jpeg)
The radius ranges from linspace(1,1/20,10) and FaceAlpha range from logspace(1,0.1,10)./10
If you see carefully small radius of sphere has high FaceAlpha value and larger radius of sphere has low FaceAlpha value. So outer most sphere should have maximum colormap value. But the colormap bar is misleading. Its showing the maximum value in the middle sphere but its not. How should i correct this.
2 Comments
Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!