htmlBarh

Writes a horizontal stacked bar graph as an HTML-file.
2,1K download
Aggiornato 1 set 2016

Visualizza la licenza

HTMLBARH(DATA,FILENAME,LABELS,WIDTH) writes DATA out to FILENAME as an HTML fragment that creates a horizontal stacked bar graph labeled with the cell array LABELS. WIDTH scales the bar graph to be so many pixels wide. It returns the full pathname of the file.
DATA defaults to "magic(5)". FILENAME defaults to barh.html. LABELS defaults to {'1','2', ... , 'n'}. WIDTH defaults to 400.

Examples:
web(htmlBarh)
web(htmlBarh(rand(10,5)))
web(htmlBarh(rand(10,5),'foo.html'))
web(htmlBarh(rand(2,5),'foo.html',{'one','two'}))
web(htmlBarh(rand(2,5),'foo.html',{'one','two'},200))

See also BARH.

Cita come

Matthew Simoneau (2024). htmlBarh (https://www.mathworks.com/matlabcentral/fileexchange/4218-htmlbarh), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Printing and Saving in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.1

Updated license

1.0.0.0

Update help.