diff options
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/tensor.asy')
-rw-r--r-- | Master/texmf/doc/asymptote/examples/tensor.asy | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf/doc/asymptote/examples/tensor.asy b/Master/texmf/doc/asymptote/examples/tensor.asy index 3791b032b92..aa633c4087b 100644 --- a/Master/texmf/doc/asymptote/examples/tensor.asy +++ b/Master/texmf/doc/asymptote/examples/tensor.asy @@ -1,8 +1,10 @@ size(200); -pen[][] p={{red,green,blue,cyan},{green,blue,rgb(black),magenta}}; +//pen[][] p={{red,green,blue,cyan},{green,blue,rgb(black),magenta}}; +pen[][] p={{red,green,blue,cyan},{blue,green,magenta,rgb(black)}}; path G=(0,0){dir(-120)}..(1,0)..(1,1)..(0,1)..cycle; -path[] g={G,subpath(G,1,2)..(2,1)..(2,0)..cycle}; +path[] g={G,subpath(G,2,1)..(2,0)..(2,1)..cycle}; pair[][] z={{(0.5,0.5),(0.5,0.5),(0.5,0.5),(0.5,0.5)},{(2,0.5),(2,0.5),(1.5,0.5),(2,0.5)}}; tensorshade(g,p,z); + dot(g); |