Annotation of OpenXM/src/asir-contrib/packages/doc/mt_graph/mk_graph-en.texi, Revision 1.2
1.1 takayama 1: \input texinfo
2: @def@colon{:}
3:
4: @iftex
5: @catcode`@#=6
6: @def@b#1{{@bf@gt #1}}
7: @catcode`@#=@other
8: @end iftex
9: @overfullrule=0pt
10: @setfilename asir-contrib-mk_graph
11: @settitle mk_graph Manual
12: @titlepage
13: @title mk_graph Manual
14: @subtitle Edition : 2009.02.12
15: @author OpenXM.org
16: @end titlepage
17:
18: @synindex vr fn
19: @node Top,, (dir), (dir)
20:
21: @menu
22: * Function Manual::
23: * Index::
24: @end menu
25:
26: @node Function Manual,,, Top
27: @chapter Function Manual
28:
29: @menu
30: * Outline::
31: * Notation::
32: * Functions::
33: @end menu
34:
35: @node Outline,,, Function Manual
36: @section Outline
37:
38:
39:
40: @node Notation,,,Function Manual
41: @section Notation
42:
43: @node Functions,,, Function Manual
44: @section Functions
45:
46: @menu
47: * mtg.plot3d::
48: * mtp.parametric_plot3d::
49: @end menu
50:
51: @node intersect,,, Functions
52:
53: @node mtg.plot3d,,, Functions
54: @subsection @code{mtg.plot3d}
55: @findex mtg.plot3d
56:
57: @table @t
58: @item mtg.plot3d(@var{formula})
59: :: Draw a graph of @var{formula}
60: @item mtg.plot3d(@var{formula} | @var{options})
61: :: Draw a graph of @var{formula}. Optional arguments are described below.
62: @end table
63:
64: @table @var
65: @item return
66: List
67: @item formula
68: Expression or quote data. It should be a function in @code{x}, @code{y}.
69: @item optinal arguments
70: @table @t
71: @item domain
72: List. [[xmin,xmax],[ymin,ymax]]
73: @item mesh
74: Natural number. Division number to mesh the region.
75: @end table
76: @end table
77:
78: @itemize @bullet
79: @item Details have not been written. See examples.
80: @end itemize
81:
82: @example
83: [1210] import("mt_graph.rr");
84: [1211] mtg.test2();
85: @end example
86:
87:
88: @example
89: [1210] import("mt_graph.rr");
90: [1211] mtg.plot3d(x^2-y^2);
91: @end example
92:
93: @example
94: [1210] import("mt_graph.rr");
95: [1211] mtg.plot3d(x^2-y^2 | domain=[[-1,1],[1,1]]);
96: @end example
97:
98: @example
99: [1210] import("mt_graph.rr");
1.2 ! ohara 100: [1211] def myfunc(X,Y) @{ if (X*Y < 0) return 0; else 1;@}
1.1 takayama 101: [1212] mtg.plot3d(quote(myfunc(x,y)*x*y));
102: @end example
103:
104:
105:
106:
107: @node mtp.parametric_plot3d,,, Functions
108: @subsection @code{mtp.parametric_plot3d}
109: @findex mtp.parametric_plot3d
110:
111: @table @t
112: @item mtp.parametric_plot3d(@var{formula})
113: :: Draw a graph of @var{formula}
114: @item mtp.parametric_plot3d(@var{formula} | @var{options})
115: :: Draw a graph of @var{formula}. Optinal arguments are described below.
116: @end table
117:
118: @table @var
119: @item return
120: List
121: @item formula
122: Expression or quote data. It should be a function in @code{s}, @code{t}.
123: @item optinal arguments
124: @table @t
125: @item domain
126: List. [[xmin,xmax],[ymin,ymax]]
127: @item mesh
128: Natural number. Division number to mesh the region.
129: @item fitting
130: If it is set to 0, then automatic fitting to the z-direction is not done.
131: @end table
132: @end table
133:
134: @itemize @bullet
135: @item Details have not been written. See examples.
136: @end itemize
137:
138: @example
139: [1210] import("mt_graph.rr");
140: [1211] mtp.test5(); /* Klein bottle (8 figure) */
141: @end example
142:
143:
144: @example
145: [1210] import("mt_graph.rr");
146: [1211] mtp.parametric_plot3d([s,t,s^2-t^2]);
147: @end example
148:
149:
150: @example
151: [1210] import("mt_graph.rr");
1.2 ! ohara 152: [1211] def myfunc(X,Y) @{ if (X*Y < 0) return 0; else 1;@}
1.1 takayama 153: [1212] mtp.parametric_plot3d([s,t,quote(myfunc(s,t)*s*t) | fitting=0);
154: @end example
155:
156:
157:
158:
159: @node Index,,, Top
160: @unnumbered Index
161: @printindex fn
162: @printindex cp
163: @iftex
164: @vfill @eject
165: @end iftex
166: @summarycontents
167: @contents
168:
169: @bye
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>