JWAVE Plot Tool
The JWAVE Plot Tool is a Bean that displays an XY (2D) graph.
See
Using JWAVE Beans for information on using this Bean in the BeanBox.
Input
This Tool uses one or two data arrays (X and Y) as input to the PV‑WAVE PLOT procedure.
Customizer Reference
The JWAVE Beans provided by Rogue Wave each have a Customizer for modifying the appearance of the plot produced by the Bean. This section describes the features of the Plot Tool Customizer.
Titles Tab
Title—Defines the text for the main title that appears centered above the plot. The text size of this main title is larger than the other text by a factor of 1.25.
Sub Title—Defines the text for the subtitle that appears underneath the x-axis.
X Axis Title—Defines the text for the title that appears below the x-axis.
Y Axis Title—Defines the text for the title that appears below the y-axis.
Character Size—Sets the overall character size for the annotation. A value of 1.0 is normal. The main title is written with a character size of 1.25 times this parameter.
Colors Tab
Background Color—Brings up a color tool for selecting the background color of the plot.
Axis Color—Brings up a color tool for selecting the axis color of the plot.
Y Data Color—Brings up a color tool for selecting the color of the y data.
X Data Color—Brings up a color tool for selecting the color of the x data.
Plot Tab
Grid On—When selected, a grid is displayed behind the plot.
Polar Plot—When selected, a polar plot is produced.
Axis Scaling—Sets the type of scaling to be used for the X and Y axes.
Linear – Linear—Produces a plot with linear scaling on both axes.
Log – Linear—Produces a plot with logarithmic scaling on the x-axis and linear scaling on the y-axis.
Linear – Log—Produces a plot with linear scaling on the x-axis and logarithmic scaling on the y-axis.
Log – Log—Produces a plot with logarithmic scaling on both axes.
X Range—Defines the data range of the x-axis, a two-element vector. The first element is the axis minimum and the second is the maximum.
Y Range—Defines the data range of the y-axis, a 2-element vector. The first element is the axis minimum and the second is the maximum.
Data Tab
Plot X vs. Y—If one data array is present, graphs the array vs. the index. If two data arrays are present, graphs one array vs. the other.
Plot X and Y data arrays—Only available if two data arrays are present. Graphs both arrays vs. the index.
Y Data
Line Style—Sets the line style of the y data line. Choices are: Solid, Dotted, Dashed, Dash dot, Dash-dot-dot-dot, and Long dashes.
Line Thickness—Sets the value for the thickness of the y data line. A value of 1.0 is normal thickness, 2.0 is double-wide, and so on.
Symbol—Sets the type of symbol to used to plot each y data point.
None—Specifies that no symbols display at each y data point. The None setting results in a line drawn between data points.
Plus Sign—Specifies a + at each y data point.
Asterisk—Specifies an * at each y data point.
Period—Specifies a . at each y data point.
Diamond—Specifies a diamond shape at each y data point.
Triangle—Specifies a triangle shape at each y data point.
Square—Specifies a square shape at each y data point.
X—Specifies an X at each y data point.
Symbol Size—Sets the value for the size of y data plot symbols. A value of 1.0 is normal size, 2.0 is double-size, and so on.
Connect Symbols with Lines—When selected, symbols are connected with lines. This parameter can be used when the value of Symbol is other than None.
X Data
Line Style—Sets the line style of the x data line. Choices are: Solid, Dotted, Dashed, Dash dot, Dash-dot-dot-dot, and Long dashes.
Line Thickness—Sets the value for the thickness of the x data line. A value of 1.0 is normal thickness, 2.0 is double-wide, and so on.
Symbol—Sets the type of symbol to used to plot each x data point.
None—Specifies that no symbols display at each x data point. The None setting results in a line drawn between data points.
Plus Sign—Specifies a + at each x data point.
Asterisk—Specifies an * at each x data point.
Period—Specifies a . at each x data point.
Diamond—Specifies a diamond shape at each x data point.
Triangle—Specifies a triangle shape at each x data point.
Square—Specifies a square shape at each x data point.
X—Specifies an X at each x data point.
Symbol Size—Sets the value for the size of x data plot symbols. A value of 1.0 is normal size, 2.0 is double-size, and so on.
Connect Symbols with Lines—When selected, symbols are connected with lines. This parameter can be used when the value of Symbol is other than None.
Version 3.6
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.