diff options
author | Karl Berry <karl@freefriends.org> | 2005-12-29 00:26:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2005-12-29 00:26:31 +0000 |
commit | c365d78bfcdeb6493a68e35e852244839c1c9ee4 (patch) | |
tree | d488910550c0a1dacc75509f02d03551d88ed2f4 /Master/texmf-doc/doc/german/latex-tipps-und-tricks/disk.mp | |
parent | 0d5f68998e0af490bbfdeb67a5dada34c034c8b0 (diff) |
doc/french+
git-svn-id: svn://tug.org/texlive/trunk@16 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/german/latex-tipps-und-tricks/disk.mp')
-rw-r--r-- | Master/texmf-doc/doc/german/latex-tipps-und-tricks/disk.mp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/german/latex-tipps-und-tricks/disk.mp b/Master/texmf-doc/doc/german/latex-tipps-und-tricks/disk.mp new file mode 100644 index 00000000000..8a5d5d1c74b --- /dev/null +++ b/Master/texmf-doc/doc/german/latex-tipps-und-tricks/disk.mp @@ -0,0 +1,29 @@ +u=1cm; + +beginfig(1); +r=3; +path p[], is; +% grau markierter Kreisring +p[1] := + (0.5r*u,0)..(0,0.5r*u)..(-0.5r*u,0)..(0,-0.5r*u)..cycle; +p[2] := + (0.6r*u,0)..(0,0.6r*u)..(-0.6r*u,0)..(0,-0.6r*u)..cycle; +fill p2 withcolor 0.5white; unfill p1; +% dunkelgrauer Kreissektor von 110 bis 160 Grad +p3 := (0,0)--(r*u,0) rotated 110; +p4 := (0,0)--(r*u,0) rotated 160; +is := buildcycle(p1,p3,p2,p4); +fill is withcolor 0.3white; +% äußere und innere Ringe +draw (r*u,0)..(0,r*u)..(-r*u,0)..(0,-r*u)..cycle; +draw (0.1r*u,0)..(0,0.1r*u)..(-0.1r*u,0).. + (0,-0.1r*u)..cycle; +draw p1; draw p2; +% Beschriftung +z1=(0.9r*u,0.8r*u); z2=(-0.7r*u,0.8r*u); +drawarrow z1{left}--(0.6*r*u,0) rotated 45; +drawarrow z2--(0.6*r*u,0) rotated 130; +label.urt("Spur",z1); +label.ulft("Sektor",z2); +endfig; +end; |