diff options
author | Jakob Odersky <jodersky@gmail.com> | 2012-10-30 21:48:46 +0100 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2012-10-30 21:48:46 +0100 |
commit | a93a86db7ad1839605448f9532ac96300785a59e (patch) | |
tree | b45a754e99ff093b324353d2e0be412df6182d51 /src/main/scala/scalam/plotting | |
parent | 215fbe731743e8f38a3a62cb1b83ab03ae32f6b6 (diff) | |
download | scalam-a93a86db7ad1839605448f9532ac96300785a59e.tar.gz scalam-a93a86db7ad1839605448f9532ac96300785a59e.tar.bz2 scalam-a93a86db7ad1839605448f9532ac96300785a59e.zip |
move interpreters to seperate package
Diffstat (limited to 'src/main/scala/scalam/plotting')
-rw-r--r-- | src/main/scala/scalam/plotting/Plotter.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/scala/scalam/plotting/Plotter.scala b/src/main/scala/scalam/plotting/Plotter.scala index 46e579f..341b976 100644 --- a/src/main/scala/scalam/plotting/Plotter.scala +++ b/src/main/scala/scalam/plotting/Plotter.scala @@ -3,13 +3,15 @@ package scalam.plotting import scalam.m._ import scalam.m.ast._ import scalam.plotting.styles._ +import scalam.m.interpretation.MInterpreter +import scalam.m.interpretation.MatlabInterpreter trait Plotter { import Plotter._ val pwd: scalax.file.Path - lazy val interpreter = new MatlabInterpreter(pwd) + 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) = { val p = new Plot(dataSets, title, x, y, grid, legend, styles = styles, fontSize = fontSize.fontSize) |