Hello,

Le 30/01/2017 à 00:25, Max Rossi a écrit :
Hi all,

I'm trying to plot in Scilab the surface error of different non rectangular
panels (see attachments).
At a certain point of my code, everything is turned into nice XYZ data but
the only way I found to plot the data is to generate a grid and fit the Z
above it as follows:

What are the Z value(s) set for points outside the polygonal boundary of the ROI?
Have they already a special value, or a specific range?

Otherwise, as answered by Bruno, you may use an external in_polygon() boolean function.
There is this one: https://fileexchange.scilab.org/toolboxes/121000
But it is not vectorized (easy to do).
Some vectorized (so much faster) version already exists in an external toolbox,
but i don't remember which one..

HTH
Samuel Gougeon

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to