diff options
author | Jakob Odersky <jodersky@gmail.com> | 2012-10-30 21:14:35 +0100 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2012-10-30 21:14:35 +0100 |
commit | cf87abecddbded2561b29c555cb4c1d1a180b4ca (patch) | |
tree | 6c766cb4099e92e87646355591e3ed8100a2b12a /src/main/scala/scalam/plotting/Plotter.scala | |
parent | 9dd20a4165e5fffdd397612ddf02d313222adcdd (diff) | |
download | scalam-cf87abecddbded2561b29c555cb4c1d1a180b4ca.tar.gz scalam-cf87abecddbded2561b29c555cb4c1d1a180b4ca.tar.bz2 scalam-cf87abecddbded2561b29c555cb4c1d1a180b4ca.zip |
adaptions required by ast refactoring
Diffstat (limited to 'src/main/scala/scalam/plotting/Plotter.scala')
-rw-r--r-- | src/main/scala/scalam/plotting/Plotter.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/scala/scalam/plotting/Plotter.scala b/src/main/scala/scalam/plotting/Plotter.scala index cfd7b7e..46e579f 100644 --- a/src/main/scala/scalam/plotting/Plotter.scala +++ b/src/main/scala/scalam/plotting/Plotter.scala @@ -14,9 +14,8 @@ trait Plotter { 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) = { val p = new Plot(dataSets, title, x, y, grid, legend, styles = styles, fontSize = fontSize.fontSize) p.save() - val s = Evaluate(Function(Identifier("run"), StringLiteral((p.directory / p.localPlotFile).path))) - //val s = "run '" + (p.directory / p.localPlotFile).path + "'" - println(s.m) + val s = Function(Identifier("run"), StringLiteral((p.directory / p.localPlotFile).path)) + println(s.line) interpreter.evaluate(s) } |