Spiral Radpattern
Spiral Radpattern
In [ ]:
# 2D Polar Plot
plt.figure(figsize=(8, 8))
ax = plt.subplot(111, projection='polar')
ax.plot(angles_rad, nx_values)
ax.set_title('2D Radiation Pattern of Spiral Antenna (H-Plane)')
plt.show()
3D plot
In [ ]: X = nx_values * np.cos(angles_rad)
Y = nx_values * np.sin(angles_rad)
Z = nx_values # Using Nx values as the Z-axis for simplicity
# 3D Plot
fig = plt.figure(figsize=(10, 8))
ax = fig.add_subplot(111, projection='3d')
ax.plot(X, Y, Z, marker='o')
plt.show()