bugGNU Octave - Bugs: bug #34232, loglog.m test fail (fltk)

 
 

bug #34232: loglog.m test fail (fltk)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Wed 07 Sep 2011 07:43:25 AM 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:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 26 Oct 2011 08:21:36 PM UTC, comment #8: 

The y-axis is reversed as compared to gnuplot or Matlab. Should this remain open, or should a new report be opened?

Ben Abbott <bpabbott>
Group Member
Wed 26 Oct 2011 06:41:10 PM UTC, comment #7: 

I checked in the following changeset and now test loglog also passes with OpenGL+FLTK graphics.

http://hg.savannah.gnu.org/hgweb/octave/rev/6dfebfa334cb

Since this seems to fix the reported problem, I'm closing this report.

John W. Eaton <jwe>
Group administrator
Sun 18 Sep 2011 03:14:50 AM UTC, comment #6: 

Since this should now be working for gnuplot on all OS's, but not for FLTK, I'm changing the summary.

Ben Abbott <bpabbott>
Group Member
Thu 15 Sep 2011 10:05:46 PM UTC, comment #5: 

I pushed a changeset to fix the gnuplot backend.

http://hg.savannah.gnu.org/hgweb/octave/rev/bda7b080f205

The fltk backend still needs to be fixed.


Ben Abbott <bpabbott>
Group Member
Mon 12 Sep 2011 11:17:35 PM UTC, comment #4: 

I pushed the changeset to fix the fontend.

Changes to the gnuplot and fltk backends are still needed to produce the proper plots.

Ben Abbott <bpabbott>
Group Member
Mon 12 Sep 2011 09:54:55 PM UTC, comment #3: 

With the changeset by Ben Abbott, test of loglog.m was finished without FAIL.

Thanks!

Tatsuro MATSUOKA <tmacchant>
Mon 12 Sep 2011 01:56:05 AM UTC, comment #2: 

I've attached a changeset that allows the loglog.m tests in default branch of the developers sources to pass.

Additional changes are needed to fix the gnuplot and FLTK backends.

If there are not suggestions for changes or objections, I'll push this change in the next day or two.

Next, i'll take a look at resolving this for the gnuplot backend.

(file #23969)

Ben Abbott <bpabbott>
Group Member
Thu 08 Sep 2011 03:52:28 AM UTC, comment #1: 

I have tested



 hf = figure (1232, "visible", "off");
 unwind_protect
   a = logspace (-5, 1, 10);
   b =-logspace (-5, 1, 10);
   loglog (a, b)
   axis tight
   getgca=get (gca, "ytick")
   ansv=all (get (gca, "ytick") )
 unwind_protect_cleanup
 close (hf);
 end_unwind_protect


getgca =  1
ansv =  1

To see the results, all (get (gca, "ytick") < 0) fails.
What results will be requested for get (gca, "ytick") ?

Tatsuro MATSUOKA <tmacchant>
Wed 07 Sep 2011 07:43:25 AM UTC, original submission:  

A new test failure in line.m of the recent source,
(After changeset 13108    d44d7f3c7998)



  ***** test
 hf = figure (1232, "visible", "off");
 unwind_protect
   a = logspace (-5, 1, 10);
   b =-logspace (-5, 1, 10);
   loglog (a, b)
   axis tight
   assert (all (get (gca, "ytick") < 0));
 unwind_protect_cleanup
 close (hf);
 end_unwind_protect
!!!!! test failed
assert (all (get (gca, "ytick") < 0)) failed


I have not see the details yet but report the fail.

Tatsuro MATSUOKA <tmacchant>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23969:  changeset.patch added by bpabbott (22KiB - application/octet-stream - first attempt at a patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-26 jwe StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2011-09-18 bpabbott StatusReady For Test Confirmed
    2011-09-18 bpabbott CategoryNone Plotting with OpenGL
        Summaryloglog.m test fail (MinGW) loglog.m test fail (fltk)
    2011-09-12 bpabbott StatusPatch Submitted Ready For Test
    2011-09-12 bpabbott Attached File- Added changeset.patch, #23969
        StatusNone Patch Submitted

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code