|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.GHPanel
jhplot.GHFrame
jhplot.HPlot
jhplot.SHPlot
public class SHPlot
A class to create a 2D canvas with several plots. Unlike HPlot, it creates a singleton, i.e only one instance is allowed
Method Summary | |
---|---|
void |
doc()
Show online documentation. |
static SHPlot |
getCanvas()
Construct a HPlot canvas with a plot with the default size 600x400. |
static SHPlot |
getCanvas(String title)
Construct a HPlot canvas with a plot with the default size 600x400. |
static SHPlot |
getCanvas(String title,
int xsize,
int ysize)
Construct a HPlot canvas with a single plot. |
static SHPlot |
getCanvas(String title,
int xsize,
int ysize,
int n1,
int n2)
Create HPlot canvas with several plots. |
static void |
reloadCanvas()
Reload the canvas by removing components |
Methods inherited from class jhplot.GHFrame |
---|
addGraph, cd, componentHidden, componentMoved, componentShown, getCdX, getCdY, getFrame, getHTMLUrl, getNtotX, getNtotY, setPlotsNum, updateFrame |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SHPlot getCanvas(String title, int xsize, int ysize, int n1, int n2)
title
- Titlexsize
- size in x directionysize
- size in y directionn1
- number of plots/graphs in xn2
- number of plots/graphs in ypublic static SHPlot getCanvas(String title, int xsize, int ysize)
title
- Title for the canvasxs
- size in xys
- size in ypublic static SHPlot getCanvas(String title)
title
- Titlepublic static SHPlot getCanvas()
public static void reloadCanvas()
public void doc()
doc
in class HPlot
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |