mt_graph
説明書Copyright © OpenXM.org All rights reserved. (GFL)
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
1 関数マニュアル | ||
Index |
1.1 概要 | ||
1.2 Notation | ||
1.3 主な関数 |
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
mt_graph.rr
に含まれる パッケージ mtg
, mtp
は
oxmgraph
を利用してグラフの三次元表示をおこなう関数の集合体.
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
1.3.1 mtg.plot3d | ||
1.3.2 mtp.parametric_plot3d |
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
mtg.plot3d
:: formula のグラフを描画する.
:: formula のグラフを描画する. options で描画範囲などを指定する.
リスト
式 または quote 型データ. x
, y
の関数.
リスト. [[xmin,xmax],[ymin,ymax]]
自然数. メッシュの分割数.
1 の時に (max+min)/2 が z=0 となるように移動する.
[1210] import("mt_graph.rr"); [1211] mtg.test2();
[1210] import("mt_graph.rr"); [1211] mtg.plot3d(x^2-y^2);
[1210] import("mt_graph.rr"); [1211] mtg.plot3d(x^2-y^2 | domain=[[-1,1],[1,1]]);
[1210] import("mt_graph.rr"); [1211] def myfunc(X,Y) { if (X*Y < 0) return 0; else 1;} [1212] mtg.plot3d(quote(myfunc(x,y)*x*y));
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
mtp.parametric_plot3d
:: formula のグラフを描画する.
:: formula のグラフを描画する. options で描画範囲なのを指定する.
リスト
式 または quote 型データのリスト. s
, t
の関数.
リスト. [[xmin,xmax],[ymin,ymax]]
自然数. メッシュの分割数.
値を 0 とすることで, z 方向の縮尺の自動調整をしない.
[1210] import("mt_graph.rr"); [1211] mtp.test5(); /* Klein bottle (8 figure) */
[1210] import("mt_graph.rr"); [1211] mtp.parametric_plot3d([s,t,s^2-t^2]);
[1210] import("mt_graph.rr"); [1211] def myfunc(X,Y) { if (X*Y < 0) return 0; else 1;} [1212] mtp.parametric_plot3d([s,t,quote(myfunc(s,t)*s*t) | fitting=0);
[ << ] | [ < ] | [上] | [ > ] | [ >> ] | [冒頭] | [目次] | [見出し] | [ ? ] |
移動: | M |
---|
見出し一覧 | 項 | ||
---|---|---|---|
| |||
M | |||
mtg.plot3d | 1.3.1 mtg.plot3d | ||
mtp.parametric_plot3d | 1.3.2 mtp.parametric_plot3d | ||
|
移動: | M |
---|
[冒頭] | [目次] | [見出し] | [ ? ] |
[冒頭] | [目次] | [見出し] | [ ? ] |
[冒頭] | [目次] | [見出し] | [ ? ] |
この文書は3月 16, 2025にtexi2html 5.0を用いて生成されました。
ナビゲーションパネル中のボタンには以下の意味があります。
ボタン | 名称 | 移動先 | 1.2.3項からの移動先 |
---|---|---|---|
[ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
[ < ] | Back | Previous section in reading order | 1.2.2 |
[上] | Up | Up section | 1.2 |
[ > ] | Forward | Next section in reading order | 1.2.4 |
[ >> ] | FastForward | Next chapter | 2 |
[冒頭] | 冒頭 | Cover (top) of document | |
[目次] | 目次 | Table of contents | |
[見出し] | 見出し | 見出し | |
[ ? ] | About | About (help) |
例では、以下に示す構造を持つ文書の1.2.3項を現在位置に仮定しています。
この文書は3月 16, 2025にtexi2html 5.0を用いて生成されました。