Like Matlab's imagesc.
Definition at line 41 of file SpectrogramPanel.java.
Public Methods | |
SpectrogramPanel (double[][] dat) | |
Creates a new SpectrogramPanel for the given data matrix. | |
void | setOffsetFactor (double offsetFactor) |
Updates the offset factor used to calculate the greyscale values from the intensities. | |
void | paint (Graphics g) |
Paint the component. | |
Protected Methods | |
void | vzoomSet (float vzoom) |
Zoom the image in the vertical direction, preparing for new display. | |
void | hzoomSet (float zoom) |
Zoom the image in the horizontal direction, preparing for new display. | |
void | zoomSet (float zoom) |
Zoom the image in the horizontal direction, preparing for new display. |
|
Paint the component. This will be called by AWT/Swing.
Definition at line 268 of file SpectrogramPanel.java. |
|
Updates the offset factor used to calculate the greyscale values from the intensities. This also calculates and populates all the greyscale values in the image.
Definition at line 168 of file SpectrogramPanel.java. |