octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56110] Setting figure position is ignored whe


From: Wayne Stephenson
Subject: [Octave-bug-tracker] [bug #56110] Setting figure position is ignored when set before the figure is drawn
Date: Wed, 2 Oct 2019 22:38:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

Follow-up Comment #18, bug #56110 (project octave):

I also get this problem with a simple install of 5.1.0 on Win7 and no tweaking
of settings.

Sample code (all one line):

close all;figure;hold
on;figure(gcf,"units","pixels","position",[10,100,1900,800]);plot( [1:10] );

This will display a large window 1900 pixels wide with the graph only in the
top left portion (about the same size as before the resize).

If I type all the commands in one by one on separate lines then I get the
desired wide window with a nice wide graph inside.

The same commands run from an m-file also show the problem, regardless of
whether they are one line or separate lines.

Sometimes it works correctly for plots with many sample points and many lines
(using hold on and many plot commands).

I suspect this is a timing issue.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56110>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]