diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/metaplot/examples/figure_1.mp')
-rw-r--r-- | Master/texmf-dist/doc/latex/metaplot/examples/figure_1.mp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/metaplot/examples/figure_1.mp b/Master/texmf-dist/doc/latex/metaplot/examples/figure_1.mp new file mode 100644 index 00000000000..71d14854a7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/metaplot/examples/figure_1.mp @@ -0,0 +1,29 @@ +% Figure 1 from _MetaPlot, MetaContour, and Other Collaborations +% with METAPOST_, preprint version, given at the Practical TeX 2004 +% conference. + +prologues :=0; + +% cap1.mp is the output from the cap1.cc program. +input cap1 + +% Define pens, for convenience. +pen thickline; thickline := pencircle scaled 2pt; +pen thinline; thinline := pencircle scaled 1pt; +pen hairline; hairline := pencircle scaled 0.25pt; + +beginfig(1) + pair contactpoint; contactpoint := ulcorner capillary scaled 0.5in; + pair rightend; rightend := (xpart(lrcorner capillary) * 0.5in, 0); + linecap := butt; + draw (capillary scaled 0.5in) withcolor (0.85,0.85,0.85); + drawarrow (0,-0.25in) -- (0,0.5in) withpen thinline; + label.top(btex $z$ etex,(0,0.5in)); + drawarrow (0,0) -- (rightend + (0.1in,0)) withpen thinline; + label.rt(btex $y$ etex, (rightend + (0.1in,0))); + draw ((0,0) -- (0.24in, -0.24in)) shifted contactpoint withpen hairline; + label(btex $\theta$ etex, (contactpoint + (0.07in, -0.18in))); +endfig; + +end +
\ No newline at end of file |