The geditcom.plot2D
package draws 2D plots in an single JPanel
. The basic tasks
are:
JNPlotView
object and then using its methods
to add data for plotting. See the JNPlotView
class documentation for how to get
started with a quick plot.JNPlotLabel
object
that draws the label and use its methods to make changes. You can find the object with the
findPlotElement(int)
method in JNPlotView
.JNAxisLabel
object for either axis and then use its methods to make changes.
You can find the object with the findPlotElement(int)
method in JNPlotView
.JNPlotFrame
object
that draws the frame and use its methods to make changes. You can find the object with the
findPlotElement(int)
method in JNPlotView
.JNPlotView
s or to any application that accepts pasted text. Text dropped in another
application will have a table of the data.
JNPlotText
objects, set their text, and
locate them where desired using plot units. You can drag and drop labels to reposition them
or to move them to a different plot.JNPlotArrow
objects (which can od various shapes),
set their text, and
locate them where desired using plot units. You can drag and drop shapes to reposition them
or to move them to a different plot. You drag the corners to change the size of the shape.JNPlotView
.EditDataSet
to the main JNPlotView
to create a modal dialog for editing data for any one plot.JNPlotView
to import and plot tab-delimited tables of data.
In addition, if you drag and drop a tab-delimited table from other software onto the
JNPlotView
, it will plot data as if imported.