scalation.plot

Contour

class Contour extends MainFrame

The Contour class takes a function 'f' and diplays color-coded values for 'f(x, y)' over a two dimensional grid defined the lower 'lb' and upper 'ub' bounds. An optional path is included that can be used to show, for example, the search path taken by an optimzer (e.g., a Conjugate Gradient NLP solver).

Linear Supertypes
MainFrame, Frame, RichWindow, Window, RootPanel, Container, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Contour
  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
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Contour(f: (VectorD) ⇒ Double, lb: VectorD, ub: VectorD, path: ArrayBuffer[VectorD] = null, deltaF: Double = -1.0, lbF: Double = 0.0, _title: String = "Contour plot of f(x, y)")

    f

    the function whose color-coded contour plot is sought

    lb

    the lower bounds on the plotting domain

    ub

    the upper bounds on the plotting domain

    path

    the points on a path (e.g., a search path)

    deltaF

    estimate of the range of possible functional values (if < 0, will be computed)

    lbF

    the lower bound on the functional value

    _title

    the title of the plot

Type Members

  1. trait InterfaceMixin extends scala.swing.RichWindow.InterfaceMixin

    Definition Classes
    RichWindow → Window
  2. trait SuperMixin extends Window

    Attributes
    protected
    Definition Classes
    Window

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 contour plot.

  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def close(): Unit

    Definition Classes
    Window
  16. def closeOperation(): Unit

    Definition Classes
    MainFrame → Window
  17. def contents: Seq[Component]

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

    Definition Classes
    Window → RootPanel
  19. def cursor: Cursor

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

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

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

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

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

    Definition Classes
    Window
  25. def displayable: Boolean

    Definition Classes
    UIElement
  26. def dispose(): Unit

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def font: Font

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

    Definition Classes
    UIElement
  32. def foreground: Color

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

    Definition Classes
    UIElement
  34. final def getClass(): Class[_]

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

    Definition Classes
    Proxy → Any
  36. def iconImage: Image

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

    Definition Classes
    Frame
  38. def iconified: Boolean

    Definition Classes
    Frame
  39. def iconify(): Unit

    Definition Classes
    Frame
  40. def ignoreRepaint: Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    Publisher
  45. def locale: Locale

    Definition Classes
    UIElement
  46. def location: Point

    Definition Classes
    UIElement
  47. def locationOnScreen: Point

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

    Definition Classes
    Window
  49. def maximize(): Unit

    Definition Classes
    Frame
  50. def maximized: Boolean

    Definition Classes
    Frame
  51. def maximumSize: Dimension

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

    Definition Classes
    UIElement
  53. def menuBar: MenuBar

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

    Definition Classes
    RichWindow
  55. def minimumSize: Dimension

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

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

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

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

    Definition Classes
    AnyRef
  60. def onFirstSubscribe(): Unit

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

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

    Definition Classes
    Window
  63. def owner: Window

    Definition Classes
    Window
  64. def pack(): Contour.this.type

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

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

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

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

    Definition Classes
    Publisher
  69. val reactions: Reactions

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

    Definition Classes
    UIElement
  71. def repaint(): Unit

    Definition Classes
    UIElement
  72. def resetBounds(): Unit

    Reset the bounds on the functional values of f.

    Reset the bounds on the functional values of f. If the caller fails to provide an estimate for deltaF, this method should be called.

  73. def resizable: Boolean

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

    Definition Classes
    RichWindow
  75. def self: Component

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

    Definition Classes
    Window
  77. def showing: Boolean

    Definition Classes
    UIElement
  78. def size: Dimension

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

    Definition Classes
    Window
  80. def subscribe(listener: Reaction): Unit

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

    Definition Classes
    AnyRef
  82. def title: String

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

    Definition Classes
    RichWindow
  84. def toString(): String

    Convert basic Contour information to a string.

    Convert basic Contour information to a string.

    Definition Classes
    Contour → Proxy → AnyRef → Any
  85. def toolkit: Toolkit

    Definition Classes
    UIElement
  86. def uniconify(): Unit

    Definition Classes
    Frame
  87. def unmaximize(): Unit

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

    Definition Classes
    LazyPublisher → Publisher
  89. def visible: Boolean

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. 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

Ungrouped