Plot Windows


Plot Windows display 1-D data in the form of a 2-D graph, or "plot" and provide several tools for interactively working with the data. The different aspects of plotting data are described in Plotting Images and Data.

The pictures below show a typical Plot Window with the Plot Toolbar at the top border and the Plot Animation Toolbar at bottom border. The Plot Toolbar can be shown or hidden using theToolbar command in the Plot menu or the option on the Plot Properties page. In the second picture, the window is changed to Overplot mode using the command in the Plot Context Menu. You can control whether Mira prompts you to confirm closing a Plot Window using the check list item in the General Properties dialog.

This is a typical Plot Window showing a single row plotted for an image :

Displaying Multiple Plot Series

A Plot Window can contain more than 1 series of data, such as multiple images, multiple rows, or a scatter plot of table data. You can also create multiple series using copy + paste to add data from other Plot Windows. In such cases, you can choose from 2 modes to view the multiple series:

Animate Mode

This window has 5 plot series. In this mode, only 1 series is displayed at a time.

Overplot Mode

This picture shows all 5 plot series at the same time. The color assigned to each series is configured in the Plot Properties dialog. The Plot Series Properties also can be altered afterward using the Plot Properties dialog.

There are many ways to create Row Profile Plots and Column Profile Plots like those shown above.

Plot Window Toolbars

The Plot Window provides a number of toolbars for working with the plotted data.

Plot Coordinates

All of the profile plots show image luminance versus position or distance. For these types, Mira also provides the following coordinate system options:

Intensity (Luminance) Profile Plots

Luminance is displayed on the vertical axis of a profile plot and the horizontal axis of a histogram plot. The Luminance Axis label includes the units of luminance if the image header contains such information.

Changing the Plot Properties

The properties of the plot can be set before the plot is created and changed after the plot is created.

Plot Context Menu

Right clicking inside a Plot Window opens a Context Menu containing some useful commands. This shows the Plot Series Mode submenu used to create the different plots shown above.

The commands in the Context Menu are a subset of those in the Plot window's menu.

Accelerator Keys

Accelerators in the table below execute commands when a Plot Window has focus.

Plot Accelerators

Ctrl+A

Opens the Plot Properties dialog for setting the Properties for the Plot window and the plotted data.

Ctrl+Shift+A

Open the Plot Series Properties dialog.

Ctrl+C

Executes the Copy command, which copies the window's plot series to the Windows clipboard.

Ctrl+N

Executes the New command, which displays the New Document dialog.

Ctrl+O

Executes the File > Open command, which displays the Open dialog.

Ctrl+P

Prints the Plot Window.

Ctrl+R

Opens the General Properties dialog.

Ctrl+V

Executes the Paste command to paste plot series from the clipboard into the current Plot Window.

Saving Plot Data

To view the numeric plot data, user the Plot Series Data command. This opens the numeric data for all series into a grid window. The window has buttons to save, print, and copy the data to the Windows Clipboard.

Plot Window data can be saved to a text file using the Save as Text command. This command is available from the File menu when a Plot Window is the top-most view.

Comparing Line Profile and Row Profile Plots

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.

Comparison of Profile Plot Types

Property

Column or Row Profile

Line Profile

Radial 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

 

 

Append series using Copy / Paste

Profile must be parallel to rows or columns

 

 

 

Plot Coordinates

All of the profile plots show image luminance versus position or distance. For these types, Mira also provides the following coordinate system options:

Coordinate Axis:
Luminance Axis:

Luminance is displayed on the vertical axis of a profile plot and the horizontal axis of a histogram plot. The Luminance Axis label includes the units of luminance if the image header contains such information.

Working with Plot Series

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:

Averaging Adjacent Lines

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).

Plot Properties

Understanding Plot Captions

Caption Above the Plot Box

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:

Example Regions Listed 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 Labels page of the Plot Properties dialog.

Window Caption

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.

Note

After using the Windows Copy + Paste protocol to add series to a plot window, the window caption may not accurately reflect the content of the window. You can change the caption using the Plot Properties command.

Related Topics

Plotting Commands, Plot Properties, Image Plot Properties, Printing Properties, Plot Toolbar, Plot Animation Toolbar, Image Windows, Create Plot from Table Data, Save Plot as Text File