octave-maintainers
[Top][All Lists]
Advanced

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

Re: Add base value support to bars


From: Daniel J Sebald
Subject: Re: Add base value support to bars
Date: Wed, 19 Dec 2007 00:50:21 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

John W. Eaton wrote:
On 18-Dec-2007, Michael Goffioul wrote:

| The following patch adds support for a base value in bar functions. Note
| that I'm not sure about the expected behavior in case of stacked bars, as
| I don't have Matlab under the hand to check it.
| | Michael. | | Index: scripts/plot/__bar__.m
| ===================================================================
| RCS file: /cvs/octave/scripts/plot/__bar__.m,v
| retrieving revision 1.14
| diff -c -r1.14 __bar__.m
| *** scripts/plot/__bar__.m      29 Nov 2007 16:44:45 -0000      1.14
| --- scripts/plot/__bar__.m      18 Dec 2007 20:49:00 -0000
| ***************
| *** 27,32 ****
| --- 27,33 ----
|     ## Slightly smaller than 0.8 to avoid clipping issue in gnuplot 4.0
|     width = 0.8 - 10 * eps;
|     group = true;
| +   bv = 0;
|

Above is something gnuplot-ish in a non __go_abcdef__.m file.  Can that epsilon and 
mention of "gnuplot" be removed for the latest version of gnuplot, 4.3?  The 
epsilon doesn't seem to make a difference here.

Someone having the most up-to-date, please try something like

x = [0:10];
y = x;
bar(x,y,'group');
bar(x,y,'stack');

The options don't work for me.  (But I haven't the latest version of Octave.)

Dan



reply via email to

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