plot a mesh
meshvisu(col,rect)
a color (see third argument of xfpolys)
the bounds of the plot (see the rect parameter of plot2d)
plot a mesh
Beware, this function uses global variables (noeul, trianl)
// Define and solve the problem ff_problem(strcat(['solve(u) {',... pde_sol(u,div(grad(u)),f),... 'on(a,b,c,d,e,f) u = 0; };'])); // Get the result as a Scilab variables [noeul,trianl,tFunc] = getffResult('u'); // Show the mesh clf(); xsetech([0,0,1,0.5]); meshvisu(); // Show the result xsetech([0,0.5,1,0.5]); resultvisu(noeul,trianl,tFunc); | ![]() | ![]() |