フィルターのクリア

plotting a 2nd figure

5 ビュー (過去 30 日間)
bugatti79
bugatti79 2013 年 9 月 29 日
回答済み: Wayne King 2013 年 9 月 29 日
Hi Folks, I have a figure of surfaces which plots the first 2 parameters A and B against T.
I wish to plot a 2nd figure of surfaces to display a second set of parameters C and D against output T
How do I achieve this. Running this code places the 2 groups of surfaces into 1 figure. How do I create a 2nd figure for the 2nd batch?
for nn=1:k
surf(Vm,Rs,T(:,:,nn)); hold on
title('')
xlabel(''), ylabel(''), zlabel('')
end
for nn=1:k
surf(H_1,nu_1,T(:,:,nn)); hold on
title('')
xlabel(''), ylabel(''), zlabel('')
end
Thanks and Kind Regards

採用された回答

Wayne King
Wayne King 2013 年 9 月 29 日
Insert a figure command before the 2nd for loop
for nn=1:k
surf(Vm,Rs,T(:,:,nn)); hold on
title('')
xlabel(''), ylabel(''), zlabel('')
end
figure;
for nn=1:k
surf(H_1,nu_1,T(:,:,nn)); hold on
title('')
xlabel(''), ylabel(''), zlabel('')
end

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by