?? ch3_1.htm
字號:
<! Made by Html Translation Ver 1.0>
<html>
<head>
<title> 繪圖選項 </title>
</head>
<body BACKGROUND="../img1/bg0000.gif" tppabs="http://webclass.ncu.edu.tw/~junwu/img/bg0000.gif">
<script language="JAVASCRIPT">
<!--
if (navigator.onLine){
document.write("<!-- Spidersoft WebZIP Ad Banner Insert -->");
document.write("<TABLE width=100% border=0 cellpadding=0 cellspacing=0>");
document.write("<TR>");
document.write("<TD>");
document.write("<ILAYER id=ad1 visibility=hidden height=60></ILAYER>");
document.write("<NOLAYER>");
document.write("<IFRAME SRC='http://www.spidersoft.com/ads/bwz468_60.htm' width=100% height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></IFRAME>");
document.write("</NOLAYER>");
document.write("</TD>");
document.write("</TR>");
document.write("</TABLE>");
document.write("<!-- End of Spidersoft WebZIP Ad Banner Insert-->");
}
//-->
</script>
<!-- Spidersoft WebZIP Ad Banner Insert -->
<!-- End of Spidersoft WebZIP Ad Banner Insert-->
<font COLOR="#0000FF">
<h1>3.1 繪圖選項</h1>
</font>
<hr>
<p><font FACE="Times New Roman">MATLAB </font>有許多的繪圖選項,以下一一做介紹。如果要將二條曲線劃在同一個圖,可參考以下的例子:
</p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> x=linspace(0,2*pi,30);</font> </p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> y=sin(x); z=cos(x);</font> </p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> plot(x,y,x,z) % </font><font COLOR="#FF0000">將 </font><font COLOR="#FF0000" FACE="Times New Roman">y=sin(x) </font><font COLOR="#FF0000">及 </font><font COLOR="#FF0000" FACE="Times New Roman">z=cos(x) </font><font COLOR="#FF0000">二函數分布繪圖</font> </p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> plot(x,y,'g:',x,z,'r--') % </font><font COLOR="#FF0000">加上不同的顏色及符號來區別二條曲線 <br>
</font></p>
<p><font COLOR="#FF0000" FACE="Times New Roman">plot</font>還有許多繪圖控制的選項,可以參考<font COLOR="#FF0000" FACE="Times New Roman">plot</font>的線上說明。</p>
<hr>
<ul>
<li>3.1 繪圖選項 <ul>
<li>3.1.1 <a HREF="ch3_1_1.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_1.htm">橫軸和縱軸的控制</a>
</li>
<li>3.1.2 <a HREF="ch3_1_2.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_2.htm">子圖</a>
</li>
<li>3.1.3 <a HREF="ch3_1_3.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_3.htm">圖形放大及縮小</a>
</li>
<li>3.1.4 <a HREF="ch3_1_4.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_4.htm">函數分布的快速繪圖</a>
</li>
<li>3.1.5 <a HREF="ch3_1_5.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_5.htm">列印功能</a>
</li>
<li>3.1.6 <a HREF="ch3_1_6.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_6.htm">其它的功能</a>
</li>
</ul>
</li>
</ul>
<hr>
<a HREF="ch3.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3.htm">
<p><img SRC="../img1/lastpage.gif" tppabs="http://webclass.ncu.edu.tw/~junwu/img/lastpage.gif" BORDER="0" WIDTH="42" HEIGHT="42"></a> <a HREF="ch3_1_1.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_1_1.htm"><img SRC="../img1/nextpage.gif" tppabs="http://webclass.ncu.edu.tw/~junwu/img/nextpage.gif" BORDER="0" HSPACE="10" WIDTH="42" HEIGHT="42"></a> <a HREF="../index.html" tppabs="http://webclass.ncu.edu.tw/~junwu/index.html"><img SRC="../img1/outline.gif" tppabs="http://webclass.ncu.edu.tw/~junwu/img/outline.gif" BORDER="0" HSPACE="6" WIDTH="42" HEIGHT="42"></a><br>
<font SIZE="2" COLOR="#AA55FF">上一頁 下一頁 講義大綱 </font><layer src="http://www.spidersoft.com/ads/bwz468_60.htm" visibility="hidden" id="a1" width="600" onload="moveToAbsolute(ad1.pageX,ad1.pageY); a1.clip.height=60;visibility='show';"></layer> </p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -