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

1 visualización (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by