Working with Plots
In Mira , the term "plot" refers to displaying 1-D ("1-dimensional") data in the form of a 2-D graph. A special type of window exists to display and work with plots, known as a Plot Window. In working with images, plots are often created to show the relationship between image luminance and position, known as a Profile Plot (see example below), but a number of other types of plot are available within the software. Click here to view some examples of plot data.
Mira can create the following plot types from 1-dimensional data:
The Column Profile command graphs image luminance along an image column.
The Row Profile command graphs image luminance along an image row.
The Line Profile command graphs image luminance along an arbitrary drawn line.
The Scatter Plot command plots two columns of data from the table in a Grid Control.
The intensity profile of an image can be plotted using either the Column or Row Profile command or the Line Profile tool. There are some unique capabilities offered by each method.
Property |
Column or Row Profile |
Line Profile |
Uses the Image Cursor to sample pixels |
|
|
Uses the mouse pointer to sample pixels |
|
|
Uses Pixel coordinates |
|
|
Uses World coordinates |
|
|
Append series from parallel pixel samples |
|
|
Profile must be parallel to rows or columns |
|
|
|
All of the profile plots show image luminance versus position or distance. For these types, Mira also provides the following coordinate system options:
Use Pixel Coordinates to measure pixel position in column or row [number].
Use World Coordinates to measure position in world units like cm, microns, or angular units of arcseconds.
To change the default setting, see Plotting in World Coordinates.
Luminance is displayed on the vertical axis of a profile plot. The Luminance Axis label includes the units of luminance if the image header contains such information.
A Plot Series is a collection of data points collected together. Usually these collections are related. For example, in a Column Profile plot, a plot series is a single sample of luminance versus position along a single line. A different series might be a sample of points parallel to the first, taken along a different column. Profile plots can show a single plot series or multiple plot series from samples along other lines. When multiple series are displayed in the same Plot Window, they may be visualized in the following ways:
In Animate mode, the active plot series is displayed singly. The other series may be viewed by stepping or animating through the set using the Plot Animation Toolbar much the same way the Image Animation Pane steps through an Image Set.
In Overplot mode, all plot series are displayed simultaneously as an "Overplot" on the same set of axes. If only 1 plot series is displayed, this is the default mode. In this mode, the Plot Animation Toolbar is hidden.
To change the Plot Series Mode, see Changing the Plot Series Mode.
To display or save the data in the plotted series, see Working with Plot Series Data.
Adjacent lines (columns or rows) may be combined to form a single line to be plotted. The method of combining is controlled by the Plot Averaging Mode command. The name of the plot appears in the command menu from which the plot is created (see Plotting an Averaged Line).
Image Plot Properties control how a plot is created from an image. This includes, for example, whether Pixel or World Coordinates are used and what colors are used for multiple plot series. These settings are changed in the Plot Properties
Plot Properties change how the finished plot is displayed. You can change the axis scaling, colors, fonts, labels, tick marks, and other properties using the pages of the Plot Properties dialog.
The Plot Caption is the text above the plot box and below the top window border. The Plot Caption tells you information about what was plotted. In particular, it may list the beginning and ending coordinates in (x,y) form for a Line Profile Plot or it may list the column and row range for a Column Profile or Row Profile plot. Below are some examples that show how to read the column,row range in the plot caption:
[125:140, 180:182] |
Columns 125 through 140, inclusive and rows 180 through 182, inclusive. This describes 16 columns and 3 rows. |
[125:140, 180] |
Columns 125 through 140, inclusive and row 180. This describes 16 columns and 1 row. |
You can change the plot caption using the Axis Labels and Titles page page of the Plot Properties dialog.
The Plot Window caption lists the image name from which the plot was created and gives an abbreviation that describes the type of plot. The plot type is abbreviated and appended to the window caption in square brackets. For example, a Row Plot is signified by [RP] appended to the Plot window caption. These suffixes appear in the window list of the Window menu and in the Multi-tab Interface along the bottom border of Mira's main window.
Plot Name Suffixes
[CP] |
Column Plot along a single column in one or more images. |
[RP] |
Row Plot along a single row in one or more images. |
[ACP] |
Average Column Plot along an average of parallel columns in one or more images. |
[ARP] |
Average Row Plot along an average of parallel rows in one or more images. |
[Line] |
Line plot along a general direction. |
Plot Windows, Plotting Commands, Plot Coordinate System, Plotting an Averaged Line, Working with Plot Series Data, Scatter Plot