Hi,

How can I use zoom for polar plots ?
I mean a circular cutout would be better than a rectangular cutout.

Nils

from scipy import *
from pylab import show, polar
def M(omega):
    s = 1j*omega
    return linalg.solve(s*identity(n)-A_0,A_1)*exp(-h_0*s)

A_0 = array(([0,1.],[-32,-2]))
A_1 = array(([0.8,-0.4],[0.16,0.0]))
n = A_0.shape[0]
omega = linspace(-50,50,400)
h_0 = 0.2
for o in omega:
    w = linalg.eigvals(M(o))
    ind = argsort(abs(w))
    w = take(w,ind)
    polar([angle(w[-1])],[abs(w[-1])],'b.')
show()
    

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to