[Scilab-users] uicontrol TABLE

Daniele Tonelli ddslamdunk at gmail.com
Wed Dec 21 17:24:41 CET 2016


Thanks,

I solved the problem. It was a program's bug.

Thanks,

Daniele

2016-12-21 10:56 GMT-05:00 Samuel Gougeon <sgougeon at free.fr>:

> Hello,
>
> This bug was fixed during the last summer, after the 6.0.0-b2 release.
> You may install (3mn. No need to uninstall your current Scilab)
> and use the nightly built release:
> http://www.scilab.org/fr/development/nightly_builds/master
>
> HTH
> Samuel Gougeon
>
>
> Le 21/12/2016 16:50, Daniele Tonelli a écrit :
>
>> Hello,
>>
>> I don't understand how get the value handly modified from a uicontrol
>> table. I modify the table in the GUI, but I can´t get the new values.
>>
>> Thanks,
>>
>> Daniele
>>
>> // Include an editable table into a figure:
>> // Building a table of data:
>> params = [" " "Country" "Population [Mh]" "Temp.[°C]" ];
>> towns = ["Mexico" "Paris" "Tokyo" "Singapour"]';
>> country = ["Mexico" "France" "Japan" "Singapour"]';
>> pop = string([22.41 11.77 33.41 4.24]');
>> temp = string([26 19 22 17]');
>> table = [params; [ towns country pop temp ]]
>>
>> f = gcf();
>> clf
>> as = f.axes_size; // [width height]
>> ut = uicontrol("style","table",..
>> "string",table,..
>> "position",[5 as(2)-100 300 87],.. // => @top left corner of figure
>> "tooltipstring","Data from majors towns")
>>
>> // Modify by hand some values in the table. Then get them back from the
>> ui:
>> matrix(ut.string,size(table))/listinfo/users
>>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161221/167024de/attachment.htm>


More information about the users mailing list