Sparklines Table 1.0
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Sparklines are suggested by Edward Tufte in 'The Visual Display of Quantitative Information' and his other books. For discussion, see: http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR
This code produces a table of sparklines from a matrix of input data, rows are formatted as independent sparklines, and their first, last, max and minimum values are tabulated.
This code is in continuing development and future versions may include multiple lines per axis, acceptable ranges, more flexibility for tabular data, and improved layout.
The code has several limitations, namely that the layout is relative to the window size, and therefore cannot be resized or extended. These will be addressed in future versions
Cite As
James Houghton (2024). Sparklines Table 1.0 (https://www.mathworks.com/matlabcentral/fileexchange/26039-sparklines-table-1-0), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
- MATLAB > Language Fundamentals > Data Types > Tables >
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots >
Tags
Acknowledgements
Inspired: Sparklines - mrfk
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.