Skip to content

Instantly share code, notes, and snippets.

@edy555
Created March 30, 2013 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edy555/5275775 to your computer and use it in GitHub Desktop.
Save edy555/5275775 to your computer and use it in GitHub Desktop.
スミスチャート等をプロットするためのスクリプト
#!/usr/bin/env python
from pylab import *
import skrf as rf
file = sys.argv[1] or 'measured.s1p'
s = rf.Network(file)
s.plot_it_all(show_legend=False)
#subplot(122)
#ax = gca()
#s.plot_s_db(ax=ax, show_legend=False)
#s.plot_s_polar(show_legend=False)
#subplot(121)
#ax = gca()
#s.plot_s_smith(ax=ax, show_legend=False)
rf.func_on_all_figs(grid,alpha=.3)
show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment