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

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

[Octave-bug-tracker] [bug #43208] figure property lists differ


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #43208] figure property lists differ
Date: Sat, 13 Sep 2014 16:03:35 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

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

This difference between set and get was introduced for matlab compatibility
(see bug #41629). It lets you retrieve read-only properties names e.g. as
follows :

 
fld1 = fieldnames (get (gcf ()));
fld2 = fieldnames (set (gcf ()));
idx = @cellfun (@(s) ! any (strcmp (s, fld2)), fld1);
readonly = fld1(idx)


I admit it would be good to document which properties are read-only in the
manual.

As I don't have matlab at home I can't test the output of "get (gcf (), '')",
and I can't say if there is really a bug about this.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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