[英]Matlab: Axis labels in surfc
我正在使用surfc
繪制表面,但看不到軸標簽。
您可以幫助我將xlabel
和ylabel
與軸對齊,並嘗試對其進行可視化嗎?
surf(X,Y,surface);
colorbar
shading interp
xlabel('Induction factor a1');
ylabel('Induction factor a2');
zlabel('Coefficient')
title('Curve')
制作完圖像后,只有一種選擇。 頂部有旋轉按鈕,您可以根據需要使用它並檢查是否對齊。
希望能有所幫助
您可以在生成圖像后旋轉圖像,也可以通過以下代碼在代碼中指定要旋轉的角度,
set(get(gca,'Induction factor a1'),'rotation',thetax);
set(get(gca,'Induction factor a2'),'rotation',thetay);
set(get(gca,'Coefficient'),'rotation',thetaz);
您可以指定所需的角度,以旋轉thetaz,thetay和thetaz中的標簽。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.