|
Show a F1D function in the range 1-10
Source code name: "func0.py"
Programming language: Python
Topic: Function/1D
DMelt Version 1. Last modified: 12/11/2015. License: Free
https://datamelt.org/code/cache/func0_2410.py
To run this script using the DataMelt IDE,
copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.
from jhplot import *
f1 = F1D("2*exp(-x*x/50)+sin(pi*x)/x", 1.0, 10.0)
c1 = HPlot("Example of function")
c1.visible()
c1.setAutoRange()
c1.draw(f1)