Thank you Bradly for the quick and helpful response to my first post. I used the transducer.plot and it obtains the plot of the transducer. However, I would like to know how you obtained both the plot for the transducer and medium in one plot. Every time I get the voxel plot for the transducer and then say hold on and then type in transducer.plot I obtain two separate plots. I then decided to put the transducer data into another matrix and plot that with the voxel plot, but when I use one voxel plot and then hold on and then another voxel plot I still get two separate graph. How can I get all my data into one voxel plot.
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
Transducer and scattering region schematic in one plot
(2 posts) (2 voices)-
Posted 7 years ago #
-
Hi Anthoman,
the problem lies in the code of voxelPlot, in line 104 you find 'figure' and that creates a new figure, so either you change the code, for another optional input for a used figure, which could be difficult, or you simply do 'voxelPlot(single(transducerMatrix||mediumMatrix))' but depending on your medium the voxelplot could be completly filled.
best Regards
LaurentPosted 7 years ago #
Reply
You must log in to post.