 |
F2D function in 2D shown in a 3D (HPlot3D)
Source code name: "func_2D.py"
Programming language: Python
Topic: Function/2D
DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/func_2D_3788.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 HPlot3D,F2D
c1 = HPlot3D("Canvas",600,400)
c1.setNameX("X")
c1.setNameY("Y")
c1.setNameY("Z")
c1.visible()
c1.setRange(1,100,1,100,0,1000)
f1 = F2D("2*exp(-x*y/20)+10*sin(pi*x)/y+x*y")
c1.draw(f1)
# export to some image (png,eps,pdf,jpeg...)
# c1.export(Editor.DocMasterName()+".eps")
You see the box below because you did not login.