Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I draw an implicit function f(x,y,z)=0 with gnuplot?

Tags:

gnuplot

I want to draw the following implicit function with gnuplot

x**2+y**2+(z-1)**3-2

enter image description here

I know that maple or matlab can to this very simple but I want to use gnuplot.

Up to know I have no idea so I can't provide a starting point.

sorry

Here the result plotted with maple

enter image description here

like image 336
Marco Daniel Avatar asked Jul 26 '26 02:07

Marco Daniel


1 Answers

According to the Gnuplot FAQ, this is not directly possible. There is a workaround for 2D-functions, but I don't see how this method can be applied to 3D graphs. I'd recommend solving the equation in Octave or some similar program and outputting the solutions to a file, which you can then feed into GnuPlot.

like image 128
jupp0r Avatar answered Jul 30 '26 08:07

jupp0r



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!