Code covered by the BSD License  

Highlights from
displaytable

4.33333

4.3 | 3 ratings Rate this file 8 Downloads (last 30 days) File Size: 3.71 KB File ID: #27920
image thumbnail

displaytable

by Matt Caywood

 

17 Jun 2010 (Updated 08 Mar 2011)

Legible display of N-dimensional data tables with color highlighting of entries.

| Watch this File

File Information
Description

Offering many more possibilities than Matlab's built-in matrix display functions, displaytable prints out a space-saving, legible N-dimensional table of numeric data including:

* dimension (row and column) labels and headings
* specified cell spacing and precision

* display dimensions in any order by specifying an output permutation!

* NEW: highlight cells with any colors you want, using the cprintf function (also on Matlab Central)! Note: cprintf relies on undocumented Matlab features.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File  
Everyone's Tags
array, color, data, data exploration, data visualization, display(2), highlight, matrix(2), ndimensional, table(2)
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
01 May 2012 John

This is a great utility, I just have one feature request: the ability to have the contents of a column left justified. Thanks!

08 Mar 2011 Matt Caywood

Hi Ralf, "negative zero" was actually a fundamental issue with Matlab's printf (on some platforms)

I agree it is an annoyance, and have submitted a new version that should fix it.

08 Mar 2011 Ralf

I like this function very much. However, it appears that 0 is displayed sometimes as -0. Can this been fixed?

24 Jun 2010 Yogesh PARTE

Good utility code.

Updates
29 Jun 2010

Fixed some problems with degenerate tables with dimension values = 1

15 Jul 2010

added option for table permutations

20 Jul 2010

added color display of tables

21 Jul 2010

fixed header spacing

08 Mar 2011

fix negative zero issue

Contact us