[Scilab-users] surf with isoview

Jens Simon Strom j.s.strom at hslmg.de
Sat Jan 7 10:49:11 CET 2017


Hallo Rafael,
Very effective solution! It works with plot3D too, e. g.:

// START OF CODE
xdel();
  plot3d([1 0 0]',[0 0 5]',[0 25 0]')
h=gca(); h.cube_scaling="off";     h.isoview="on";
//END OF CODE

Kind regards and thanks for your competent assistance
Jens
--------------------------------------------------------------------------------------------
Am 06.01.2017 23:28, schrieb Rafael Guerra:
> Hi Jens,
>
> Please check this out:
>
> // START OF CODE
> clf;
> X = repmat([1 2 3 5],4,1);
> Y = repmat([10 20 30 50]',1,4);
> Z = X + exp(-Y/50);
> surf(X,Y,Z)
> h=gca();
> h.cube_scaling="off";
> h.isoview="on";
> //END OF CODE
>
> Result seems isometric enough to me.
>
> Regards,
> Rafael
>
> -----Original Message-----
> From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Jens Simon Strom
> Sent: Friday, January 06, 2017 11:07 PM
> To: International users mailing list for Scilab. <users at lists.scilab.org>
> Subject: [Scilab-users] surf with isoview
>
> Hallo,
> When I switch  isoview on after a surf plot I don't get an isometric
> plot. One can work around by defining cube shape data_bounds. Is that
> the method of first choice?
> Kind regards
> Jens
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170107/1d963067/attachment.htm>


More information about the users mailing list