Annotation of OpenXM/src/asir-contrib/packages/doc/mt_graph/mk_graph-en.texi, Revision 1.3
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.
1.3 ! takayama 75: @item fit
! 76: When it is 1, (max+min)/2 is moved to the orgin in z.
1.1 takayama 77: @end table
78: @end table
79:
80: @itemize @bullet
81: @item Details have not been written. See examples.
82: @end itemize
83:
84: @example
85: [1210] import("mt_graph.rr");
86: [1211] mtg.test2();
87: @end example
88:
89:
90: @example
91: [1210] import("mt_graph.rr");
92: [1211] mtg.plot3d(x^2-y^2);
93: @end example
94:
95: @example
96: [1210] import("mt_graph.rr");
97: [1211] mtg.plot3d(x^2-y^2 | domain=[[-1,1],[1,1]]);
98: @end example
99:
100: @example
101: [1210] import("mt_graph.rr");
1.2 ohara 102: [1211] def myfunc(X,Y) @{ if (X*Y < 0) return 0; else 1;@}
1.1 takayama 103: [1212] mtg.plot3d(quote(myfunc(x,y)*x*y));
104: @end example
105:
106:
107:
108:
109: @node mtp.parametric_plot3d,,, Functions
110: @subsection @code{mtp.parametric_plot3d}
111: @findex mtp.parametric_plot3d
112:
113: @table @t
114: @item mtp.parametric_plot3d(@var{formula})
115: :: Draw a graph of @var{formula}
116: @item mtp.parametric_plot3d(@var{formula} | @var{options})
117: :: Draw a graph of @var{formula}. Optinal arguments are described below.
118: @end table
119:
120: @table @var
121: @item return
122: List
123: @item formula
124: Expression or quote data. It should be a function in @code{s}, @code{t}.
125: @item optinal arguments
126: @table @t
127: @item domain
128: List. [[xmin,xmax],[ymin,ymax]]
129: @item mesh
130: Natural number. Division number to mesh the region.
131: @item fitting
132: If it is set to 0, then automatic fitting to the z-direction is not done.
133: @end table
134: @end table
135:
136: @itemize @bullet
137: @item Details have not been written. See examples.
138: @end itemize
139:
140: @example
141: [1210] import("mt_graph.rr");
142: [1211] mtp.test5(); /* Klein bottle (8 figure) */
143: @end example
144:
145:
146: @example
147: [1210] import("mt_graph.rr");
148: [1211] mtp.parametric_plot3d([s,t,s^2-t^2]);
149: @end example
150:
151:
152: @example
153: [1210] import("mt_graph.rr");
1.2 ohara 154: [1211] def myfunc(X,Y) @{ if (X*Y < 0) return 0; else 1;@}
1.1 takayama 155: [1212] mtp.parametric_plot3d([s,t,quote(myfunc(s,t)*s*t) | fitting=0);
156: @end example
157:
158:
159:
160:
161: @node Index,,, Top
162: @unnumbered Index
163: @printindex fn
164: @printindex cp
165: @iftex
166: @vfill @eject
167: @end iftex
168: @summarycontents
169: @contents
170:
171: @bye
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>