2D surf plot axis. The axes and labels get shifted inside plot upon reversing x axis.
1 次查看(过去 30 天)
显示 更早的评论
![matlab surf.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256503/matlab%20surf.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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!