23.10.2014 Views

mfpic-doc.pdf.

mfpic-doc.pdf.

mfpic-doc.pdf.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.11 PARAMETERS. 60<br />

(notably those that set the axismargins and \tlabel parameters) change both TEX parameters and<br />

METAFONT parameters, and it is important to keep them consistent.<br />

There are a few parameters that do obey TEX grouping, but only inside <strong>mfpic</strong> environments.<br />

These are noted where the parameter is described.<br />

All parameters are initialized when MFPIC is loaded. We give the initial value or state in each of<br />

these descriptions.<br />

\<strong>mfpic</strong>unit<br />

This dimension stores the basic unit length for MFPIC pictures. The x and y scales in the \<strong>mfpic</strong><br />

macro are multiples of this unit. The initial value is 1pt. It is global outside an <strong>mfpic</strong> environment.<br />

Changes made to it inside an <strong>mfpic</strong> environment have no effect and are lost at the end of the<br />

environment.<br />

\pointsize<br />

This dimension stores the diameter of the circle drawn by the \point macro and the diameter<br />

of the symbols drawn by \plot, \plotsymbol and \plotnodes. The initial value is 2pt.<br />

\pointfilltrue, \pointfillfalse<br />

This TEX boolean switch determines whether the circle drawn by \point will be filled or open<br />

(outline drawn, inside erased). The initial state is true: filled. This value is local to any TEX group<br />

inside an <strong>mfpic</strong> environment. Outside such it is global.<br />

\pen{〈size〉}<br />

\drawpen{〈size〉}<br />

\penwd{〈size〉}<br />

These commands establishes the width of the normal drawing pen (that is, the thickness of lines,<br />

whether solid or dashed). The initial value is 0.5bp. This width is stored by METAFONT. This has<br />

no effect on the size of dots for \dotted, \shade, \grid, etc. It also has no effect on the lines<br />

drawn for hatching. There exist three aliases for this command, the first two to maintain backward<br />

compatibility, the last one for consistency with other dimension changing commands. Publishers<br />

generally recommended authors to use at least a width of one-half point for drawings submitted for<br />

publication.<br />

\shadewd{〈diam〉}<br />

This command sets the diameter of the dots used in the shading macro. The drawing and hatching<br />

pens are unaffected by this. The initial value is 0.5bp, and the value is stored by METAFONT.<br />

\hatchwd{〈size〉}<br />

This sets the line thickness used in the hatching macros. The drawing pen and shading dots are<br />

unaffected by this. The initial value is 0.5bp, and the value is stored by METAFONT.<br />

\polkadotwd{〈diam〉}<br />

This sets the diameter of the dots used in the \polkadot macro. The initial value is 5bp, and the<br />

value is stored by METAFONT.<br />

\headlen<br />

This dimension stores the length of the arrowhead drawn by the \arrow macro. The initial value<br />

is 3pt.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!