plot_transient_pressure()
Description: Plots the amplitude of each element of a transducer array.
Usage
plot_transient_pressure(pressure, coord_grid, time_samples, plane);
plot_transient_pressure(pressure, coord_grid, time_samples, plane, plot_type);
Arguments
- pressure A 4-D matrix containing transient pressure data, e.g. the result of a calculation with fnm_tsd.
- coord_grid A FOCUS coordinate grid created with set_coordinate_grid.
- time_samples A FOCUS time samples struct created with set_time_samples.
- plane The plane to use when displaying the pressure. Options are 'xz', 'yz', and 'xy'.
- plot_type An optional argument describing the type of plot to use. Options are 'mesh' and 'pcolor'.