Hello,

Le 07/07/2021 à 10:09, Stéphane Mottelet a écrit :

Hello Philipp,

The feature did exist until Scilab 5 family but was removed.

I have never seen this in Scilab 4, 5 or 6. 3D rotations have always been prone to some stretching of the axes in order to fill the more as possible the axes_bounds whatever are the rotation_angles, isoview and cube_scaling values. Could you provide a sample running on Scilab 5 and preventing this stretching?
Thanks.

Samuel


x  =  [0:0.3:%pi]';
y  =  [0:0.3:2*%pi];

z  =  sin(x)*cos(y);
[xx,yy,zz]  =  genfac3d(x,y,z);
plot3d(xx,yy,zz)

for  iv  =  ["off"  "on"]
    ax.isoview  =  iv;
    for  cs  =  ["off"  "on"]
        ax.cube_scaling  =  cs;
        for  a  =  0:3:720,  ax.rotation_angles(2)  =  a;  sleep(100);  end
    end
end

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

Reply via email to