In [1]:
interp.repositories() ++= Seq(
	coursier.MavenRepository("https://dl.bintray.com/cibotech/public")
)
In [2]:
import $ivy.`com.cibo::evilplot-repl:0.6.3`
Out[2]:
import $ivy.$                              
In [3]:
import com.cibo.evilplot._
import com.cibo.evilplot.plot._
import com.cibo.evilplot.plot.aesthetics.DefaultTheme._
import com.cibo.evilplot.numeric.Point

val data = Seq.tabulate(100) { i =>
  Point(i.toDouble, scala.util.Random.nextDouble())
}
displayPlot(ScatterPlot(data).render())
Out[3]:
import com.cibo.evilplot._

import com.cibo.evilplot.plot._

import com.cibo.evilplot.plot.aesthetics.DefaultTheme._

import com.cibo.evilplot.numeric.Point


data: Seq[Point] = List(
  Point(0.0, 0.948059591436106),
  Point(1.0, 0.13506686216641273),
  Point(2.0, 0.8602813662216144),
  Point(3.0, 0.2226796191105812),
  Point(4.0, 0.023300045937770686),
  Point(5.0, 0.6393405537319419),
  Point(6.0, 0.15934293449967618),
  Point(7.0, 0.11741542923997617),
  Point(8.0, 0.6500156992965335),
  Point(9.0, 0.03907443440410785),
  Point(10.0, 0.23775005702826668),
  Point(11.0, 0.2066315056237502),
  Point(12.0, 0.2520088991070024),
  Point(13.0, 0.18510541195600416),
  Point(14.0, 0.6493077503092222),
  Point(15.0, 0.059033631915200946),
  Point(16.0, 0.3815792273412483),
  Point(17.0, 0.31694351615893546),
  Point(18.0, 0.8143809281473917),
  Point(19.0, 0.16267312387591681),
  Point(20.0, 0.04340455555854661),
  Point(21.0, 0.8929787666234658),
  Point(22.0, 0.7087851810182718),
  Point(23.0, 0.5062300469852855),
  Point(24.0, 0.0015619606702604871),
  Point(25.0, 0.4887661354442323),
  Point(26.0, 0.9806569924130648),
  Point(27.0, 0.7255818691772538),
  Point(28.0, 0.5728928994321928),
  Point(29.0, 0.802969841804271),
  Point(30.0, 0.9794646677188144),
  Point(31.0, 0.10572764904844745),
  Point(32.0, 0.9421438036915908),
  Point(33.0, 0.19433728315679843),
  Point(34.0, 0.9791733272720156),
  Point(35.0, 0.0025509301303194842),
  Point(36.0, 0.3477893540468836),
  Point(37.0, 0.5881122195367782),
...
In [4]:
ScatterPlot(data)
Out[4]:
res3: Plot = Plot(
  Bounds(0.0, 99.0),
  Bounds(0.0015619606702604871, 0.9952759775006323),
  ScatterPlotRenderer(
    List(
      Point(0.0, 0.948059591436106),
      Point(1.0, 0.13506686216641273),
      Point(2.0, 0.8602813662216144),
      Point(3.0, 0.2226796191105812),
      Point(4.0, 0.023300045937770686),
      Point(5.0, 0.6393405537319419),
      Point(6.0, 0.15934293449967618),
      Point(7.0, 0.11741542923997617),
      Point(8.0, 0.6500156992965335),
      Point(9.0, 0.03907443440410785),
      Point(10.0, 0.23775005702826668),
      Point(11.0, 0.2066315056237502),
      Point(12.0, 0.2520088991070024),
      Point(13.0, 0.18510541195600416),
      Point(14.0, 0.6493077503092222),
      Point(15.0, 0.059033631915200946),
      Point(16.0, 0.3815792273412483),
      Point(17.0, 0.31694351615893546),
      Point(18.0, 0.8143809281473917),
      Point(19.0, 0.16267312387591681),
      Point(20.0, 0.04340455555854661),
      Point(21.0, 0.8929787666234658),
      Point(22.0, 0.7087851810182718),
      Point(23.0, 0.5062300469852855),
      Point(24.0, 0.0015619606702604871),
      Point(25.0, 0.4887661354442323),
      Point(26.0, 0.9806569924130648),
      Point(27.0, 0.7255818691772538),
      Point(28.0, 0.5728928994321928),
      Point(29.0, 0.802969841804271),
      Point(30.0, 0.9794646677188144),
      Point(31.0, 0.10572764904844745),
      Point(32.0, 0.9421438036915908),
      Point(33.0, 0.19433728315679843),
...
In [5]:
ScatterPlot(data).render()
Out[5]:
res4: geometry.Drawable = Resize(
  Group(
    Vector(
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        0.0,
        28.509038977913292
      ),
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        8.080808080808081,
        519.390348187707
      ),
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        16.161616161616163,
        81.50913179806435
      ),
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        24.242424242424242,
        466.49016435596934
      ),
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        32.323232323232325,
        586.8746430667159
      ),
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        40.40404040404041,
        214.91218866209215
      ),
      Translate(
        Style(Translate(Disc(4.0), -4.0, -4.0), HSLA(0.0, 0.0, 12.0, 1.0)),
        48.484848484848484,
        504.7325662169768
      ),
      Translate(
...
In [ ]: