@overfullrule=0pt
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1 Function Manual | ||
Index |
1.1 Outline | ||
1.2 Notation | ||
1.3 Functions |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.3.1 mtg.plot3d | ||
1.3.2 mtp.parametric_plot3d |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
mtg.plot3d
:: Draw a graph of formula
:: Draw a graph of formula. Optional arguments are described below.
List
Expression or quote data. It should be a function in x
, y
.
List. [[xmin,xmax],[ymin,ymax]]
Natural number. Division number to mesh the region.
When it is 1, (max+min)/2 is moved to the orgin in z.
[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));
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
mtp.parametric_plot3d
:: Draw a graph of formula
:: Draw a graph of formula. Optinal arguments are described below.
List
Expression or quote data. It should be a function in s
, t
.
List. [[xmin,xmax],[ymin,ymax]]
Natural number. Division number to mesh the region.
If it is set to 0, then automatic fitting to the z-direction is not done.
[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);
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Jump to: | M |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
M | |||
mtg.plot3d | 1.3.1 mtg.plot3d | ||
mtp.parametric_plot3d | 1.3.2 mtp.parametric_plot3d | ||
|
Jump to: | M |
---|
[Top] | [Contents] | [Index] | [ ? ] |
[Top] | [Contents] | [Index] | [ ? ] |
[Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 16, 2025 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button | Name | Go to | From 1.2.3 go to |
---|---|---|---|
[ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
[ < ] | Back | Previous section in reading order | 1.2.2 |
[ Up ] | Up | Up section | 1.2 |
[ > ] | Forward | Next section in reading order | 1.2.4 |
[ >> ] | FastForward | Next chapter | 2 |
[Top] | Top | Cover (top) of document | |
[Contents] | Contents | Table of contents | |
[Index] | Index | Index | |
[ ? ] | About | About (help) |
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
This document was generated on March 16, 2025 using texi2html 5.0.