| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
cellplot(c)
cellplot(c, 'legend')
handles = cellplot(c)
cellplot(c) displays a figure window that graphically represents the contents of c. Filled rectangles represent elements of vectors and arrays, while scalars and short text strings are displayed as text.
cellplot(c, 'legend') places a colorbar next to the plot labelled to identify the data types in c.
handles = cellplot(c) displays a figure window and returns a vector of surface handles.
The cellplot function can display only two-dimensional cell arrays.
Consider a 2-by-2 cell array containing a matrix, a vector, and two text strings:
c{1,1} = '2-by-2';
c{1,2} = 'eigenvalues of eye(2)';
c{2,1} = eye(2);
c{2,2} = eig(eye(2));The command cellplot(c) produces

![]() | cellfun | cellstr | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |