octave-maintainers
[Top][All Lists]
Advanced

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

Re: Re: Rewritten version of bar.m


From: Shai Ayal
Subject: Re: Re: Rewritten version of bar.m
Date: Wed, 18 Apr 2007 19:01:36 +0200

On 4/18/07, John W. Eaton <address@hidden> wrote:
On 18-Apr-2007, Shai Ayal wrote:

| but bars are drawn with patches, not lines, how would "plot" draw patches?

OK, but then shouldn't the bar function just do whatever is necessary
to make the data acceptable for patch and then let the patch function
do all the rest?  Maybe that is what the octplot bar function is
doing, but it still seems surprisingly complex.

Well, as usual I'm writing w/o really reading the code, but the bar
graph can be complex -- i.e. multiple series on the same graph can be
stacked or side by side, the width of the bars can be controlled. I
agree with you that once all of this is taken care of in the bar
function, patch should take care off the lower level things like
colors, linestyles and such.

Shai


reply via email to

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