summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/parametricsurface.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/parametricsurface.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/parametricsurface.asy7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf/doc/asymptote/examples/parametricsurface.asy b/Master/texmf/doc/asymptote/examples/parametricsurface.asy
index d020bbe6e7f..f78e8470658 100644
--- a/Master/texmf/doc/asymptote/examples/parametricsurface.asy
+++ b/Master/texmf/doc/asymptote/examples/parametricsurface.asy
@@ -11,12 +11,13 @@ triple f(pair t) {
}
pen p=rgb(0.2,0.5,0.7);
+surface s=surface(f,(0,0),(2pi,2pi),8,8,Spline);
// surface only
-//draw(surface(f,(0,0),(2pi,2pi),30,15));
+draw(s,lightgray);
// mesh only
-//draw(surface(f,(0,0),(2pi,2pi),30,15),nullpen,meshpen=p);
+// draw(s,nullpen,meshpen=p);
// surface & mesh
-draw(surface(f,(0,0),(2pi,2pi),30,15),lightgray,meshpen=p);
+// draw(s,lightgray,meshpen=p);