octave-maintainers
[Top][All Lists]
Advanced

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

Re: More Matlab compatibility help


From: michele
Subject: Re: More Matlab compatibility help
Date: Sun, 29 Apr 2018 10:23:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04/29/2018 05:28 AM, Rik wrote:
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



Dear Rik,

I used MATLAB 2017b.
Bests

--
Michele Ginesi

Attachment: diary
Description: Text document


reply via email to

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