Skip to content

Commit

Permalink
Example: commented out the no alpha example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory C Weber committed Mar 4, 2016
1 parent ca61ca5 commit 8098d78
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions examples/plotting/plot_rhi_contours_differential_reflectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@
# linewidth=0.00015 makes lines between patches very small
# antialiased=true removes moire patterns.

display.plot('reflectivity', sweep=sweep, vmin=-8, vmax=64.0, fig=fig,
ax=ax, colorbar_label='Reflectivity (dB)', alpha=0.75,
edgecolors=(0.5, 0.5, 0.5, 0.3), linewidth=0.001,
antialiased=True)

# Normal no alpha
# display.plot('reflectivity', sweep=sweep, vmin=-8, vmax=64.0, fig=fig,
# ax=ax, colorbar_label='Reflectivity (dB)', alpha=0.75,
# edgecolors=(0.5, 0.5, 0.5, 0.3), linewidth=0.001,
# antialiased=True)
# ax=ax, colorbar_label='Reflectivity (dB)', antialiased=True)

display.plot('reflectivity', sweep=sweep, vmin=-8, vmax=64.0, fig=fig,
ax=ax, colorbar_label='Reflectivity (dB)', antialiased=True)
# get data
start = radar.get_start(sweep)
end = radar.get_end(sweep) + 1
Expand Down Expand Up @@ -71,7 +73,6 @@
levels_ice = np.arange(-2, -0, 0.5)
levels_rain = [0.75]

print(levels)
# adds contours to plot
contours = ax.contour(R, z, data, levels, linewidths=1, colors='k',
antialiased=True)
Expand Down

0 comments on commit 8098d78

Please sign in to comment.