mk_graph Manual
@def@colon{:}
@overfullrule=0pt
1. Function Manual
1.1 Outline
1.2 Notation
1.3 Functions
1.3.1 mtg.plot3d
- mtg.plot3d(formula)
:: Draw a graph of formula
- mtg.plot3d(formula | options)
:: Draw a graph of formula. Optional arguments are described below.
- return
List
- formula
Expression or quote data. It should be a function in x
, y
.
- optinal arguments
- domain
List. [[xmin,xmax],[ymin,ymax]]
- mesh
Natural number. Division number to mesh the region.
- fit
When it is 1, (max+min)/2 is moved to the orgin in z.
- Details have not been written. See examples.
| [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));
|
1.3.2 mtp.parametric_plot3d
- mtp.parametric_plot3d(formula)
:: Draw a graph of formula
- mtp.parametric_plot3d(formula | options)
:: Draw a graph of formula. Optinal arguments are described below.
- return
List
- formula
Expression or quote data. It should be a function in s
, t
.
- optinal arguments
- domain
List. [[xmin,xmax],[ymin,ymax]]
- mesh
Natural number. Division number to mesh the region.
- fitting
If it is set to 0, then automatic fitting to the z-direction is not done.
- Details have not been written. See examples.
| [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
Table of Contents
Short Table of Contents
About This Document
This document was generated by Nobuki Takayama on June, 8 2017 using texi2html 1.76.
The buttons in the navigation panels have the following meaning:
Button |
Name |
Go to |
From 1.2.3 go to |
[ < ] |
Back |
previous section in reading order |
1.2.2 |
[ > ] |
Forward |
next section in reading order |
1.2.4 |
[ << ] |
FastBack |
beginning of this chapter or previous chapter |
1 |
[ Up ] |
Up |
up section |
1.2 |
[ >> ] |
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:
- 1. Section One
- 1.1 Subsection One-One
- 1.2 Subsection One-Two
- 1.2.1 Subsubsection One-Two-One
- 1.2.2 Subsubsection One-Two-Two
- 1.2.3 Subsubsection One-Two-Three
<== Current Position
- 1.2.4 Subsubsection One-Two-Four
- 1.3 Subsection One-Three
- 1.4 Subsection One-Four
This document was generated by Nobuki Takayama on June, 8 2017 using texi2html 1.76.