第四週課程----繪圖文字輸出(LATEX)--數學環境格式(續1)
Example 1:
>> close all
>> mytexstr =
'$\frac{1}{2}$';
>> h =
text('string',mytexstr,'interpreter','latex',...
'fontsize',40,'units','norm','pos',[.5 .5]);
Example 2:
>> close all
>> mytexstr =
'$z=\frac{y^{\frac{3}{n-3}}}{x-4}$';
>> h =
text('string',mytexstr,'interpreter','latex',...
'fontsize',40,'units','norm','pos',[.5 .5]);
Example 3:
>> close all
>> mytexstr =
'$\sqrt[m]{n^3+\sqrt{x_3}}$';
>> h =
text('string',mytexstr,'interpreter','latex',...
'fontsize',40,'units','norm','pos',[.1
.5]);
沒有留言:
張貼留言