octave-maintainers
[Top][All Lists]
Advanced

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

Patch for bar objects


From: Michael Goffioul
Subject: Patch for bar objects
Date: Sun, 18 Nov 2007 15:54:53 +0100

Hi,

I'd like to propose the following patch, which does 2 things:
1) put actual bar creation into a separate function to make it easier for
a graphic backend to hook up its own bar objects
2) compute the bar/group width according to the minimum X step
(IIRC, this is similar to Matlab way of doing); otherwise something
like

     bar([1 3 3.5 6 8 9], rand(6,5))

gives pretty bad results.

Michael.

scripts/ChangeLog:

2007-11-18  Michael Goffioul <address@hidden>

    * plot/__bar__.m: put bar creation code into separate function
    to allow easy hook up from other graphic backends

    * plot/__bars__.m: new function containing bar creation code

Attachment: bar.diff
Description: Text document

Attachment: __bars__.m
Description: Binary data


reply via email to

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