Shwoing X-Y data on 4 canvas regions
Source code name: ""
Programming language: Python
Topic: Plots/2D
DMelt Version 1.4. Last modified: 12/14/1970. License: Free
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 *

c1 = HPlot("Canvas",500,400,2,2)
c1. setRangeAll(0,10,0,10)
h1 = P1D("Simple"),1)
h1.add(5,6);  c1.draw(h1),2)
h1.add(4,3); c1.draw(h1),1)
h1.add(3,3); c1.draw(h1),2)
h1.add(2,1); c1.draw(h1)
c1.export ("example.pdf") # export to PDF