diff options
Diffstat (limited to 'src/main/scala/scalam/plotting/Plotter.scala')
-rw-r--r-- | src/main/scala/scalam/plotting/Plotter.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/scala/scalam/plotting/Plotter.scala b/src/main/scala/scalam/plotting/Plotter.scala index 9292490..cfd7b7e 100644 --- a/src/main/scala/scalam/plotting/Plotter.scala +++ b/src/main/scala/scalam/plotting/Plotter.scala @@ -1,6 +1,5 @@ package scalam.plotting -import scalam.DataSet import scalam.m._ import scalam.m.ast._ import scalam.plotting.styles._ @@ -12,11 +11,8 @@ trait Plotter { lazy val interpreter = 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): Plot = - //new Plot(dataSets, title, x, y, grid, legend, styles = styles, fontSize = fontSize.fs) - 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.fs) + 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 + "'" |