Markdeep is a technology for writing plain text documents that will look good in any web browser, whether local or remote. It supports diagrams, calendars, equations, and other features as extensions of Markdown syntax.
PyX is a Python package for the creation of PostScript, PDF, and SVG files. It combines an abstraction of the PostScript drawing model with a TeX/LaTeX interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these primitives.
This explains several ways to use consistent colors across plots (same way works with scales). However, the easy way explained in one of the alternative answers does not seem to work for some versions of R/ggplot2. Opting for the accepted answer always works though.
J. Zheng, S. Pawar, и D. Goodman. (2017)cite arxiv:1710.04626Comment: Submitted to IEEE Transactions on Visualization and Computer Graphics on 11/04/2018.