Function in 3D with mesh contour lines
Code: "canvas3D_func_mesh.py". Programming language: Python DMelt Version 1.5. Last modified: 05/19/2016. License: Pro
https://datamelt.org/code/cache/canvas3D_func_mesh_818.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


from jhplot import *
from java.awt import Color
from java.util import Random

c1=HPlotXYZ("test",600,400)
c1.setGTitle("3D function")
c1.visible()

f1=F2D("x*x+y*y",-2,2,-2,2)
c1.setContourMesh3D()
c1.add(f1)
# c1.setLegendBar()
c1.setTickDecimalAll(1)
c1.update()



Ads help maintain this website.