[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with title, xlabel
From: |
Rik |
Subject: |
Help with title, xlabel |
Date: |
Sun, 14 Aug 2016 10:37:10 -0700 |
8/14/16
Can someone run the following session and under Matlab and send the diary
file back?
close all
diary on
plot (1:10)
get (gca, 'FontSize')
ht = title ('Title');
disp ('Title Props')
get (ht, 'FontSize')
get (ht, 'Color')
hx = xlabel ('xlabel');
disp ('Xlabel Props')
get (hx, 'FontSize')
get (hx, 'Color')
set (gca, 'FontSize', 20)
disp ('After changing axes fontsize')
get (ht, 'FontSize')
get (hx, 'FontSize')
set (gca, 'Xcolor', 'r')
disp ('After changing axes color')
get (hx, 'Color')
close all
hax = gca;
set (hax, 'Xcolor', 'g')
ht = title ('Title');
disp ('Title Props 2')
get (ht, 'Color')
hx = xlabel ('xlabel');
disp ('Xlabel Props 2')
get (hx, 'Color')
diary off
exit
Thanks,
Rik
- Help with title, xlabel,
Rik <=