bugGNU Octave - Bugs: bug #35740, bar() does not accept width...

 
 

bug #35740: bar() does not accept width argument

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Wed 07 Mar 2012 12:51:52 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: Works For MeAssigned to: None
Originator Name: Ismael Núñez-RiboniOpen/Closed: Closed
Release: 3.4.3Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 08 Mar 2012 06:54:19 AM UTC, comment #1:

Setting the width works fine for me with 3.4.3 or with a development branch. Plotting works perfectly well with either gnuplot or fltk.

There might be conflicts with packages you have installed. You could try running 'octave -f' to start without reading any initialization files. Once in Octave, try 'pkg unload all' to unload any packages. After that, try plotting with bar again to see if it works.

The code I used is

Rik <rik5>
Project Administrator
Wed 07 Mar 2012 12:51:52 PM UTC, original submission:

Hallo, I have noticed 2 bugs for the function bar:

1) The third argument should be the width of the x-classes but it does nothing, i.e.,

bar (x, y)

is the same than

bar (x, y, 0.5) or bar (x, y, 1e4), etc

in all the cases I guess that the width is always the default, i.e., 0.8.

2) Under graphics_toolkit fltk the function yields no plot.

The data I used is attached and here is the output of "ver":

Ben Abbott <bpabbott>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott (Submitted the item)
  • -unavailable- added by bpabbott
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Mar 2012 09:48:24 PM UTCrik5Open/ClosedOpen=>Closed
    Thu 08 Mar 2012 06:54:19 AM UTCrik5StatusNone=>Works For Me
      Releasedev=>3.4.3
    Wed 07 Mar 2012 12:52:26 PM UTCbpabbottSummarybar() does not=>bar() does not accept width argument
    Wed 07 Mar 2012 12:51:52 PM UTCbpabbottCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1