Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
plots[fieldplot] - 2D ベクトル場をプロットします
使い方
fieldplot(f, r1, r2)
fieldplot(f, r1, r2, ...)
パラメータ
f - プロットするベクトルまたはベクトルの集合
r1 - 範囲
r2 - 範囲
説明
fieldplot 関数の典型的なコールは、fieldplot(f,x=a..b,y=c..d) です。f は x と y の 2 つの関数のリストです。a..b と c..d は、水平方向と垂直方向の 場の範囲を指定します。結果は、この範囲内の点 (x, y) で評価されるベクトルの、2 次元のベクトル場です。
数式の代わりに、ベクトル場の要素をあらわすプロシージャを入力することも可能です。この場合の点系定名コールは、fieldplot(f,a..b,c..d) です。ここで f は、2 つの変数をもつ 2 つのプロシージャのリストです。
fieldplot をコールすると、PLOT データ構造が生成され、プリントされます。これらのデータ構造については、?plot[structure] をご覧ください。
その他の引数は、オプションで、option = value の形の等式で指定します。特に、arrows オプションは、ベクトルを表示する矢印のスタイルを指定できます。LINE, THIN, SLIM, THICK から選べます。規定値は、THIN です。grid オプションは、2 次元グリッドの初期サイズを設定できます。規定値は、[20. 20] です。その他のオプションは、plot コマンドで利用できるものと同じです。詳しくは、?plot[options] をご覧ください。
with(plots,fieldplot) コマンドを使うと、このコマンドだけを定義できます。
例
with(plots): fieldplot( [x/(x^2+y^2+4)^(1/2),-y/(x^2+y^2+4)^(1/2)],x=-2..2,y=-2..2); fieldplot([y,-sin(x)-y/10],x=-10..10,y=-10..10,arrows=SLIM, color=x);
次の 2 つの例は、上と同じ結果になります
f := (x,y)-> x/(x^2+y^2+4)^(1/2): g := (x,y)-> -y/(x^2+y^2+4)^(1/2): fieldplot( [f,g],-2..2,-2..2); f := (x,y)-> y: g := (x,y)-> -sin(x) - y/10: fieldplot( [f,g],-10..10,-10..10,arrows=SLIM);
参照:
plot, plot[spec], spec は次の中の 1 つです。: range, function, option, structure
Download Help Document