Debian Codegraph @

texmf-dist/doc/metapost/featpost/example/sfearschem.mp

raw
1 % sfearchem.mp
2 % L. Nobre G.
3 % 2003
4
5 input featpost3Dplus2D;
6
7 verbatimtex
8 \documentclass{article}
9 \usepackage{beton}
10 \usepackage{concmath}
11 \usepackage{ccfonts}
12 \begin{document}
13 etex
14
15 defaultfont:="cmssu30";
16
17 beginfig(1);
18 f := (4,2,1.5);
19 cartaxes( 1.5,1.5,0.75 );
20 drawoptions( withcolor red withpen pencircle scaled 1.3pt );
21 draw goodcirclepath( (0,0,0), (0,0,1), 1 );
22 drawoptions();
23 draw rigorouscircle( (0,0,0), (0,0,1), 1 );
24 draw spatialhalfcircle( (0,0,0), (0,0,1), 0.5, true );
25 draw spatialhalfcircle( (0,0,0), (0,0,1), 0.5, false ) dashed evenly;
26 draw rigorousfearpath( (0,0,0), 0.5 );
27 draw rp((0,0,0.5)) withpen pencircle scaled 1.3pt;
28 endfig;
29
30 verbatimtex
31 \end{document}
32 etex
33
34 end;