help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bar and hist


From: David Bateman
Subject: Re: bar and hist
Date: Wed, 31 Oct 2007 17:55:55 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Evan wrote:
> version 2.9.15
>
> bar doesn't support the style argument as the help document says, is
> this because it hasn't been implemented or a bug?
>
> how to change the filling color when using hist?
>
> thanks in advance
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>   
Seems to work fine for me. I checked with

figure(1); bar(1:3, rand(3,4),'grouped'); figure(2); bar(1:3,
rand(3,4),'stacked')

and the figures were plotted correctly. Note that the arguments are
"grouped" and "stacked" rather than "group" and "stack" as in the bar
and barh functions in 2.9.15.. The attached documentation patch should
be applied

D.


-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

*** ./scripts/plot/bar.m.orig18 2007-10-31 17:53:06.128021532 +0100
--- ./scripts/plot/bar.m        2007-10-31 17:52:39.898349346 +0100
***************
*** 28,34 ****
  ## If @var{y} is a matrix, then each column of @var{y} is taken to be a
  ## separate bar graph plotted on the same graph. By default the columns
  ## are plotted side-by-side. This behavior can be changed by the @var{style}
! ## argument, which can take the values 'group' (the default), or 'stack'.
  ##
  ## If two output arguments are specified, the data are generated but
  ## not plotted.  For example,
--- 28,34 ----
  ## If @var{y} is a matrix, then each column of @var{y} is taken to be a
  ## separate bar graph plotted on the same graph. By default the columns
  ## are plotted side-by-side. This behavior can be changed by the @var{style}
! ## argument, which can take the values 'grouped' (the default), or 'stacked'.
  ##
  ## If two output arguments are specified, the data are generated but
  ## not plotted.  For example,
*** ./scripts/plot/barh.m.orig18        2007-10-31 17:53:15.104567103 +0100
--- ./scripts/plot/barh.m       2007-10-31 17:52:47.579960488 +0100
***************
*** 27,33 ****
  ## If @var{y} is a matrix, then each column of @var{y} is taken to be a
  ## separate bar graph plotted on the same graph. By default the columns
  ## are plotted side-by-side. This behavior can be changed by the @var{style}
! ## argument, which can take the values 'group' (the default), or 'stack'.
  ##
  ## If two output arguments are specified, the data are generated but
  ## not plotted.  For example,
--- 27,33 ----
  ## If @var{y} is a matrix, then each column of @var{y} is taken to be a
  ## separate bar graph plotted on the same graph. By default the columns
  ## are plotted side-by-side. This behavior can be changed by the @var{style}
! ## argument, which can take the values 'grouped' (the default), or 'stacked'.
  ##
  ## If two output arguments are specified, the data are generated but
  ## not plotted.  For example,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]