display axes with java3d

Hello,

I want to display a 2d curve y = f(x) with java3d.
Exist there objects of Java3D API to display the axes (with the graduations) X and Y?

^
|
|*
| *
| *
| * * *
---------------->

Is there possible to increase the curve without touching with the axes?

I will appreciate if you can provide a little code.

Thanks in advance.
David.

The first question that comes to mind is why use Java 3D to display a 2D graph? This is something you can do without Java 3D, unless you plan to plot 3D functions next.

But to answer your question there is no “display axes” attribute in Java 3D. Just use lines to draw them yourself.

djp