Hello,

I'm trying to plot two perpendicular wavy surfaces (sine or cosine)
and their intersection,
to illustrate that an edge cumulates the defaults of both surfaces
(the waves represent the grooves from a milling process).

So, for each surface,
I define three mxm matrices X, Y and Z
and plot with surf().

To fit the surface with the other one,
I place some %nan.

It's OK except that :
* if I have too few points, I get some scale effect;
* if I have too many points, it's too dark (too many grid lines);
see the attached PNG (top: 101x101, bottom: 201x201),
and the Scilab script (maybe not too clean...).

Apart from this, It seems I can't export vector graphhics:
the SVG and PDF files have a size of 0,
and it seems to freeze Scilab
(scilab-master-1380896469).

So:

does anyone have any suggestion to improve the rendering?

Does anyone have a guess about the bug of vector graphic export?

Best regards.

-- 
Christophe Dang Ngoc Chan
Mechanical calculation engineer

Sidel Group 
Sidel Blowing & Services
CS 60627, 76059 Le Havre cedex, France
Avenue de la Patrouille de France

Tel: 33(0)2 32 85 89 32
Fax: 33(0)2 32 85 91 17

<http://www.sidel.com/>
<mailto:[email protected]>


______________________________________________________________________

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
______________________________________________________________________

<<attachment: intersection_wave_surfaces.png>>

Attachment: defauts_arete.sce
Description: defauts_arete.sce

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

Reply via email to