[scilab-Users] default axes settings

Stéphane Mottelet stephane.mottelet at utc.fr
Mon Feb 9 15:32:50 CET 2009


Jean-Baptiste Silvy a écrit :
> The user_data field bug will be fixed in the forthcoming 5.1 version.
> Mr. Mottelet you should have received an e-mail from our bug tracker
>   
sorry, I should have used the past (there *was* a similar problem).

S.

> informing you that the bug was fixed in the Scilab development version.
>
> However, the mark problem is clearly a bug.
> Mr Bluem, could you create a bug report in our data base?
> Here is the address of the bug tracker:
> http://bugzilla.scilab.org/index.cgi.
>
> Thanks,
> Jean-Baptiste
>
> Stéphane Mottelet a écrit :
>   
>> There is a similar problem with the the user_data field, which can be
>> assigned in the default handles (gda(), gdf()), but not honnored at
>> creation of instances of these entities.
>>
>> S.
>>
>> François Vogel a écrit :
>>     
>>> Alexander Bluem said on 08/02/2009 21:16:
>>>       
>>>> I'd really like to set the default properties of some following plots
>>>> in a script
>>>> but when I define these settings using a=gda(), and accessing the axis
>>>> seetings through "a", still no marks are being plotted... :(
>>>>         
>>> I think that what you're reporting is a bug. It works with gca() but
>>> not with gda().
>>>
>>> Note for cranks: this happens identically in Scilab 4.1.2, ScicosLab
>>> and even Scilab5.
>>>
>>>
>>>       
>>>> I do not want to set each setting with gca() everytime. I believe that
>>>> this is what gda() was for in the first place. of course I would reset
>>>> these settings back with sda().
>>>>         
>>> If you don't want to use gca(), as a workaround you could perhaps use
>>> the style argument to plot2d, with negative value:
>>>
>>> x=[0:0.1:2*%pi];
>>> plot2d(x-2,sin(x),style=-2)
>>>
>>> Francois
>>>       
>>     


-- 
Stéphane Mottelet
Laboratoire de Mathématiques Appliquées
Université de Technologie de Compiègne
http://www.lmac.utc.fr/~mottelet



More information about the users mailing list