Le 25/01/2019 à 11:01, Adrian Weeks a écrit :
Hello,
I want to plot a function of three independent variables ( v = f(x, y,
z) ) so that I can visualize it.
Essentially, this requires a 4-D plot but I can do it by using param3d
to give me three independent axes then representing the value of the
function at each point by using the colour or size of the dot.
This all works nicely but the problem is the slowness of the plotting
operation:
for i = 1: size(dots, 'r') do
param3d(dots(i, 1), dots(i, 2), dots(i, 3));
pl = gce();
pl.line_mode = 'off';
pl.mark_mode = 'on';
pl.mark_size_unit = 'point';
pl.mark_size = 10; // Using dot colour to display the
dependent variable
pl.mark_foreground = dots(i, 4);
// pl.mark_size = dots(i,
4); // Using dot size to
display the dependent variable
// pl.mark_foreground = size(cmap, 'r') - 1;
end
Is it possible to 'vectorize' this operation ?
Hello Adrian,
You may have a look to
https://help.scilab.org/docs/6.0.1/en_US/scatter3.html
Regards
Samuel
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users