plottable

Plot vector or matrix as table with a customizable printing control string.
3.6K Downloads
Updated 30 Nov 2001

No License

PLOTTABLE Plot vector or matrix as table.

PLOTTABLE(X) plots X as a table. The default printing format is floating point with two decimal places.

PLOTTABLE(X,CONTROL) uses the string CONTROL as the printing control string for printing the elements of X. It should be of the format accepted by SPRINTF or simply be the word RATS to print elements as fractions. RATS cannot currently be combined with any other control string arguments and must appear simply as 'rats'. CONTROL can be a vertical matrix of strings as created by the function STRVCAT in which case the control strings will be cycled through to print columns of the table. If CONTROL is not specified, it defaults to '%.2f'.

PLOTTABLE(X,CONTROL,COLGROUP) uses the numbers in the vector COLGROUP to group columns together for printing. The sum of the numbers in COLGROUP should not exceed the numbers of columns in X. By default all the elements in COLGROUP will equal 1.

Cite As

Edward Brian Welch (2024). plottable (https://www.mathworks.com/matlabcentral/fileexchange/1113-plottable), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Matrices and Arrays in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0