Color plot for material properties?

3 visualizzazioni (ultimi 30 giorni)
Nguyen Van Hieu
Nguyen Van Hieu il 20 Mar 2021
Modificato: Image Analyst il 20 Mar 2021
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!

Risposta accettata

KSSV
KSSV il 20 Mar 2021
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.

Più risposte (1)

Image Analyst
Image Analyst il 20 Mar 2021
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by