Color plot for material properties?
1 次查看(过去 30 天)
显示 更早的评论
Could you kindly recomment a matlab function to plot the color map for a meshed plate for me please! I mean I now the coordinate and the value of E, how can I plot the plates like other FEM software? The coordinate is 7x7 but the E matrix is 6x6.
Thank you so much!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/556457/image.png)
0 个评论
采纳的回答
KSSV
2021-3-20
Read about patch, you can provide nodal connectivity data and plot the required.
Also you can do iinterpolation from element center to nodes and use pcolor.
更多回答(1 个)
Image Analyst
2021-3-20
You can use imshow() with the 'InitialMagnification' option set to ten thousand. Then set a colormap
yourMatrix = rand(7)
cmap = jet(256);
imshow(yourMatrix, 'InitialMagnification', 10000, 'Colormap', cmap);
colorbar
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/556702/image.png)
1 个评论
Image Analyst
2021-3-20
编辑:Image Analyst
2021-3-20
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!