Matplotlib extension for creating Smith charts with Python
Library for plotting a fully automatic Smith Chart with various customizable parameters and well selected default values. It also provides the following modifications and features:
- circle shaped drawing area with labels placed around
- plot() accepts complex numbers and numpy.ndarray's
- lines can be automatically interpolated in evenly spaced steps
- linear connections can be transformed to arcs
- start/end markers of lines can be modified and rotated
- gridlines are arcs, which is more efficient
- optional fancy grid with adaptive spacing
- own tick locators for nice axis labels
For making a Smith Chart plot, it is sufficient to import smithplot
and
create a new subplot with projection set to 'smith'. (Requires matplotlib
version 1.2)
A short example can be found in the example
directory and testet with:
`python smith_test.py`
For more details, take a look into smithplot/smithaxes.py
.
example/smith_example.py
creates a bunch of Smith charts with varying
parameters for comparision. Here are the sample plots: