TP-traitement-audio-visuel/TP8/affichage.m
2023-06-22 20:47:16 +02:00

15 lines
394 B
Matlab

function affichage(u,nom_x,nom_y,titre)
imagesc(u);
axis equal;
ax = gca;
axis(ax,'off');
% xlh = xlabel(ax,nom_x,'Interpreter','Latex');
% xlh.Position(2) = xlh.Position(2)-40;
set(get(ax,'XLabel'),'Visible','on');
% ylh = ylabel(ax,nom_y,'Interpreter','Latex');
% ylh.Position(1) = ylh.Position(1)+10;
set(get(ax,'YLabel'),'Visible','on');
colormap gray;
title(titre,'Interpreter','Latex');