octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with title, xlabel


From: Sebastian
Subject: Re: Help with title, xlabel
Date: Sun, 14 Aug 2016 22:03:11 +0200

<quote author="Rik-4">
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
</quote>

Here you go. Seb.

Attachment: diary.txt
Description: Text document



reply via email to

[Prev in Thread] Current Thread [Next in Thread]