jhplot
Class SHPlot3D
- java.lang.Object
-
- jhplot.gui.GHPanel
-
- jhplot.gui.GHFrame
-
- jhplot.HPlot3D
-
- jhplot.SHPlot3D
-
- All Implemented Interfaces:
- java.awt.event.ComponentListener, java.io.Serializable, java.util.EventListener
public class SHPlot3D extends HPlot3D
A class to create a 3D canvas to display H2D and F2D objects. Unlike HPlot3D, it creates a singleton, i.e only one instance is allowed- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
doc()
Show online documentation.static SHPlot3D
getCanvas()
Construct a HPlot3D canvas with a plot with the default size 600x400.static SHPlot3D
getCanvas(java.lang.String title)
Construct a HPlot3D canvas with a plot with the default size 600x400.static SHPlot3D
getCanvas(java.lang.String title, int xsize, int ysize)
Construct a HPlot3D canvas with a single plot.static SHPlot3D
getCanvas(java.lang.String title, int xsize, int ysize, int n1, int n2)
Create HPlot3D canvas with several plots.static void
reloadCanvas()
Reload the canvas by removing components-
Methods inherited from class jhplot.HPlot3D
clear, clear, clearAll, close, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, drawBox, getAxesFontColor, getAxisFont, getColorMode, getDistance, getElevationAngle, getFrameColor, getLabelColor, getLabelOffset, getPenWidthAxes, getRotationAngle, getScaling, getSurfaceModel, isSurface, quit, resizePad, resizePad, setAutoRange, setAutoRange, setAutoRangeAll, setAutoRangeXY, setAxesFontColor, setAxisFont, setBars, setBars, setBoxColor, setBoxed, setColorFill, setColorLines, setColorMode, setContour, setContour, setContourLines, setDensity, setDensity, setDisplayGrids, setDisplayXY, setDisplayZ, setDistance, setDivisions, setElevationAngle, setFill, setFrameColor, setLabelColor, setLabelFont, setLabelFontColor, setLabelOffsetX, setLabelOffsetY, setLabelOffsetZ, setNameX, setNameY, setNameZ, setPenWidthAxes, setRange, setRange, setRangeZ, setRotationAngle, setScaling, setSurface, setSurface, setTicFont, setTicOffset, update, update, updateAll, updateData, updateData, visible, visible, visible
-
Methods inherited from class jhplot.gui.GHFrame
addGraph, cd, componentHidden, componentMoved, componentShown, getCdX, getCdY, getFrame, getHTMLUrl, getNtotX, getNtotY, setPlotsNum, updateFrame
-
Methods inherited from class jhplot.gui.GHPanel
addComp, componentResized, convertSVG, convertSVG, disableDoubleBuffering, enableDoubleBuffering, export, getCanvasPanel, getMarginBackground, getMarginPanelBottom, getMarginPanelCenter, getMarginPanelLeft, getMarginPanelRight, getMarginPanelTop, getMarginSizeBottom, getMarginSizeLeft, getMarginSizeRight, getMarginSizeTop, getSizeX, getSizeY, getTextBottom, getTextBottomColor, getTextBottomColorBack, getTextBottomFont, getTextLeft, getTextLeftColor, getTextLeftColorBack, getTextLeftFont, getTextPosBottomX, getTextPosBottomY, getTextPosLeftX, getTextPosLeftY, getTextPosRightX, getTextPosRightY, getTextPosTopX, getTextPosTopY, getTextRight, getTextRightColor, getTextRightColorBack, getTextRightFont, getTextRotationBottom, getTextRotationLeft, getTextRotationRight, getTextRotationTop, getTextTop, getTextTopColor, getTextTopColorBack, getTextTopFont, isBorderShown, printGraph, resetMargins, setGTitle, setGTitle, setGTitle, setGTitle, setGTitle, setMarginBackground, setMarginSizeBottom, setMarginSizeLeft, setMarginSizeRight, setMarginSizeTop, setSizePanel, setTextBottom, setTextBottom, setTextBottom, setTextBottom, setTextBottomColorBack, setTextLeft, setTextLeft, setTextLeft, setTextLeft, setTextLeftColorBack, setTextPosBottomX, setTextPosBottomY, setTextPosLeftX, setTextPosLeftY, setTextPosRightX, setTextPosRightY, setTextPosTopX, setTextPosTopY, setTextRight, setTextRight, setTextRight, setTextRight, setTextRightColorBack, setTextRotationBottom, setTextRotationLeft, setTextRotationRight, setTextRotationTop, setTextTop, setTextTop, setTextTop, setTextTopColorBack, showBorders
-
-
-
-
Method Detail
-
getCanvas
public static SHPlot3D getCanvas(java.lang.String title, int xsize, int ysize, int n1, int n2)
Create HPlot3D canvas with several plots. If canvas exits, it will be cleared.- Parameters:
title
- Titlexsize
- size in x directionysize
- size in y directionn1
- number of plots/graphs in xn2
- number of plots/graphs in y
-
getCanvas
public static SHPlot3D getCanvas(java.lang.String title, int xsize, int ysize)
Construct a HPlot3D canvas with a single plot. If canvas exits, it will be cleared.- Parameters:
title
- Title for the canvasxs
- size in xys
- size in y
-
getCanvas
public static SHPlot3D getCanvas(java.lang.String title)
Construct a HPlot3D canvas with a plot with the default size 600x400. If canvas exits, it will be cleared.- Parameters:
title
- Title
-
getCanvas
public static SHPlot3D getCanvas()
Construct a HPlot3D canvas with a plot with the default size 600x400. If canvas exits, it will be cleared.
-
reloadCanvas
public static void reloadCanvas()
Reload the canvas by removing components
-
-
DMelt 3.0 © DataMelt by jWork.ORG