Data points using SPlot
Code: "canvas2D_splot.py". Programming language: Python
DMelt Version 1. Last modified: 05/09/2015. License: Pro
https://datamelt.org/code/cache/canvas2D_splot_8196.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 java.awt import Color,Font
from java.util import Random
from jhplot import *
from jhplot.math.StatisticSample import randUniform
c1 = SPlot("Test",600,400)
c1.visible()
c1.draw( "set 1", randUniform(1000,0.0,100.0),
randUniform(1000,0.0,100.0) )
c1.draw( "set 2", randUniform(500,40.0,80.0),
randUniform(500,20.0,80.0) )
You see the box below because you did not login.