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!