show3D¶
-
pylayers.antprop.antenna.
show3D
(F, theta, phi, k, col=True)[source]¶ show 3D matplotlib diagram
F : ndarray (Nf,Nt,Np) theta : ndarray (1xNt)
angle
- phindarray (1xNp)
angle
theta : ndarray (Nt) k : int
frequency index
- colboolean
if col -> color coded plot3D if col == False -> simple plot3D
>>> import matplotlib.pyplot as plt >>> from pylayers.antprop.antenna import * >>> A = Antenna('defant.vsh3') >>> A.eval(grid=True)
len(theta) must be equal with shape(F)[1] len(phi) must be equal with shape(F)[2]