arim.plot#
Plotting utilities based on matplotib.
Some default values are configurable via the dictionary arim.plot.conf
.
- arim.plot.conf#
Dictionary of default values. For some functions, if an argument is not populated, its values will be populated from this dictionary. Example:
# save the figure (independently on conf['savefig]) plot_oyz(data, grid, savefig=True, filename='foo') # do not save the figure independently on conf['savefig]) plot_oyz(data, grid, savefig=False, filename='foo') # save the figure depending only if conf['savefig'] is True plot_oyz(data, grid, filename='foo')
- arim.plot.micro_formatter#
- arim.plot.milli_formatter#
- arim.plot.mega_formatter#
Format the labels of an axis in a given unit prefix. Usage:
import matplotlib.pyplot as plt ax = plt.plot(distance_vector, data) ax.xaxis.set_major_formatter(arim.plot.milli_formatter)
|
|
|
Scale such as: |
|
Dynamic plotting of rays on a plot. |
|
Plot Bscan (timetraces vs time) |
|
Plot a B-scan. |
|
|
|
Plot interfaces on the Oxz plane. |
|
Plot data in the plane Oxz. |
|
Plot many Oxz plots on the same figure. |
|
Plot the estimated power spectrum of a timetrace using Welch's method. |
|
Plot a TFM in plane Oxz. |