方法1. 函數:fill
- 舉例說明:應力分布雲圖
x=[0 1 1 0 0]; %x坐標
y=[0 0 1 1 0]; %y坐標
stress=[1 2 3 4 1] %應力大小
fill(x,y,stress); %填充
shading interp; %色彩平滑
colorbar; %分布柱圖
axis equal; %坐標軸相等
x=[0 1 1 0 0]; %x坐標
y=[0 0 1 1 0]; %y坐標
stress=[1 2 3 4 1] %應力大小
fill(x,y,stress); %填充
shading interp; %色彩平滑
colorbar; %分布柱圖
axis equal; %坐標軸相等
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。