drawCell(length, width, position, color, hor)

Plot rod shaped cells

You are now following this Submission

This function will plot lines and half circles to represent rod shaped cells.
length and width are double values, position is the [x, y] position of the center of the cell, color is set to 'b' by default, if hor == true it will plot an horizontal cell, hor == false will plot it vertically

Cite As

Ambroise (2026). drawCell(length, width, position, color, hor) (https://www.mathworks.com/matlabcentral/fileexchange/52095-drawcell-length-width-position-color-hor), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0