[Scilab-users] Coding for a 3D Klein Bottle

Samuel Gougeon sgougeon at free.fr
Sun Jun 10 13:18:05 CEST 2018


Hello Lester,

The code was just missing many dots (* => .*, ^ = .^), to make operators 
working in an elementwise way (see attachement).
Fixing that makes the expected picture:

This could make a nice demo, in the /Graphics => More surfaces/  section.

Regards
Samuel


Le 10/06/2018 à 12:51, Lester Anderson a écrit :
> Hello all,
>
> I have been testing the latest version of Scilab (6.0.1) and have been 
> looking at data visualisation of non-orientatable surfaces (e.g. 
> Moebius, Klein Bottle etc.).
>
> The Moebius strip was not hard to figure out, but I am having issues 
> with the Klein Bottle.I have attched the code as is so far, uses the 
> parametric equations from https://en.wikipedia.org/wiki/Klein_bottle, 
> for the 3D immersion of the bottle.
>
> As a test, I used the old software Derive 6 to run the equations and 
> it plots the bottle as correct. If anyone has pointers on this code 
> that would be helpful.
>
> Still learning Scilab!
>
> Thanks
> Lester
>
>
> _______________________________________________
> 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/20180610/b18b3762/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amfakkjmogmnhkoj.png
Type: image/png
Size: 23476 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20180610/b18b3762/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Klein.sce
Type: application/x-scilab-sce
Size: 746 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20180610/b18b3762/attachment.bin>


More information about the users mailing list