[OS X TeX] Looking for inline mpost example

Gerben Wierda Gerben.Wierda at rna.nl
Sun Dec 26 14:04:58 EST 2004


And of course, how could I forget: mfpic

\usepackage[metapost,mplabels]{mfpic}

\begin{mfpic}[8][8]{-3}{30}{-3}{20}
\axis[0]{x}
\axis[0]{y}
\xmarks{0 step 5 until 25}
\ymarks{0 step 5 until 15}
\tlabelsep{4pt}
\tlabel(-1.6,19){P}
\tlabel(29,-1.1){Q}
\tlabelcolor{blue}\drawcolor{blue}
\function[p]{0,18,1}{6-x/3}
\tlabel[cc342](5.1,5){Men}
\tlabelcolor{red}\drawcolor{red}
\function[p]{8,20,1}{30-(1.5*x)}
\tlabel[cc302](18,5){Women}
\tlabelcolor{black}\drawcolor{black}
\function{1,25,0.1}{(30/(3*x**0.3)) - 8.1}
\tlabel(22,0.8){$AC_m$}
\function{9.9,25,0.1}{(30/(3*(x-8.63)**0.3)) - 3}
\tlabel(21,7.6){$AC_w$}
\dashed\function[p]{0,11.4,1}{12.3}
\tlabel(-2.5,12.3){$P_w$}
\dashed\polyline{(11.6,0),(11.6,12.3)}
\tlabel(10.9,-1.1){$Q_w$}
\dashed\function[p]{0,9.4,1}{2.8}
\tlabel(-2.5,2.8){$P_m$}
\dashed\polyline{(9.4,0),(9.4,2.8)}
\tlabel(8.3,-1.1){$Q_m$}
\end{mfpic}

On 26 Dec 2004, at 11:24, Gerben Wierda wrote:

> On Dec 26, 2004, at 10:08, Eric van der Oord wrote:
>
>> That was a very good question, and there were very good answers --- 
>> I've learned a lot !
>>
>> IMHO, the emp package deserves beeing included in Gerben's 
>> distribution.
>
> Will do.
>
> G
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list