<jupyter_start><jupyter_text>Plotting Tools<jupyter_code># read in data
event_dir = '../tests/data/cwb'
streams = []
for filename in glob.glob(event_dir + '/*'):
    streams += [read_data(filename)]<jupyter_output><empty_output><jupyter_text>Variations of Arias Intensity Plots Full default plot:<jupyter_code>axes = plot_arias(streams[3])<jupyter_output><empty_output><jupyter_text>Combining multiple plots:<jupyter_code>fig, axs = plt.subplots(len(streams), 3, figsize=(15,10))
axs = axs.flatten()
idx = 0
for stream in streams:
    axs = plot_arias(stream, axes=axs, axis_index=idx, minfontsize=15,
                        show_maximum=False, title="18km NNE of Hualian, Taiwan")
    idx += 3<jupyter_output><empty_output><jupyter_text>Variations of Duration Plots Full default plot:<jupyter_code>durations = [(0.05, 0.75),
                 (0.2, 0.8),
                 (0.05, .95)]
axes = plot_durations(streams[3], durations)<jupyter_output><empty_output><jupyter_text>Combining multiple plots:<jupyter_code>fig, axs = plt.subplots(len(streams), 3, figsize=(15,10))
axs = axs.flatten()
idx = 0
for stream in streams:
    axs = plot_durations(stream, durations, axes=axs, axis_index=idx, minfontsize=15, title="18km NNE of Hualian, Taiwan")
    idx += 3<jupyter_output><empty_output><jupyter_text>Moveout plots Full default plot:<jupyter_code>epicenter_lat = 24.14
epicenter_lon = 121.69
fig, ax = plot_moveout(streams, epicenter_lat, epicenter_lon, 'BN1')<jupyter_output><empty_output><jupyter_text>Moveout with scaling and specified colormap:The data is automatically normalized if a scaling factor is specified.<jupyter_code>fig, ax = plot_moveout(streams, epicenter_lat, epicenter_lon, 'BN1', cmap='nipy_spectral_r', figsize=(15, 10),
        minfontsize=16, normalize=True, scale=10)<jupyter_output><empty_output>