bugGNU Octave - Bugs: bug #40345, funny bar colors

 
 

bug #40345: funny bar colors

Submitter:  Muhali <muhali>
Submitted:  Tue 22 Oct 2013 01:07:24 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Oct 2013 01:53:18 PM UTC, comment #1: 

This is an issue with the renderer.  It has a hard time when the width of the bar is on the order of 1 pixel.  In that case, sometimes the facecolor is shown and sometimes the edgecolor.  Try plotting just a section of the data, or using the xlimits to display only a section of the data to see what I mean.

These both work


bar(x(1:50), "facecolor", "red", "edgecolor", "black")
axis tight

OR

bar(x, "facecolor", "red", "edgecolor", "black")
xlim ([0 51])


Another way to see it is to plot the whole thing and then use the mouse to zoom in.  As soon as the bars are more than a few pixels wide everything works.

Rik <rik5>
Group administrator
Tue 22 Oct 2013 01:07:24 PM UTC, original submission:  

running


load x.ot
bar(x, "facecolor", "red", "edgecolor", "black")


using the attached file x.ot, I get black and red bars as seen in the attached screenshot. This happens with both fltk and gnuplot using a recent dev octave.

The printed figure looks ok though.

Muhali <muhali>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #29442:  x.ot added by muhali (652B - application/octet-stream)
file #29443:  Screenshot.png added by muhali (11KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-22 rik5 StatusNone Wont Fix
        Open/ClosedOpen Closed
    2013-10-22 muhali Attached File- Added x.ot, #29442
        Attached File- Added Screenshot.png, #29443

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code