
科研画图神器:MetaPost 和 Asymptote - 知乎 - 知乎专栏
今天我们就来了解一下 MetaPost 和 Asymptote (单词本意“渐近线”),对于它们,我们不必深入了解,能够使用即可。 Step1. 确保已经安装Texlive和TeXstudio. 其中GhostScript用于将PostScirpt文件转换为PDF,而ImageMagick则用于将图片输出为JPEG、GIF、TIFF等其它格式。 出现安装成功界面,点击exit退出即可。 pair P; P = 2cm* (sind(2*i), cosd(3*i)); fill fullcircle scaled 4mm shifted P withcolor red; draw fullcircle scaled 4mm shifted P withcolor green;
MetaPost: 强大的图形语言 - CSDN博客
2017年5月3日 · MetaPost是由John Hobby为Bell Labs开发的一种强大的绘图语言,它深受Donald Knuth的MetaFont设计启发,特别是在Stanford时期。MetaPost以其描述性语法而著称,特别适用于创建精确且美观的图形,尤其是在科学和工程...
MetaPost is a programming language much like Knuth’s METAFONT1 [8] except that it outputs either vector graphics in the PostScript or SVG formats or bitmap graphics in the PNG format. Borrowed from METAFONT are the basic tools for creating and manipulating pictures.
MetaPost - Wikipedia
MetaPost refers to both a programming language and the interpreter of the MetaPost programming language. Both are derived from Donald Knuth's Metafont language and interpreter. MetaPost produces vector graphic diagrams from a geometric/algebraic description.
MetaPost - TeX Users Group
This page has a list of links related to MetaPost, a powerful tool for creating graphics in scalable PostScript. It was written by John Hobby, based on Metafont by Donald Knuth. Around 2007, it was separated into a frontend and backend library (MPlib, which was then linked into LuaTeX) by Taco Hoekwater, who also converted the source to CWEB.
学习 MetaPost 和 TikZ 这一类的 LaTeX 绘图工具有价值吗? - 知乎
MetaPost 脱胎于字体设计语言 MetaFont,其语法可以用相对直观的方式精确描述 Bézier 曲线,又自带语法方便的线性方程求解功能、图形的线性变换功能,因而有很强的二维曲线造型功能;同时又有宏定义、循环、分支等程序结构,可以表达较复杂的数学图形;同时 ...
MetaPost画图入门 - 简书
2019年6月16日 · MetaPost由John D. Hobby发明的一个跨平台矢量图形作图工具,现由Taco Hoekwater进行维护开发,现在最新稳定版本是 1.211,于2010年4月发行,预览版是1.502,于2010年7月发行。MetaPost深受Metafont的影响,继承了Metafont对直线、曲线、点和几何变换等图形优雅的定义语法的 ...
Metapost 学习笔记 - 水阙
2020年3月31日 · Metapost 语句以分号结尾, 除了最后的 end! 这里简单说一下源码结构,和 LaTeX 一样,Metapost 有导言区,可以做一些设置之类的工作。 如 hello.mp 中前三句就设置了输出文件格式,以及文件名规范等。 然后作图部分主要由 beginfig--endfig 块控制。 draw something; draw anything; 括号中的 x 替换为数字,类似图片 id. 一个源文件中可以有多个 beginfig--endfig 块,编译后每个块对应一张图片。 编译 hello.mp 后即可得到两张图片:
MetaPost - 维基百科,自由的百科全书
MetaPost 是一个 程序语言 和它的 编译器 的名字,衍生于 高德纳 的 Metafont。 MetaPost擅长通过数学描述制作矢量图,生成的图片为 PostScript 格式。 它的语法来自 Metafont。 这个文件 example.mp 通过MetaPost的编译器编译(在 Linux 系统中使用 mpost 命令)之后产生了3个 EPS文件: example.1, example.2, example.3。 这三个文件就是右边的三张图.
METAPOST: numeric, pair, path, transform, rgbcolor, cmykcolor, string, boolean, picture, and. pen. These data types allow users to store fragments of the graphics for later use. We will briefly discuss each of these data types and elaborate on how they are used in a typical. METAPOST. program. numeric —numbers 3