This may not be a bug, however, when running k-Wave and kspaceFirstOrder3D 'out of the box' with the only code change of setting the PlotSim parameter to true, the resulting figures turn out to be highly saturated and quite curious. I was able to get something a bit more reasonable results by normalizing the plot_scale range by the maxima of the data variable in the planeplot function. What is the best way of dealing with this so as to get more meaningful results?
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
planeplot and plot_scale settings
(2 posts) (2 voices)-
Posted 6 years ago #
-
Hi kaius,
The default plot scale is
[-1, 1]
. If you know the amplitude of your driving signal or initial pressure distribution, you can set the plot scale to this (keeping it symmetric about 0 so that white in the colormap corresponds to zero acoustic pressure). Another option is to set'PlotScale', 'auto'
, which will automatically select the best plot scale for each displayed frame.Brad.
Posted 6 years ago #
Reply
You must log in to post.