Here is a simple example. There are some other more advanced things you can do as well. Check out the examples folder for more complex scripts.
.. literalinclude:: ../examples/mdf.py
This will output mdf.tex
, a standalone tex document that (by default) is also compiled to mdf.pdf
, shown below:
Here is an example that uses a whole bunch of the more advanced features in pyXDSM
.
It is mostly just a reference for all the customizations you can do. The code for this diagram is provided here
pyXDSM
can also generate a figure of a block matrix equation.
An example script is available here.