Paul Weiss

56 Reputation

4 Badges

18 years, 170 days

MaplePrimes Activity


These are answers submitted by Paul Weiss

I am currently facing exactly the same problem, that is to plot a surface which is defined at arbitrary points in the xy plane.

I have written a package that takles the problem by first performing a Delaunay triangulation in the xy plane, and by then plotting the resulting triangles. You will find it attached, together with a sample worksheet including your data. I hope you will find it useful.

(please remove the initial numbers befor using them)

Please be warned that this is my first try at package writing, and that there is no documentation up to now.

Paul

View 8933_data2.mw on MapleNet or Download 8933_data2.mw
View file details

Download 8933_Surfplot.lib
View file details

Download 8933_Surfplot.ind
View file details

Thank you!

That was exactly the point, of course!

Paul

 

Hello,

Some supplementary commentaries to my question:

In the quoted example, the "export" declaration order has an importance, that is, if I replace

export myFunc, myCos;

by

export myCos, myFunc;

where myFunc uses myCos, the resulting package now works correctly!

I do no understand this behaviour???

Furthermosr, it does not help me,  since my final purpose is tho "hide" the procedure "myCos" by declaring it local. But if I do that, I have no success!

Thank you in advance!

 

 

Page 1 of 1