package plot
The plot
package contains classes, traits and objects for
simple plotting of x-y data.
- Alphabetic
- By Inheritance
- plot
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Canvas extends Panel
The
Canvas
class provides a canvas on which to draw the plot. - class Contour extends VizFrame
The
Contour
class takes a function 'f' and displays color-coded values for 'f(x, y)' over a two dimensional grid defined the lower 'lb' and upper 'ub' bounds.The
Contour
class takes a function 'f' and displays 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 optimizer (e.g., a Conjugate Gradient NLP solver). - class FCanvas extends Panel
The
FCanvas
class provides a canvas on which to draw the plot. - class FPlot extends VizFrame
The
FPlot
class takes 'x' and 'y' vectors of data values and plots the '(x, y)' data points.The
FPlot
class takes 'x' and 'y' vectors of data values and plots the '(x, y)' data points. Optionally, a 'z' vector may be plotted with 'y'. Note, axes are determined by the 'x' and 'y' vectors only. For more vertical vectors usePlotM
. - class FramelessPlot extends AnyRef
The
FramelessPlot
class is used for embedded applications. - class Plot extends VizFrame
The
Plot
class takes 'x' and 'y' vectors of data values and plots the '(x, y)' data points.The
Plot
class takes 'x' and 'y' vectors of data values and plots the '(x, y)' data points. Optionally, a 'z' vector may be plotted with 'y'. Note, axes are determined by the 'x' and 'y' vectors only. For more vertical vectors usePlotM
. ------------------------------------------------------------------------------ Zoom functionality has two options: When clicked on the plot label the value on that label will be selected as min/max value. By default, the clicked value on x and y axis will be chosen as min value. To change the value to max the resetLabel with title "Switch min and max value" can be used. ------------------------------------------------------------------------------ - class PlotM extends VizFrame
The
PlotM
class takes an 'x' vector and a 'y' matrix of data values and plots the '(x, y_i)' data points for each row 'y_i' of the matrix.
Value Members
- val BASE_DIR: String
The relative path for base directory
- object ContourTest extends App
The
ContourTest
object is used to test theContour
class. - object FPlotTest extends App
The
FPlotTest
object is used to test theFPlot
class.The
FPlotTest
object is used to test theFPlot
class. > runMain scalation.plot.FPlotTest - object Plot extends Serializable
The
Plot
companion object provides factory methods for creating plots. - object PlotM extends Serializable
The
PlotM
companion object provides a builder method for plotting several 'y' vectors versus an 'x' vector. - object PlotMTest extends App
The
PlotMTest
object is used to test thePlotM
class.The
PlotMTest
object is used to test thePlotM
class. > runMain scalation.plot.PlotMTest - object PlotMTest2 extends App
The
PlotMTest2
object is used to test thePlotM
class.The
PlotMTest2
object is used to test thePlotM
class. This version also plots lines connecting the points. > runMain scalation.plot.PlotMTest2 - object PlotTest extends App
The
PlotTest
object is used to test thePlot
class.The
PlotTest
object is used to test thePlot
class. > runMain scalation.plot.PlotTest