October 2018
Beginner to intermediate
676 pages
18h 30m
English
The following are the steps required to draw our plot:
fig = plt.figure(1, figsize=(8, 4))
curv2rect_tr = PolarAxes.PolarTransform()
pi = np.piangle_ticks = [(0, r"$0$"), (.25*pi, r"$\frac{1}{4}\pi$"), (.5*pi, r"$\frac{1}{2}\pi$"), (.75*pi, r"$\frac{3} {4}\pi$"), ( pi, r"$\pi$"), (1.25*pi, r"$1.25\pi$"), (1.5*pi, r"$1.5\pi$"), (1.75*pi, r"$1.75\pi$")]
grid_locator1 = FixedLocator([value for value, string in angle_ticks])tick_formatter1 = DictFormatter(dict(angle_ticks))grid_locator2 ...
Read now
Unlock full access