octave-maintainers
[Top][All Lists]
Advanced

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

More Matlab compatibility help


From: Rik
Subject: More Matlab compatibility help
Date: Sat, 28 Apr 2018 20:28:41 -0700

Bug #53778 is turning out to be quite complicated.  Could someone with
access to a new-ish version of Matlab (has HG2 and groot) run the following

--- Start Code ---
diary on
close all
cf = get (groot, 'currentfigure')

hf = figure ('units', 'pixels', ...
             'position', [250, 500, 400, 100], ...
             'numbertitle', 'off', ...
             'menubar', 'none', 'toolbar', 'none', ...
             'integerhandle', 'off', ...
             'handlevisibility', 'callback', ...
             'tag', 'waitbar');

cf2 = get (groot, 'currentfigure')
set (groot, 'currentfigure', [])

ax = axes ('parent', hf, ...
           'xtick', [], 'ytick', [], ...
           'xlim', [0, 1], 'ylim', [0, 1], ...
           'position', [0.1, 0.3, 0.8, 0.2])

cf3 = get (groot, 'currentfigure')
get (hf, 'currentaxes')
diary off
--- End Code ---

and then upload the generated "diary" file.

--Rik




reply via email to

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