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

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

[Octave-bug-tracker] [bug #52781] Plot area freezes in size, and will no


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52781] Plot area freezes in size, and will not change when the window is resized.
Date: Mon, 1 Jan 2018 22:59:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #3, bug #52781 (project octave):

I guess normalize is the only one that scales.  The units associated with
'centimeter' and 'inches' would have to take into account some "absolute"
scaling of some sort...I put absolute in quotes because I'm sure this can't
refer to monitor screen size, but perhaps some assumed standard for DPI and
inches.

Setting the units for "gcf" might be different though.  I'm not sure how that
works.


octave:43> set(gcf, 'position')
octave:44> plot (rand(2,10))
octave:45> set(gcf, 'units')
[ centimeters | characters | inches | normalized | {pixels} | points ]
octave:46> get(gcf, 'position')
ans =

   300   200   560   420



I would think that one can change the units and then the size/position and the
figure will go to that size, but then the figure window can still be scaled. 
I don't see any property for freezing the window, but I do see a
"sizechangedfcn".

I will say, though, something seems wrong with the OpenGL scaling algorithm. 
In FLTK it's pretty smooth, but every once in a while there is a black
background that flashes.  Qt graphics toolkit looks awful when scaling. 
There's black space around the outside of white, then the image sort of
centers within the window when redrawing so the white area kind of bounces up
and down with rescaling.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52781>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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