Prev: Passing variables from fsolve
Next: Gauss to Matlab
From: ylunsk Lun on 22 Jul 2010 17:49 Hi all, By default, Matlab sets the input values for the position property of Rectangle to the lower left corner of the rectangle. Is it possible to reset the position property so that the input value determines the the center of the rectangle? Thanks in advance! Jen
From: Walter Roberson on 22 Jul 2010 17:53 ylunsk Lun wrote: > By default, Matlab sets the input values for the position property of > Rectangle to the lower left corner of the rectangle. Is it possible to > reset the position property so that the input value determines the the > center of the rectangle? Not in any documented way. You could possibly subclass hg.rectangle to create a new object that had the properties you wanted, but personally I don't think it would be worth the bother.
|
Pages: 1 Prev: Passing variables from fsolve Next: Gauss to Matlab |