 |
F2D function shown in HPlot3D canvas
Source code name: "func_2D_histo.py"
Programming language: Python
Topic: Function/2D
DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/func_2D_histo_6400.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 *
c1 = HPlot3D("Canvas",600,400,2,1)
c1.setNameX("X")
c1.setNameY("Y")
c1.setNameY("Z")
c1.visible()
c1.setRange(-10,10,-10,10,0,100)
f1 = F2D("x*x+y*y")
h1=f1.getH2D("Histogram",10,-10,10,10,-10,10)
if f1.isParsed():
c1.draw(f1)
c1.cd(2,1)
c1.setRange(-10,10,-10,10,0,100)
c1.draw(h1)
You see the box below because you did not login.