フィルターのクリア

How to change the font location in mesh?

2 ビュー (過去 30 日間)
Kash Costello
Kash Costello 2018 年 6 月 27 日
編集済み: KSSV 2018 年 6 月 27 日
Hello! I have this code to plot my mesh. When I use my Rotate 3D to make it look like a plane, some of the numbers are not visible. I was thinking of placing the numbers like a few mm above where it is right now. I attached an image and you can see my problem. i hope you can help me with this ! Thanks.
d=reshape(Gauss_A,9,9);
mesh(d);
for i=1:size(d,1)
for j=1:size(d,2)
h=text(j, i, d(i,j), num2str(d(i, j)));
set(h, 'hori', 'center', 'vertical', 'bottom', 'color', 'r');
end
end
title('A','FontWeight','bold','FontSize',24);

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by