bugGNU Octave - Bugs: bug #54485, set(gcf, 'position', ...) is...

 
 

bug #54485: set(gcf, 'position', ...) is limited by the dimensions of the screen

Submitter:  Arnaud Delorme <arnodelorme>
Submitted:  Thu 09 Aug 2018 09:34:50 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.4.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 14 Aug 2018 08:31:35 PM UTC, comment #3: 

Posted to the mailing list:

What I saw can be seen in the screen capture uploaded with the original bug.

On Mac OSx High Sierra, it is possible to set the picture to a size larger than the screen, but only the interior of the figure is resized. The frame size is bounded by the size the screen.

John W. Eaton <jwe>
Group administrator
Fri 10 Aug 2018 04:31:44 PM UTC, comment #2: 

Just tried on Windows 7, the box has a dual screen, 1920x1200 (landscape)& 1024x1280 (portrait) over which the desktop is spread.

The command:

set(h, 'position', [0 0 4000 100]);

seems to be ignored, apparently because the too large horizontal screen size is captured and disposed of.
Slowly increasing the size to fill the horizontal space works. After that I can enter 5000 for hor.size but then it is ignored.
But then doing

set(h, 'position', [0 0 5000 1500]);

only the inside of the figure is shown and all borders lie outside the screen.

Is that similar what you saw, Arnaud?

Philip Nienhuis <philipnienhuis>
Group Member
Thu 09 Aug 2018 09:36:45 PM UTC, comment #1: 

To reproduce, try

h = figure; plot([1:10]); set(h, 'position', [0 0 4000 100]);

Arnaud Delorme <arnodelorme>
Thu 09 Aug 2018 09:34:50 PM UTC, original submission:  

When resizing a figure larger than the screen, only the inside of the figure is properly resized. The container is not and stops at the screen boundary. This is on OSx High Sierra.

In the screen capture, I moved the part of the figure plotted outside the screen so it could be seen on the screen and took a screen capture on a white background.

Arno


Arnaud Delorme <arnodelorme>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

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 arnodelorme (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
    2018-08-10 mtmiller Carbon-CopyRemoved 80942 -
    2018-08-10 mtmiller CategoryGUI Plotting with OpenGL
        SummaryFigure larger than screen set(gcf, 'position', ...) is limited by the dimensions of the screen
    2018-08-09 arnodelorme Attached File- Added Screen Shot 2018-08-09 at 2.28.57 PM.png, #44757

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code