How to set a title to the axes
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
axes(handles.axes1);
vid=videoinput('winvideo',1);
set(vid,'ReturnedColorSpace','RGB');
vidres=get(vid,'VideoResolution');
nband=get(vid,'NumberOfBands');
himage=image(zeros(vidres(2),vidres(1),nband));
preview(vid,himage);
pause(3);
img=getsnapshot(vid);
img=rgb2gray(img);
img1=imadjust(img);
axes(handles.axes2);
imshow(img);
I want to add titles to the handles.axes1 and axes2 axes.
0 commentaires
Réponses (1)
Image Analyst
le 23 Fév 2020
Try this:
title(handles.axes1, 'This is axes1', 'FontSize', 20);
title(handles.axes2, 'This is axes2', 'FontSize', 20);
0 commentaires
Voir également
Catégories
En savoir plus sur Graphics Object Programming dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!