//  Graph output in Scilab. Creating a vector- column of voltage V, current I and
//  power for displaying graphs in EXCEL. Determine the point of maximum power
// (Pmax) from the data of the vector-column  P. 
I=I_PV_xcos.values; V=V_PV_xcos.values;P=P_PV_xcos.values;
f1=scf(1); plot(V, I); xgrid(); xtitle('','U, [B]','I, [A]')
f1=scf(2);plot(V, P); xgrid(); xtitle('','U, [B]','P, [A]')
mprintf('Pmax=%f',max(P))
