comparison etc/NEWS.8.md @ 31020:cb9451780a15

Update figure graphics object for Matlab compatibility. * NEWS.8.md: Announce addition of "innerposition" and "windowstate" properties to figure objects. Announce change in default for "dockcontrols" property to "on". * graphics.in.h (figure::properties::get_innerposition, figure::properties::set_innerposition): New functions to alias "innerposition" property to "position" property. * graphics.in.h (BEGIN_PROPERTIES (figure)): Change "dockcontrols" default to "on". Re-order "pointer" property to show the default "arrow" as the first entry. Add new property "windowstate".
author Rik <rik@octave.org>
date Tue, 24 May 2022 13:28:06 -0700
parents 81b51b823663
children f03e1eebf46d
comparison
equal deleted inserted replaced
31019:d07218f22447 31020:cb9451780a15
14 ### Graphical User Interface 14 ### Graphical User Interface
15 15
16 16
17 ### Graphics backend 17 ### Graphics backend
18 18
19 - Additional properties have been added to the `figure` graphics object:
20 * `"innerposition"` (equivalent to `"position"`)
21 * `"windowstate"` (not yet implemented)
19 22
20 ### Matlab compatibility 23 ### Matlab compatibility
21 24
22 - `inline` functions now support all Matlab methods. The performance 25 - `inline` functions now support all Matlab methods. The performance
23 of `inline` functions has also been improved. 26 of `inline` functions has also been improved.
39 - `quadgk` now stops iterating when `error <= tolerance` while the previous 42 - `quadgk` now stops iterating when `error <= tolerance` while the previous
40 condition was `error < tolerance`. 43 condition was `error < tolerance`.
41 44
42 - `var` and `std` now optionally output a second argument containing the mean 45 - `var` and `std` now optionally output a second argument containing the mean
43 or weighted mean. 46 or weighted mean.
47
48 - The default state for certain graphics properties has been made
49 consistent with Matlab.
50
51 Object | Property | Default State
52 ------------|------------------|------------
53 `figure` | `"dockcontrols"` | `"on"`
44 54
45 ### Alphabetical list of new functions added in Octave 8 55 ### Alphabetical list of new functions added in Octave 8
46 56
47 * `uifigure` 57 * `uifigure`
48 58