diff options
author | Jakob Odersky <jodersky@gmail.com> | 2012-10-30 23:35:49 +0100 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2012-10-30 23:35:49 +0100 |
commit | 41c3018b7822ea511b037e55ee80c12dcfcf3980 (patch) | |
tree | d0a9930387b68910c9a3e232c157246cec477b42 /src/main/scala | |
parent | 3d5b08cf59375233b693803511ea7fc75a3da1cc (diff) | |
download | scalam-41c3018b7822ea511b037e55ee80c12dcfcf3980.tar.gz scalam-41c3018b7822ea511b037e55ee80c12dcfcf3980.tar.bz2 scalam-41c3018b7822ea511b037e55ee80c12dcfcf3980.zip |
modify plotter to support new plot
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/scalam/plotting/Plotter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/scalam/plotting/Plotter.scala b/src/main/scala/scalam/plotting/Plotter.scala index 341b976..6d240d9 100644 --- a/src/main/scala/scalam/plotting/Plotter.scala +++ b/src/main/scala/scalam/plotting/Plotter.scala @@ -13,7 +13,7 @@ trait Plotter { lazy val interpreter: MInterpreter = new MatlabInterpreter(pwd) - def plot(dataSets: Seq[DataSet], title: String, x: String, y: String, grid: Boolean = true, legend: Boolean = true)(implicit styles: Seq[Style[_]] = defaultStyles, fontSize: FontSize = defaultFontSize) = { + def plot(dataSets: Seq[DataSet], title: String, x: String, y: String, grid: Boolean = true, legend: Boolean = true)(implicit styles: Seq[Style[StyleElement]] = defaultStyles, fontSize: FontSize = defaultFontSize) = { val p = new Plot(dataSets, title, x, y, grid, legend, styles = styles, fontSize = fontSize.fontSize) p.save() val s = Function(Identifier("run"), StringLiteral((p.directory / p.localPlotFile).path)) |