bugGNU Octave - Bugs: bug #36444, label behind bar in printout

 
 

bug #36444: label behind bar in printout

Submitted by:  Muhali <muhali>
Submitted on:  Wed 09 May 2012 10:07:48 PM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  1 - Later Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Sun 31 May 2015 09:49:35 PM UTC, comment #4: 

Both the original example with a 2D position and the updated one with a 3D position work for me in Octave 4.0, tested with both FLTK and Qt toolkits.

Mike Miller <mtmiller>
Project Administrator
Tue 29 Apr 2014 08:37:54 PM UTC, comment #3: 

The 'layer' attribute is respected now.  This bug is still present because the 'position' attribute is set by the user, not Octave.  I don't think I'll bother to fix this.  If you need the ylabel to be out in front then give it a Z-height that is greater than 0.

ylabel("foo", "position", [1 1 1])

Rik <rik5>
Project Administrator
Fri 02 Aug 2013 12:12:28 AM UTC, comment #2: 

I tried the example using Matlab, and the ylabel show up on top.


Ben Abbott <bpabbott>
Project Member
Tue 02 Oct 2012 04:31:40 AM UTC, comment #1: 

I think this is related to bug #35648.  The problem is with the axis object (which has ylabel as a child) and the 'layer' attribute.  The 'layer' attribute doesn't work when using the FLTK graphics toolkit.  Most of the time this means all the axis objects are placed below the other plotted objects so the 'foo' label shouldn't really be visible.  In this case, it is visible when the plot is made in Octave, but correctly hidden behind the bar graph when printed.

Rik <rik5>
Project Administrator
Wed 09 May 2012 10:07:48 PM UTC, original submission:  

The code below produces a figure with the y-label inside the first bar, but it is hidden in the printed png.

bar([2 1]);
ylabel("foo", "position", [1 1])
print foo.png ;

Muhali <muhali>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28740:  matlab.png added by bpabbott (7KiB - 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 mtmiller (Posted a comment)
  • -email is unavailable- added by bpabbott (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by muhali (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-31 mtmiller StatusWont Fix => Fixed
        Open/ClosedOpen => Closed
    2014-04-29 rik5 Priority5 - Normal => 1 - Later
        StatusConfirmed => Wont Fix
    2013-08-02 bpabbott Attached File- => Added matlab.png, #28740
        Item GroupNone => Matlab Compatibility
        StatusNone => Confirmed
        Operating SystemGNU/Linux => Any

    Back to the top


    Powered by Savane 3.5