Generating figures¶
We want to have figures with latex annotations. One way to do this is:
-
Generate a figure using
matplotliband save it using -
Generate a standalone
withpdffrom thepgfusing -
Convert the
Onpdftosvgfedorawe need todnf install pdf2svg. -
And add the figure as follows
See the generate-example-figure target in misc/figures/Makefile.