Diagram using LaTex equations using PlanUML
Source code name: "hdiagram_math.py"
Programming language: Python
Topic: Plots/Diagrams
DMelt Version 1.4. Last modified: 02/13/1972. License: Pro
https://datamelt.org/code/cache/hdiagram_math_5709.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 *
import os
cwd = os.getcwd()


s = """
@startuml
:int_0^1f(x)dx;
:x^2+y_1+z_12^34;
note right
Try also
d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h
P(y|\mathbf{x}) \mbox{ or } f(\mathbf{x})+\epsilon
end note
@enduml
"""

h=HDiagram(s)
h.export(cwd+"/hdiagram.png")
IView(cwd+"/hdiagram.png")





You see the box below because you did not login.