bugGNU Octave - Bugs: bug #56916, Default figure...

 
 

bug #56916: Default figure "paperpositionmode" should be "auto"

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Tue 17 Sep 2019 05:06:19 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 23 Sep 2019 02:51:08 PM UTC, comment #4: 

I changed the BIST tests to use a fixed paper size (https://hg.savannah.gnu.org/hgweb/octave/rev/349504d42040).  The test suite passes for me now.

Rik <rik5>
Group administrator
Mon 23 Sep 2019 12:15:48 PM UTC, comment #3: 

I suspect "the fix" broke test case for hgsave (and copyobj that
relies on hgsave) for gnuplot backend.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 20 Sep 2019 10:22:54 PM UTC, comment #2: 

I made the change to the default here (https://hg.savannah.gnu.org/hgweb/octave/rev/1e79d913baaa).  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Tue 17 Sep 2019 06:29:15 PM UTC, comment #1: 

Reading the ML documentation, apparently they switched this in 2016A release.  I think most users expect this and you can go ahead and change it and document it in the NEWS file.

Rik <rik5>
Group administrator
Tue 17 Sep 2019 05:06:19 PM UTC, original submission:  

For years we have been used to "paperpositionmode" being "manual" for ML compatibility. This was counterintuitive though: people were expecting that a larger figure onscreen would lead to an equivalently larger figure in printout.

Now ML seems to have switched to "auto" as the default [1] and I'd like to do the same in Octave. This would be more intuitive (and eventually ML compatible).

[1]: https://fr.mathworks.com/help/matlab/ref/matlab.ui.figure-properties.html#buiwuyk-1-PaperPositionMode

Pantxo Diribarne <pantxo>
Group Member

 

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

Attach Files:
   
   
Comment:
   

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 dasergatskov (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (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
    2019-09-20 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2019-09-17 rik5 StatusNone Confirmed
    2019-09-17 pantxo SummaryDefault &quot;paperpositionmode&quot; should be &quot;auto&quot; Default figure "paperpositionmode" should be "auto"

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code