bugGNU Octave - Bugs: bug #36326, title with axies handle corrupts...

 
 

bug #36326: title with axies handle corrupts figure

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Fri 27 Apr 2012 11:43:24 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: godfreyOpen/Closed: Closed
Release: 3.6.1Operating 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 28 Apr 2012 01:08:57 PM UTC, comment #3:

Ben,

You are right. Should have used gca().
I think the Manual is not too clear about this,
but anyhow I just got mixed up.

Sorry, and close this report.

Michael Godfrey <godfrey>
Project Member
Sat 28 Apr 2012 12:43:05 PM UTC, comment #2:

Michael,

Did you intend to add the title to the pre-existing axes object?

If so, "axes()" should be replaced by "gca()".

Ben Abbott <bpabbott>
Project Member
Fri 27 Apr 2012 11:50:54 PM UTC, comment #1:

Sorry about the misspelling of axes in the title...

Michael Godfrey <godfrey>
Project Member
Fri 27 Apr 2012 11:43:24 PM UTC, original submission:

The following sequence, using fltk backend produces
corrupted plot:
figure(1)
plot(1:200)
figure(2)
plot(200:-1:1)
figure(1)
title(axes(),'title fig 1')

The title is written to figure 1, but the figure
itself is corrupted. If the title command is used
immediately aftert the plot(1:200) everything is OK.
The problem occurs if you want to provide a title
(or, I think, other annotation) to a previous
figure.

I have only tested this with fltk. It is likely that
gnuplot handles this differently.

Michael Godfrey <godfrey>
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 bpabbott (Posted a comment)
  • -unavailable- added by godfrey (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 28 Apr 2012 01:11:17 PM UTCbpabbottOpen/ClosedOpen=>Closed
    Sat 28 Apr 2012 12:43:05 PM UTCbpabbottStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1