bugGNU Octave - Bugs: bug #35856, incorrect text position with...


bug #35856: incorrect text position with "units", "normalized"

Submitted by:  Muhali <muhali>
Submitted on:  Thu 15 Mar 2012 09:10:12 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
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.


Wed 21 Mar 2012 12:23:44 AM UTC, comment #5: 
Konstantinos Poulios <logari81>
Tue 20 Mar 2012 07:28:06 PM UTC, comment #4: 

it is not subplot specific, this also reproduces the problem:

graphics_toolkit fltk;
plot(0.05*[0 1])
t1=title("T1", "units", "normalized");

I think there is some bug with looseinset in sync_positions and units, I will try to find a fix.

Konstantinos Poulios <logari81>
Sun 18 Mar 2012 12:01:48 AM UTC, comment #3: 

hmmm ... I reverted my archive back to 3.6.0. The test fails there, but passes for the 3.6.0 I downloaded from sourceforge.

Maybe this isn't a regression ?

Ben Abbott <bpabbott>
Project Member
Sat 17 Mar 2012 04:09:40 PM UTC, comment #2: 

I'm wrong about the origin of this bug.

The bug is present in 3.6.1 but not in 3.6.0. The changeset 7a49519913e3 is not present in the stable (3-6-x) branch.

I'll start bisecting to isolate the regression.

Ben Abbott <bpabbott>
Project Member
Thu 15 Mar 2012 11:58:28 PM UTC, comment #1: 

I verified that this bug is not present in 3.6.0.

I haven't looked at the code, but after experimented and looked at the values for the text object's position and extent, my guess is that the text objects units are assumed to be "data".

I suspect a regression due to the changeset below.


Ben Abbott <bpabbott>
Project Member
Thu 15 Mar 2012 09:10:12 PM UTC, original submission:  

The following code

graphics_toolkit fltk;
subplot(1, 2, 1)
plot(0.05*[0 1])
title("T1", "units", "normalized") ;
subplot(1, 2, 2)
plot(0.05*[0 1])
title("T2") ;

removes the first and incorrectly positions the second plot in the lower right corner.

Muhali <muhali>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by logari81 (Posted a comment)
  • -email is unavailable- added by bpabbott (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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-25 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2012-03-18 bpabbott Severity4 - Important => 3 - Normal
        Priority7 - High => 5 - Normal
        Release3.6.1 => dev
    2012-03-17 bpabbott Severity3 - Normal => 4 - Important
        Priority5 - Normal => 7 - High
        Releasedev => 3.6.1
    2012-03-15 bpabbott StatusNone => Confirmed
        Operating SystemGNU/Linux => Any

    Back to the top

    Powered by Savane 3.5