Code covered by the BSD License  

Highlights from
htmlBarh

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 1.9 KB File ID: #4218
image thumbnail

htmlBarh

by Matthew Simoneau

 

04 Dec 2003 (Updated 07 May 2007)

Writes a horizontal stacked bar graph as an HTML-file.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
07 May 2007

Update help.

Tag Activity for this File
Tag Applied By Date/Time
specialized Matthew Simoneau 22 Oct 2008 07:10:12
plotting Matthew Simoneau 22 Oct 2008 07:10:12
horizontal Matthew Simoneau 22 Oct 2008 07:10:12
stacked Matthew Simoneau 22 Oct 2008 07:10:12
bar Matthew Simoneau 22 Oct 2008 07:10:12
graphic Matthew Simoneau 22 Oct 2008 07:10:12
data Matthew Simoneau 22 Oct 2008 07:10:12
fragment Matthew Simoneau 22 Oct 2008 07:10:12

Contact us at files@mathworks.com