No License

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

» Watch video

Highlights from

4.3 | 4 ratings Rate this file 6 Downloads (last 30 days) File Size: 4 KB File ID: #1113 Version: 1.0
image thumbnail




29 Nov 2001 (Updated )

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

| Watch this File

File Information

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.

MATLAB release MATLAB 5.2 (R10)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
24 Jan 2016 Alireza Shourangiz Haghighi

18 Sep 2012 Liaofan Lin

18 Sep 2012 Liaofan Lin

20 Aug 2009 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).

Contact us