draw_rect()
Description: This is a helper function to draw the rectangular transducers used by the draw_array function.
Usage
draw_rect(transducer, color);
Arguments
- transducer The transducer object to draw.
- color A MATLAB color struct describing the desired color of the transducer.
Output Parameters
Notes
Users are not expected to use this function. Instead, draw_array should always be used, even for single transducers.