File Exchange

image thumbnail

plottable

version 1.0 (4 KB) by

Plot vector or matrix as table with a customizable printing control string.

4.33333
4 Ratings

3 Downloads

Updated

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.

Comments and Ratings (4)

Liaofan Lin

Liaofan Lin

M

M (view profile)

Works as advertised! Additionally, h=plottable(x) returns the handle for each axis in the table (each value is plotted in its own axis).

MATLAB Release
MATLAB 5.2 (R10)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video