Description Details Author(s) References See Also Examples
Provides an R interface to METAPOST. There are functions to generate an R description of a MetaPost curve, functions to generate MetaPost code from an R description, functions to process MetaPost code, and functions to read solved MetaPost paths back into R.
Generate a MetaPost path with functions like knot
.
Write the MetaPost path to a file with metapost
.
Run mpost
on the file with mpost
.
Read the solved path (Bezier control points) into R
with mptrace
.
Draw a solved path with grid.metapost
.
It is also possible to pass grid.metapost
the original
path (and it will perform the write/solve/read steps itself).
Paul Murrell <paul@stat.auckland.ac.nz>
Hobby, J. D. and the MetaPost development team (2018). METAPOST a user's manual. https://www.tug.org/docs/metapost/mpman.pdf
knot
metapost
mpost
mptrace
grid.metapost
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.