scalation.plot

Histogram

class Histogram extends MainFrame

The Histogram class takes a vector of values, counts the number of values in each of several intervals and displays the counts vertically in a histogram.

Linear Supertypes
MainFrame, Frame, RichWindow, Window, RootPanel, Container, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Histogram
  2. MainFrame
  3. Frame
  4. RichWindow
  5. Window
  6. RootPanel
  7. Container
  8. UIElement
  9. LazyPublisher
  10. Publisher
  11. Reactor
  12. Proxy
  13. AnyRef
  14. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Histogram(value: VectorD, numIntervals: Int, _title: String = "Histogram")

    value

    the vector of values (want several per interval)

    numIntervals

    the number of intervals (typically 5 to 100)

    _title

    title of the histogram

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def background: Color

    Definition Classes
    UIElement
  8. def background_=(c: Color): Unit

    Definition Classes
    UIElement
  9. def bounds: Rectangle

    Definition Classes
    UIElement
  10. def bounds_=(rect: Rectangle): Unit

    Definition Classes
    Window
  11. val canvas: Panel

    Create a canvas on which to draw the histogram.

  12. def centerOnScreen(): Unit

    Definition Classes
    Window
  13. def clip(x: Double): String

    Convert value to string and cut out the first four characters.

    Convert value to string and cut out the first four characters.

    x

    the value to convert and cut

  14. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def close(): Unit

    Definition Classes
    Window
  16. def closeOperation(): Unit

    Definition Classes
    MainFrame → Window
  17. def computeCoordinates(): MatrixD

    Compute coordinates (x, y, w, h) for each of bars used to draw the histogram.

  18. def computeHistogram(): VectorD

    Compute the counts for each interval in the histogram.

  19. def contents: Seq[Component]

    Definition Classes
    RootPanel → Container
  20. def contents_=(c: Component): Unit

    Definition Classes
    Window → RootPanel
  21. def cursor: Cursor

    Definition Classes
    UIElement
  22. def cursor_=(c: Cursor): Unit

    Definition Classes
    UIElement
  23. def deafTo(ps: Publisher*): Unit

    Definition Classes
    Reactor
  24. def defaultButton: Option[Button]

    Definition Classes
    Window
  25. def defaultButton_=(b: Option[Button]): Unit

    Definition Classes
    Window
  26. def defaultButton_=(b: Button): Unit

    Definition Classes
    Window
  27. def displayable: Boolean

    Definition Classes
    UIElement
  28. def dispose(): Unit

    Definition Classes
    Window
  29. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. def equals(that: Any): Boolean

    Definition Classes
    Proxy → AnyRef → Any
  31. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def font: Font

    Definition Classes
    UIElement
  33. def font_=(f: Font): Unit

    Definition Classes
    UIElement
  34. def foreground: Color

    Definition Classes
    UIElement
  35. def foreground_=(c: Color): Unit

    Definition Classes
    UIElement
  36. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  37. def hashCode(): Int

    Definition Classes
    Proxy → AnyRef → Any
  38. def iconImage: Image

    Definition Classes
    Frame
  39. def iconImage_=(i: Image): Unit

    Definition Classes
    Frame
  40. def iconified(): Unit

    Definition Classes
    Frame
  41. def iconify(): Unit

    Definition Classes
    Frame
  42. def ignoreRepaint: Boolean

    Definition Classes
    UIElement
  43. def ignoreRepaint_=(b: Boolean): Unit

    Definition Classes
    UIElement
  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. def listenTo(ps: Publisher*): Unit

    Definition Classes
    Reactor
  46. val listeners: RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Attributes
    protected
    Definition Classes
    Publisher
  47. def locale: Locale

    Definition Classes
    UIElement
  48. def location: Point

    Definition Classes
    UIElement
  49. def locationOnScreen: Point

    Definition Classes
    UIElement
  50. def location_=(p: Point): Unit

    Definition Classes
    Window
  51. def maximize(): Unit

    Definition Classes
    Frame
  52. def maximized(): Unit

    Definition Classes
    Frame
  53. def maximumSize: Dimension

    Definition Classes
    UIElement
  54. def maximumSize_=(x: Dimension): Unit

    Definition Classes
    UIElement
  55. def menuBar: MenuBar

    Definition Classes
    RichWindow
  56. def menuBar_=(m: MenuBar): Unit

    Definition Classes
    RichWindow
  57. def minimumSize: Dimension

    Definition Classes
    UIElement
  58. def minimumSize_=(x: Dimension): Unit

    Definition Classes
    UIElement
  59. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  60. final def notify(): Unit

    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  62. def onFirstSubscribe(): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  63. def onLastUnsubscribe(): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  64. def open(): Unit

    Definition Classes
    Window
  65. def owner: Window

    Definition Classes
    Window
  66. def pack(): Histogram.this.type

    Definition Classes
    Window
  67. lazy val peer: JFrame with InterfaceMixin

    Definition Classes
    Frame → RichWindow → Window → RootPanel → UIElement
  68. def preferredSize: Dimension

    Definition Classes
    UIElement
  69. def preferredSize_=(x: Dimension): Unit

    Definition Classes
    UIElement
  70. def publish(e: Event): Unit

    Definition Classes
    Publisher
  71. val reactions: Reactions

    Definition Classes
    Reactor
  72. def repaint(rect: Rectangle): Unit

    Definition Classes
    UIElement
  73. def repaint(): Unit

    Definition Classes
    UIElement
  74. def resizable: Boolean

    Definition Classes
    RichWindow
  75. def resizable_=(b: Boolean): Unit

    Definition Classes
    RichWindow
  76. def self: Component

    Definition Classes
    UIElement → Proxy
  77. def setLocationRelativeTo(c: UIElement): Unit

    Definition Classes
    Window
  78. def showing: Boolean

    Definition Classes
    UIElement
  79. def size: Dimension

    Definition Classes
    UIElement
  80. def size_=(size: Dimension): Unit

    Definition Classes
    Window → UIElement
  81. def subscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  82. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  83. def title: String

    Definition Classes
    RichWindow
  84. def title_=(s: String): Unit

    Definition Classes
    RichWindow
  85. def toString(): String

    Convert a Histogram to a string.

    Convert a Histogram to a string.

    Definition Classes
    Histogram → Proxy → AnyRef → Any
  86. def toolkit: Toolkit

    Definition Classes
    UIElement
  87. def uniconify(): Unit

    Definition Classes
    Frame
  88. def unmaximize(): Unit

    Definition Classes
    Frame
  89. def unsubscribe(listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  90. def visible: Boolean

    Definition Classes
    UIElement
  91. def visible_=(b: Boolean): Unit

    Definition Classes
    UIElement
  92. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  93. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  94. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MainFrame

Inherited from Frame

Inherited from RichWindow

Inherited from Window

Inherited from RootPanel

Inherited from Container

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any