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