?? ch3_2_1.htm
字號(hào):
<! 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-->
<h1><font COLOR="#0000FF">3.2.1 三維的曲線繪圖</font></h1>
<hr>
<p><font COLOR="#FF0000" FACE="Times New Roman">plot3</font><font FACE="Times New Roman"> </font>可以用來畫一個(gè)三維的曲線,它的格式類似
<font COLOR="#FF0000" FACE="Times New Roman">plot</font><font FACE="Times New Roman"> </font>,不過多了
<font FACE="Times New Roman">z</font>方向的數(shù)據(jù)。其與法可以是 <font COLOR="#FF0000" FACE="Times New Roman">plot3(X,Y,Z)</font><font FACE="Times New Roman"> </font>或是
<font COLOR="#FF0000" FACE="Times New Roman">plot3(X,Y,Z,'linetype')</font>,其中的 <font COLOR="#FF0000" FACE="Times New Roman">linetype</font>是設(shè)定畫線的符號(hào)和顏色。下面的例子說明一個(gè)三維的曲線圖:
</p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> t=0:pi/50:10*pi;</font> </p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> plot3(sin(t),cos(t),t)</font> </p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> title('Helix'), xlabel('sin(t)',
ylabel('cos(t)'), zlabel('t')</font> </p>
<p><font COLOR="#FF0000" FACE="Times New Roman">>> axis('ij') % </font><font COLOR="#FF0000">加上這個(gè)指令,注意圖的</font><font COLOR="#FF0000" FACE="Times New Roman">y</font><font COLOR="#FF0000">軸及曲線方向改變了 <br>
</font></p>
<hr>
<a HREF="ch3_2.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_2.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_2_2.htm" tppabs="http://webclass.ncu.edu.tw/~junwu/ch3_2_2.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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -