aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scalam/plotting/styles/lines.scala
blob: c8c8bf3a173ac0ac54d427214c57937b1c00452d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package scalam.plotting.styles

import scalam.m.ast._

trait Line extends Style {
  def name = StringLiteral("LineStyle")
}

case object Solid extends Line {def expression = StringLiteral("-")}
case object Dashed extends Line {def expression = StringLiteral("--")}
case object Dotted extends Line {def expression = StringLiteral(":")}
case object DashDot extends Line {def expression = StringLiteral("-.")}
case object NoLine extends Line {def expression = StringLiteral("none")}