Hello ,
This is my example on worksheet and I'm not getting any results even I tried it
import breeze.linalg._
import breeze.plot._
object test {
println("Welcome to the Scala worksheet")
var x = DenseVector(1.0,1.0)
val F = DenseMatrix.ones[Double](2,2)
def state(t: DenseVector[Double]) : DenseVector[Double] =
{
t := F * t
}
val f = Figure()
val g = f.subplot(0)
g.xlim(-100,100)
g.ylim(-100,100)
for( i <- 0 until 10)
{
x := state(x)
g += scatter(x(0 to 0), x(1 to 1), {_=>0.01})
}
}
On Windows it shows Frame with no plotting and working in Ubuntu it show no frame even.
On Thursday, January 10, 2013 8:17:40 PM UTC+1, Adelbert Chang wrote: