Risa/Asir mt_graph 説明書

利用説明書

1.0 版

2009.02.12

by OpenXM.org


関数マニュアル

概要

mt_graph.rr に含まれる パッケージ mtg, mtpoxmgraph を利用してグラフの三次元表示をおこなう関数の集合体.

Notation

主な関数

mtg.plot3d

mtg.plot3d(formula)
:: formula のグラフを描画する.
mtg.plot3d(formula | options)
:: formula のグラフを描画する. options で描画範囲などを指定する.
return
リスト
formula
式 または quote 型データ. x, y の関数.
オプション
domain
リスト. [[xmin,xmax],[ymin,ymax]]
mesh
自然数. メッシュの分割数.
[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

mtp.parametric_plot3d(formula)
:: formula のグラフを描画する.
mtp.parametric_plot3d(formula | options)
:: formula のグラフを描画する. options で描画範囲なのを指定する.
return
リスト
formula
式 または quote 型データのリスト. s, t の関数.
オプション
domain
リスト. [[xmin,xmax],[ymin,ymax]]
mesh
自然数. メッシュの分割数.
fitting
値を 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);

Index

Jump to: m

m

  • mtg.plot3d
  • mtp.parametric_plot3d
  • Jump to:

    @vfill @eject


    This document was generated on 23 February 2009 using texi2html 1.56k.