Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts NetMenus 2.0
iScripts EasyIndex 1
ATN Site Builder 3.0
phpEnter 5.1.
IcrediBB Bulletin Board System 1.0
PHP MLM Software 2.0.1
GnuWin64 64
Deals and Discounts Website Script 1.0.2
Azizi search engine script PHP 4.1.10
Single Leg MLM 1.2.1
Eclipse Metrics plugin continued 1.3.8.20100730.001
Circle Fit (Taubin method) 1.0
Exlcart 2.0
OpenCV Delphi wrapper 1.0
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Generalized Bar Charts 1.0
File ID: 81345






Generalized Bar Charts 1.0
Download Generalized Bar Charts 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
Generalized Bar Charts 1.0 Description
Description: Generalization of bar.m function.

Capable of producing:

1. Bar Chart
2. Floating Bar Chart
3. Clustered Bar Chart
4. Floating Clustered Bar Chart
5. Stacked Bar Chart
6. Stacked Clustered Bar Chart
7. (Multiple data sets)

As well as MIXED charts containing any combination of them on the same chart

Can also handle x-coordinate spacing and labeling, missing data, and legends.

EXAMPLES:

SIMPLE BAR CHART
data=rand(1,4);
bar2(data)

BAR CHART with spaced data and labels:
data=rand(1,4);
bar2([1 2 7 8],data,'BASE','XLABEL',{'A','B','C','D'})

FLOATING BAR CHART:
data=rand(2,4);
bar2([1 2 7 8],data,'XLABEL',{'A','B','C','D'})

BAR CHART WITH LOG AXIS AND USER SPECIFIED BASE:
data=rand(1,4);
bar2([1 2 7 8],data,'BASE',1e-3,'XLABEL',{'A','B','C','D'});
set(gca,'Yscale', 'log'), grid on;

CLUSTERED BAR CHART:
data=rand(3,4);
bar2([1 2 7 8],data,'BASE','XLABEL',{'A','B','C','D'})

FLOATING CLUSTERED BAR CHART:
data=rand(6,4); %Six rows representing three vertical [low high]
bar2(data)
legend({'A','B','C'},'Location','BestOutside')

FLOATING CLUSTERED BAR CHART: (with NaNs)
data=rand(6,4); data([3,4],[2 3])=NaN;
bar2(data)
legend({'A','B','C'},'Location','BestOutside')

STACKED BAR CHART:
data=rand(1,4,3); %Note: One row for one vertical column per category
bar2(data,'STACKED')

STACKED CLUSTERED BAR CHART:
data=rand(2,4,3); %Two clusters, both stacked
bar2([1 2 5 6],data,'STACKED','XLABEL',{2001,2002,2005,2006})
legend({'A','B','C','D','E','F'},'Location','BestOutside')

Multiple data sets on same X-coordinate:
data=rand(6,4,2);
data(:,:,2)=data(:,:,2)+max(data(:)); %for illustration
bar2(data,'XLABEL',{'A','B','C','D'})

MIXED CHARTS
(Bar chart + Clustered Bar Chart + Stacked Bar Chart + Floating)
alldata{1}={[1 2 6 10],rand(1,4),'BASE','XLABEL',{'B1','B2','B3','B4'}};
alldata{2}={[3 7 8 12],rand(3,4),'BASE','XLABEL',{'CB1','CB2','CB3','CB4'}};
alldata{3}={[4 5 11 13],rand(1,4,3),'STACKED','XLABEL',{'S1','S2','S3','S4'}};
alldata{4}={9,rand(2,1),'XLABEL',{'FLOAT'}};
bar2(alldata)
legend({'Bar','CB_1','CB_2','CB_3','V_1','V_2','V_3','Float'},'Location','BestOutside')

License: Shareware

Related: Vertical, Data, dnan, data drand, stacked, representing, setgca yscale

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 3



More Similar Code

This script helps you to create any number of Vertical or Horizontal 3D Bar Charts. Size and colors may be customised for each application with specified title, line and bar text.



Bar Charts With GD helps the novice PHP programmers to include the bar charts on their web based systems using the features of PHP image session. To implement this, your website should support PHP with GD library functionalities. You can create...



HTML Horizontal Bar Chart script generates bar charts using HTML Table, DIVs and javascript.

This mechanism can be clubbed with any web development tool like ASP, ASP.NET, JSP etc to generate effective charts.



This is a COM object which dynamically draws pie charts, bar charts and line graphs.

The resulting graph can be streamed to a browser or saved to a file.

It can be used with default settings to create graphs quickly and...



SD-Graph is an easy-to-use bar graphing system that allows you to create and display colorful bar charts with detailed statistics. Both horizontal and vertical charts are included in the package.

SD-Graph makes a perfect addition to any...



I needed to plot some bar charts but I haven't got the financial toolbox. I couldn't find one here so I modified Nagi Hatoum's Candlestick Graph script to display bar charts.

**Update 03-30-09**
I've also updated Hatoum's...



This tool (CoberturaReport) will take that xml report (cobertura) as input and create a new html report which will contains bar charts, Scatter charts & Tag clouds to bring attention to risk points.



This 2D / 3D Vertical Bar Graph provides both a client and server side solution for the incorporation of bar charts into web pages. It provides versatile components so that web authors and Java developers can easily build and publish dynamic and...



2D/3D Bar Graph is multi-platform compatible. This 2D / 3D Vertical Bar Graph provides both a client and server side solution for the incorporation of bar charts into web pages. It provides versatile components so that web authors and Java...



2D / 3D Stacked Vertical Bar Graph software is a solution to both the client and server side integration of bar charts. Java developers and web authors can build interactive bar graphs in web pages. This can display a 2D or 3D Stacked Vertical Bar...

User Review for Generalized Bar Charts
- required fields
     

Please enter text on the image