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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by