2014年7月17日 星期四

Legend中的字型與大小也能變更

Example:
>> plot(1:10,[1:10].*cos([1:10]),'-rs',1:10,[1:10].*sin([1:10]),'-.bo',...
1:10,[1:10].*cos([11:20]),'-g*',1:10,[11:20].*sin([11:20]),'-.k+',...
1:10,[1:10].*cos([21:30]),'--c>',1:10,[21:30].*sin([21:30]),'--yd')
>> h = legend('\fontname{標楷體}{隨機選取}\fontname{times new roman}{Lena}',...
'\fontname{標楷體}\fontsize{6}{隨機選取}\fontname{times new roman}\fontsize{10}{F16}',...
'\fontname{標楷體}{隨機選取}\fontname{times new roman}{Pepper}',...
'\fontname{標楷體}{非隨機選取}\fontname{times new roman}{Lena}',...
'\fontname{標楷體}{非隨機選取}\fontname{times new roman}{F16}',...
'\fontname{標楷體}{非隨機選取}\fontname{times new roman}\fontsize{8}{Pepper}');
>> xlabel('\fontname{times new roman}{\itp}')
>> ylabel('\fontname{times new roman}{\itPSNR}')


1 則留言:

  1. Baccarat – How to play and win casino game for beginners
    This is a febcasino simple game where the player has to play and septcasino win a round of Baccarat. A simple example of this, หาเงินออนไลน์ a typical day casino would

    回覆刪除