0
How to make and display calculation Table using scilab.


 Is there any wayto make a calculation tableas given below in Scilab-
 I want to display this table as it is, but I have no idea what to do. 

                                  Table in scilab

Thanks 
Parvesh Taneja
B-Tech (M.E 2013-16), SoE
GD Goenka University, Gurgaon.


Scilab 11-01-16, 1:34 a.m. taneja
1
It is possible to display the output in table format.

See the below example:
----------------------------------------------------------------------------------------------------------------------------
// Include an editable table into a figure:
// Building a table of data:
params = [" " "Country" "Population [Mh]" "Temp.[\xc2\xb0C]" ];
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)
)

---------------------------------------------------------------------------------------------------------------------------------
Type 'help table' on the Scilab console to read the documentation.
11-01-16, 9:57 a.m. Lavita


Log-in to answer to this question.