Current Page:
NeXtMidas Training
File Handlers
Lab 2
Axis Definition Methods
|
|
- implements PlotFile:
- The X-Axis:
-
In Lab 1 we implemented getXStart() and getXDelta(), now we need to
add getXUnits() and getXFrame().
-
getXUnits() is looking for the units associated with the X-axis (PLOT
uses this for the axis title). Since an ORANGE file does not have any units specified,
we can just return Units.NONE.
-
getXFrame() gives the frame size for a 2D file. In our case we have 1D data so
the x-axis frame size is 1.
- The Y-Axis:
- The "Primary" Axis:
- continued on next page
|
|
|