2D surf plot axis. The axes and labels get shifted inside plot upon reversing x axis.

1 回表示 (過去 30 日間)
Addy
Addy 2019 年 12 月 20 日
matlab surf.png
The code used
figure(8);clf;hold on;
surf(X,Y,fliplr(Cscan'));
shading interp; axis image; grid on; box on
xlabel(labelz{2});
ylabel(labelz{1});
xticks((X))
yticks(fliplr(Y))
yticklabels(Y)
set(gca,'layer','top')
set(gca,'XDir','reverse');
title('C-Scan image')
colorbar

回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by