 |
F2D function showed as a contour plot
Source code name: "canvas2D_contour0.py"
Programming language: Python
Topic: Plots/Contour
DMelt Version 1. Last modified: 05/09/2015. License: Pro
https://datamelt.org/code/cache/canvas2D_contour0_6535.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("Xaxis")
c1.setNameY("Yaxis")
c1.setNameZ("Zaxis")
c1.visible()
c1.setContour()
c1.setRange(1,10,1,10,0,10)
f1 = F2D("2*exp(-x*y/20)+10*sin(pi*x)/y+x*y",1,10,1,10)
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.