|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSciLib.Grp.Plot
public final class Plot
This class contains some methods to draw a 2D graphics.
| Constructor Summary | |
|---|---|
Plot()
|
|
| Method Summary | |
|---|---|
static void |
comb(Graphics2D g2D,
vector x,
vector y,
java.lang.String title)
default comb method |
static void |
comb(vector yv,
java.lang.String title)
default comb method |
static void |
comb(vector x,
vector y,
java.lang.String title)
default comb method |
static void |
plot(bitStream bits)
Plot the graphical representation of a bitStream. |
static void |
plot(bitStream bits,
int pulseSize)
Plot the graphical representation of a bitStream. |
static void |
plot(Function func)
Plot a function. |
static void |
plot(Graphics2D g2D,
Function func)
Plot a function. |
static void |
plot(Graphics2D g2D,
vector x,
vector y,
java.awt.Color c,
java.lang.String title)
default plot method |
static void |
plot(Graphics2D g2D,
vector x,
vector y,
java.lang.String specific,
java.awt.Color c,
java.lang.String title)
Plot the curve that represents the data points stored in vectors with a specific |
static void |
plot(Graphics2D g2D,
vector xv,
vector yv1,
vector yv2,
java.awt.Color c1,
java.awt.Color c2)
Plot two curves in the same window. |
static void |
plot(Graphics2D g2D,
vector xv,
vector yv1,
vector yv2,
vector yv3,
java.awt.Color c1,
java.awt.Color c2,
java.awt.Color c3)
Plot three curves in the same window. |
static void |
plot(int[] bits,
int xunit,
java.lang.String title)
Plot an array of voltage levels |
static void |
plot(int[] bits,
java.lang.String title)
Plot the graphical representation of a signal array. |
static void |
plot(vector yv)
plot method with blue color |
static void |
plot(vector yv,
java.lang.String specific)
plot method with blue color |
static void |
plot(vector yv,
java.lang.String specific,
java.lang.String title)
plot method with blue color |
static void |
plot(vector xv,
vector yv)
default plot method with blue color |
static void |
plot(vector xv,
vector yv,
java.awt.Color c)
default plot method |
static void |
plot(vector x,
vector y,
java.awt.Color c,
java.lang.String title)
default plot method used default Graphics2D |
static void |
plot(vector xv,
vector yv,
java.lang.String title)
default plot method with blue color |
static void |
plot(vector x,
vector y,
java.lang.String specific,
java.awt.Color c,
java.lang.String title)
Plot the curve that represents the data points stored in vectors with a specific |
static void |
plot(vector xv,
vector yv,
java.lang.String specific,
java.lang.String title)
Plot the curve that represents the data points stored in vectors with a specific |
static void |
plot(vector xv,
vector yv1,
vector yv2)
Plot two curves in the same window. |
static void |
plot(vector xv,
vector yv1,
vector yv2,
java.awt.Color c1,
java.awt.Color c2)
Plot two curves in the same window. |
static void |
plot(vector xv,
vector yv1,
vector yv2,
vector yv3)
Plot three curves in the same window. |
static void |
plot(vector xv,
vector yv1,
vector yv2,
vector yv3,
java.awt.Color c1,
java.awt.Color c2,
java.awt.Color c3)
Plot three curves in the same window. |
static void |
scatterPlot(Graphics2D g2D,
vector x,
vector y,
java.awt.Color c,
java.lang.String title,
char symbol)
scatter plot method |
static void |
scatterPlot(Graphics2D g2D,
vector xv1,
vector yv1,
vector xv2,
vector yv2,
java.awt.Color c1,
java.awt.Color c2,
char sym1,
char sym2)
scatter Plot two curves in the same window. |
static void |
scatterPlot(vector y,
java.lang.String title,
char symbol)
scatter plot method |
static void |
scatterPlot(vector x,
vector y,
java.lang.String title,
char symbol)
scatter plot method |
static void |
scatterPlot(vector xv1,
vector yv1,
vector xv2,
vector yv2,
char sym1,
char sym2)
scatter Plot two curves in the same window. |
static void |
scatterPlot(vector xv1,
vector yv1,
vector xv2,
vector yv2,
java.awt.Color c1,
java.awt.Color c2,
char sym1,
char sym2)
scatter Plot two curves in the same window. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Plot()
| Method Detail |
|---|
public static void plot(vector xv,
vector yv,
java.awt.Color c)
xv - A vector that contains x-coordinatesyv - A vector that contains y-coordinatesc - Color
public static void plot(vector x,
vector y,
java.awt.Color c,
java.lang.String title)
x - A vector that contains x-coordinatesy - A vector that contains y-coordinatesc - Colortitle - A String
public static void plot(vector xv,
vector yv)
xv - A vector that contains x-coordinatesyv - A vector that contains y-coordinates
public static void plot(vector xv,
vector yv,
java.lang.String title)
xv - A vector that contains x-coordinatesyv - A vector that contains y-coordinates
public static void plot(vector x,
vector y,
java.lang.String specific,
java.awt.Color c,
java.lang.String title)
x - A vector that contains x-coordinatesy - A vector that contains y-coordinatesspecific - A String that can have the following - grid = grid lines
- coord = write out coordinates without grid lines
- "" = do not write out coordinatesc - Colortitle - The title of the graph, a String
public static void plot(vector xv,
vector yv,
java.lang.String specific,
java.lang.String title)
xv - A vector that contains x-coordinatesyv - A vector that contains y-coordinatesspecific - A String that can have the following - grid = grid lines
- coord = write out coordinates without grid lines
- "" = do not write out coordinatestitle - The title of the graph, a Stringpublic static void plot(vector yv)
yv - A vector that contains y-coordinates
public static void plot(vector yv,
java.lang.String specific)
yv - A vector that contains y-coordinatesspecific - A String that can have the following - grid = grid lines
- coord = write out coordinates without grid lines
- "" = do not write out coordinates
public static void plot(vector yv,
java.lang.String specific,
java.lang.String title)
yv - A vector that contains y-coordinatesspecific - A String that can have the following - grid = grid lines
- coord = write out coordinates without grid lines
- "" = do not write out coordinatestitle - A String
public static void comb(vector x,
vector y,
java.lang.String title)
x - A vector that contains x-coordinatesy - A vector that contains y-coordinatestitle - A String
public static void comb(vector yv,
java.lang.String title)
yv - A vector that contains y-coordinatestitle - A String
public static void plot(vector xv,
vector yv1,
vector yv2,
java.awt.Color c1,
java.awt.Color c2)
xv - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curvec1 - Color of the first curvesc2 - Color of the second curve
public static void plot(vector xv,
vector yv1,
vector yv2)
xv - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curve
public static void plot(vector xv,
vector yv1,
vector yv2,
vector yv3,
java.awt.Color c1,
java.awt.Color c2,
java.awt.Color c3)
xv - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curveyv3 - A vector that contains y-coordinates of the third curvec1 - Color of the first curvesc2 - Color of the second curvec3 - Color of the third curve
public static void plot(vector xv,
vector yv1,
vector yv2,
vector yv3)
xv - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curveyv3 - A vector that contains y-coordinates of the third curvepublic static void plot(Function func)
func - An object that implements the Function interface
public static void plot(Graphics2D g2D,
vector x,
vector y,
java.awt.Color c,
java.lang.String title)
g2D - A Graphics2D objectx - A vector that contains x-coordinatesy - A vector that contains y-coordinatesc - Colortitle - A String
public static void plot(Graphics2D g2D,
vector x,
vector y,
java.lang.String specific,
java.awt.Color c,
java.lang.String title)
g2D - A Graphics2D objectx - A vector that contains x-coordinatesy - A vector that contains y-coordinatesspecific - A String that can have the following - grid = grid lines
- coord = write out coordinates without grid lines
- "" = do not write out coordinatesc - Color
public static void comb(Graphics2D g2D,
vector x,
vector y,
java.lang.String title)
g2D - A Graphics2D objectx - A vector that contains x-coordinatesy - A vector that contains y-coordinatestitle - A String
public static void plot(Graphics2D g2D,
vector xv,
vector yv1,
vector yv2,
java.awt.Color c1,
java.awt.Color c2)
g2D - A Graphics2D objectxv - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curvec1 - Color of the first curvesc2 - Color of the second curve
public static void plot(Graphics2D g2D,
vector xv,
vector yv1,
vector yv2,
vector yv3,
java.awt.Color c1,
java.awt.Color c2,
java.awt.Color c3)
g2D - A Graphics2D objectxv - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curveyv3 - A vector that contains y-coordinates of the third curvec1 - Color of the first curvesc2 - Color of the second curvec3 - Color of the third curve
public static void plot(Graphics2D g2D,
Function func)
g2D - A Graphics2D objectfunc - An object that implements the Function interface
public static void plot(bitStream bits,
int pulseSize)
bits - A bitStreampulseSize - An integer, the length of a pulsepublic static void plot(bitStream bits)
bits - A bitStream
public static void plot(int[] bits,
java.lang.String title)
bits - A pulse array
public static void plot(int[] bits,
int xunit,
java.lang.String title)
bits - An integr array of voltage levels, +1, 0, or -1xunit - The length of each pulsetitle - a String
public static void scatterPlot(Graphics2D g2D,
vector x,
vector y,
java.awt.Color c,
java.lang.String title,
char symbol)
g2D - A Graphics2D objectx - A vector that contains x-coordinatesy - A vector that contains y-coordinatesc - Colortitle - A Stringsymbol - A character
public static void scatterPlot(vector x,
vector y,
java.lang.String title,
char symbol)
x - A vector that contains x-coordinatesy - A vector that contains y-coordinatestitle - A Stringsymbol - A character
public static void scatterPlot(vector y,
java.lang.String title,
char symbol)
y - A vector that contains y-coordinatestitle - A Stringsymbol - A character
public static void scatterPlot(Graphics2D g2D,
vector xv1,
vector yv1,
vector xv2,
vector yv2,
java.awt.Color c1,
java.awt.Color c2,
char sym1,
char sym2)
g2D - A Graphics2D objectxv1 - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curvec1 - Color of the first curvesc2 - Color of the second curvesym1 - Plot symbol for the curve 1, A charactersym2 - Plot symbol for the curve 2, A character
public static void scatterPlot(vector xv1,
vector yv1,
vector xv2,
vector yv2,
java.awt.Color c1,
java.awt.Color c2,
char sym1,
char sym2)
xv1 - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curveyv2 - A vector that contains y-coordinates of the second curvec1 - Color of the first curvesc2 - Color of the second curvesym1 - Plot symbol for the curve 1, A charactersym2 - Plot symbol for the curve 2, A character
public static void scatterPlot(vector xv1,
vector yv1,
vector xv2,
vector yv2,
char sym1,
char sym2)
xv1 - A vector that contains x-coordinatesyv1 - A vector that contains y-coordinates of the first curvexv2 - A vector that contains x-coordinates of the second curveyv2 - A vector that contains y-coordinates of the second curvesym1 - Plot symbol for the curve 1, A charactersym2 - Plot symbol for the curve 2, A character
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||