Plot Fields Diff
Package: kwave.utilities
Plots two fields and the difference between them.
Syntax
f = plotFieldsDiff(referenceField, comparisonField)
Description
plotFieldsDiff takes two fields and plots them, along with the different between them. The fields must be the same size, and can be in 1D to 4D. In 3D, the central slice in each Cartesian direction is plotted. If the input is 4D, the function is recursively called with 3D inputs.
Input Arguments
referenceField- (numeric) Reference field.comparisonField- (numeric) Comparison field.
Output Arguments
f- (matlab.ui.Figure) Figure handle for generated figure.