[Scilab-Dev] Incoherence between figure args and figure props

Stéphane Mottelet stephane.mottelet at utc.fr
Tue Feb 14 11:35:57 CET 2012


Le 14/02/12 11:31, Stéphane Mottelet a écrit :
> Hi all,
>
> I am currently working on the plotlib, and I discovered that one of 
> the incompatibilities of the plotlib with scilab native graphics is 
> due to an incoherence (?) between the figure macro and the actual 
> figure handle properties : figure handles have a "background" property 
> (color index in the cmap) but the figure macro also accepts the 
> argument "backgroundcolor" ( a rgb triple), which is not a figure 
> handle property.  These two "layers" of properties are not very 
> convenient... Are there plan to simplify this in the future ?
>
> S.
>
> -- 
> To unsubscribe from this mailing-list, please send an empty mail to
> dev-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
>
BTW, "BackgroundColor" is even not the name of a property of figure 
handles in Matlab (the correct name is "Color"). I am saying this 
because figure also accepts "Position", which is the correct property 
name in Matlab. So, if the goal is to help portability, emulated Matlab 
property names should be the correct ones...

S.



More information about the dev mailing list