version 1.1, 2009/02/12 08:12:58 |
version 1.2, 2009/02/21 21:21:18 |
Line 97 Expression or quote data. It should be a function in @ |
|
Line 97 Expression or quote data. It should be a function in @ |
|
|
|
@example |
@example |
[1210] import("mt_graph.rr"); |
[1210] import("mt_graph.rr"); |
[1211] def myfunc(X,Y) { if (X*Y < 0) return 0; else 1;} |
[1211] def myfunc(X,Y) @{ if (X*Y < 0) return 0; else 1;@} |
[1212] mtg.plot3d(quote(myfunc(x,y)*x*y)); |
[1212] mtg.plot3d(quote(myfunc(x,y)*x*y)); |
@end example |
@end example |
|
|
Line 149 Expression or quote data. It should be a function in @ |
|
Line 149 Expression or quote data. It should be a function in @ |
|
|
|
@example |
@example |
[1210] import("mt_graph.rr"); |
[1210] import("mt_graph.rr"); |
[1211] def myfunc(X,Y) { if (X*Y < 0) return 0; else 1;} |
[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); |
[1212] mtp.parametric_plot3d([s,t,quote(myfunc(s,t)*s*t) | fitting=0); |
@end example |
@end example |
|
|