bugGNU Octave - Bugs: bug #51773, bar command creates illegible...

 
 

bug #51773: bar command creates illegible x-axis

Submitted by:  Muhali <muhali>
Submitted on:  Thu 17 Aug 2017 09:56:18 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 26 Aug 2017 12:11:56 AM UTC, comment #5:

I changed the implementation of bar to switch to automatic selection of tick positions when the number of bars exceeds 15. See http://hg.savannah.gnu.org/hgweb/octave/rev/d837f7f6e4aa.

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Fri 25 Aug 2017 06:56:52 AM UTC, comment #4:

at i=16 it starts printing every 2nd tick, at i=18 every 5th.

Muhali <muhali>
Thu 24 Aug 2017 10:04:03 PM UTC, comment #3:

Can someone with access to Matlab try the following code? I want to know the cutoff between displaying all the bars and switching over to automatic xtick generation.

Rik <rik5>
Project Administrator
Thu 24 Aug 2017 09:18:48 PM UTC, comment #2:

The problem is probably in line 205 of _bar_.m

this line sets the wrong tick labels

Avinoam Kalma <avinoam>
Project Member
Thu 24 Aug 2017 02:38:31 PM UTC, comment #1:

just confirming this is also a different graphical output than that provided by matlab. see attached side-by-side. same results in all three graphics toolkits.

(file #41641)

Nicholas Jankowski <nrjank>
Thu 17 Aug 2017 09:56:18 AM UTC, original submission:

The bar command creates a tick label for every single number, so that for example

bar(rand(100,1))

becomes illegible.

Muhali <muhali>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41641:  matlabcomparison.png added by nrjank (110KiB - image/png)

 

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 avinoam (Posted a comment)
  • -unavailable- added by nrjank (Updated the item)
  • -unavailable- added by muhali (Submitted the item)
  •  

    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
    Sat 26 Aug 2017 12:11:56 AM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Fri 25 Aug 2017 05:39:19 AM UTCavinoamStatusConfirmed=>Need Info
    Thu 24 Aug 2017 10:04:03 PM UTCrik5StatusNone=>Confirmed
    Thu 24 Aug 2017 02:38:31 PM UTCnrjankAttached File-=>Added matlabcomparison.png, #41641

    Back to the top


    Powered by Savane 3.1-cleanup1