Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: bar same X-axis two Y axis
Date: Wed, 31 Dec 2008 07:28:06 +0000 (UTC)
Organization: Sherbrooke
Lines: 27
Message-ID: <gjf6u6$k65$1@fred.mathworks.com>
References: <gje1jo$4p4$1@fred.mathworks.com> <gjf07v$3kc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1230708486 20677 172.30.248.35 (31 Dec 2008 07:28:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 31 Dec 2008 07:28:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 894239
Xref: news.mathworks.com comp.soft-sys.matlab:509304


Stev, Thanks for you quick answer. 
I'm not very good in informatic. Can you give write the code which allow  to draw the graph ?




"Steven Lord" <slord@mathworks.com> wrote in message <gjf07v$3kc$1@fred.mathworks.com>...
> 
> "Et'o Pat" <patmbom@hotmail.com> wrote in message 
> news:gje1jo$4p4$1@fred.mathworks.com...
> >I have two sets of data of different scales. From which I try draw a double 
> >bar chart. Because of the problem of  differents   scales, only one bar can 
> >be seen in the figure. One solution can be to normalized the data with 
> >large scale, but I wish to plot the bar with their real scales.
> >
> > Can you help me to draw a multi-bar with the same X-axis and two-Y axis 
> > such that the scale of the first Y-axis is for the first bar and the scale 
> > of the second one corresponds to the second bar.
> 
> Use the five- or six-input form of PLOTYY, specifying BAR as the function to 
> use to plot on each axes.
> 
> -- 
> Steve Lord
> slord@mathworks.com 
>