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

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

[Octave-bug-tracker] [bug #41970] plotyy () and changing legend properti


From: Rik
Subject: [Octave-bug-tracker] [bug #41970] plotyy () and changing legend properties
Date: Wed, 16 Jul 2014 15:23:39 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #9, bug #41970 (project octave):

Because there may be more than one value in the variable "units" and Octave
was not auto-expanding the property {"units"} to match the number af values in
the variable.

This works


set (hax, "units", "pixels")


because Octave loops internally over every handle in hax and applies the
one-to-one mapping of Property/Value pair.

This doesn't work


set (hax, {"units"}, {"pixels", "pixels"})


because the number of properties doesn't match the number of values.  At some
point it would be nice to update the set routine in C++ to deal with this. 
But it doesn't happen very often so the workaround of repmat is okay for now.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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