 |
Data in X-Y with error on Y, plotting on 2D canvas
Source code name: "data_p1d_2.py"
Programming language: Python
Topic: Data arrays/P1D
DMelt Version 1. Last modified: 12/08/2015. License: Pro
https://datamelt.org/code/cache/data_p1d_2_2588.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 = HPlot("Canvas")
c1.visible()
c1.setAutoRange()
c1.setGTitle("X-Y with errors")
p1= P1D("Data")
p1.add(1,100,7,5) # x, y, error UP and DOWN
p1.add(2,80,5,4)
p1.add(3,90,5,2)
c1.draw(p1)
You see the box below because you did not login.