The geditcom.plot2D package draws 2D plots in an single JPanel. The basic tasks are:

Create a Plot
A plot is started by creating a 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.
Customize the Axis Labels
To change the text, font, or style of the axis labels, find the 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.
Customizing Tick Mark
To change ticks mark spacings, the style of their labels, and create log or linear axes, find the 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.
Customizing the Plot Frame
To change style of the plot frame, find the 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.
Customizing Each Data Set Plotted
To customize each data set's plot, use the object obtained when it is first created and then use its methods to make changes. You can also drag and drop plotted data sets between JNPlotViews or to any application that accepts pasted text. Text dropped in another application will have a table of the data.
Adding Plot Labels
To add labels to the plot, create 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.
Adding Plot Shapes
To add shopes to the plot, create 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.
Using the Plot Inspector
You can double click elements in the plot to view their properties in the plot inspector. The inspector lets you interactively change all features of the plot and its labels. You can open or close the plot inspector in software code with methods in JNPlotView.
Editing Data
You can send EditDataSet to the main JNPlotView to create a modal dialog for editing data for any one plot.
Importing Tabular Data
You can use methods in 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.