Ploting Surface from 3 column matrix (xyz dataset)

120 views
Skip to first unread message

Charles David

unread,
May 12, 2019, 9:01:18 PM5/12/19
to Jzy3d
Hello,

I am trying to integrate surface plotting functionality into my java application that runs in an HPC environment.

What I need is a streamlined method that creates a surface plot from a 3 column matrix, which is an XYZ dataset, and saves it as a PNG file (no interactive viewing).

I need to plot this XYZ dataset as a surface.

What will NOT be of use is surface plots that require defining a function that is sampled.

Could someone here please indicate how to plot this XYZ data using this package?

It turns out that finding a java library to do this is non-trivial...

I tried JFreeChart and that works well for 2D plots but nothing for 3D.

I then tried OrsonCharts, but their package requires functions for surface rendering...no good.

So many non-java platforms exist for plotting this data easily and natively like R, MatLab, etc, I assume that Java has this capability too and that I just need to be pointed to it.

Thanks for helping resolve this issue, as I am finding out the difficulties of turning scientific code into functional software!


Martin Pernollet

unread,
May 13, 2019, 5:39:23 PM5/13/19
to jz...@googlegroups.com
Dear Charles,

The documentation mentions tutorials that should help you getting started - especially surface tutorials.

If you need to go further than these demonstrations, the developer guide may help you.

If you are looking for development workforce to have your requirements implemented out of the box, do not hesitate to contact me privately.

Best,

Martin

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "Jzy3d".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jzy3d+un...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/jzy3d/cc740d16-d23d-478f-bd54-ceba1a595ed7%40googlegroups.com.
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.

Charles David

unread,
Jun 25, 2019, 9:23:09 PM6/25/19
to Jzy3d
Hi Martin,

In my earlier post, I specifically noted that I need to plot a 3 column matrix, and NOT sample a function.
I specifically said that any plotting package that required this would not be fit for purpose...

Therefore, the only example that was provided in the section of tutorials that you mentioned is not helpful.

So I will ask one more time: DOES jzy3d PLOT SURFACES THAT DO NOT SAMPLE A DEFINED FUNCTION?

If so, point me to an example, if not, then let me know that this package is not fit for the specified purpose.

Thanks!

On Tuesday, May 14, 2019 at 9:39:23 AM UTC+12, Martin wrote:
Dear Charles,

The documentation mentions tutorials that should help you getting started - especially surface tutorials.

If you need to go further than these demonstrations, the developer guide may help you.

If you are looking for development workforce to have your requirements implemented out of the box, do not hesitate to contact me privately.

Best,

Martin

Le lun. 13 mai 2019 à 03:01, Charles David <cda...@carolina.rr.com> a écrit :
Hello,

I am trying to integrate surface plotting functionality into my java application that runs in an HPC environment.

What I need is a streamlined method that creates a surface plot from a 3 column matrix, which is an XYZ dataset, and saves it as a PNG file (no interactive viewing).

I need to plot this XYZ dataset as a surface.

What will NOT be of use is surface plots that require defining a function that is sampled.

Could someone here please indicate how to plot this XYZ data using this package?

It turns out that finding a java library to do this is non-trivial...

I tried JFreeChart and that works well for 2D plots but nothing for 3D.

I then tried OrsonCharts, but their package requires functions for surface rendering...no good.

So many non-java platforms exist for plotting this data easily and natively like R, MatLab, etc, I assume that Java has this capability too and that I just need to be pointed to it.

Thanks for helping resolve this issue, as I am finding out the difficulties of turning scientific code into functional software!


--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "Jzy3d".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jz...@googlegroups.com.

Martin Pernollet

unread,
Jul 5, 2019, 7:35:02 AM7/5/19
to jz...@googlegroups.com
Hi,

The Delaunay tesselation is for you !

It deals with arbitrary distribution of points. 

Note that it comes from a terrain library and hence favor “floor” tesselstion rather than “wall” tesselation. Hope I am clear .

There is an exemple in the developer guide.



Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jzy3d+un...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/jzy3d/d28c5eac-ecae-4a16-b47a-1aba6d2dea0f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages