Custom colormap for fill3 function
5 次查看(过去 30 天)
显示 更早的评论
I'm working on a finite element code using triangular mesh elements. After I obtain the solution to the system, I'm plotting the FEM solution by looping over all of the triangles and using the fill3 function. I want to assign a colormap afterward so that the largest z-axis value corresponds to red and the smallest corresponds to blue (kind of like 'surf').
I'm not entirely sure how to do this since the fill3 function takes in a color argument...
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Blue 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!