Changing the legends for functions

From MIPAV
Jump to: navigation, search

The Legend page controls whether a legend appears on the contour VOI graph or intensity graph and allows you to assign a specific name to each function. By default, the legend does not appear on the graph; however, when you choose so, the legend appears in the upper right corner of the graph.

To display or hide legends
1 Open an image.
2 Delineate a VOI on the image.
3 Generate an intensity profile (refer to "Generating graphs"). Either the Contour VOI Graph window or the Intensity Graph window opens.
4 Select Views > Modify Graph Features in either the Contour VOI Graph window or the Intensity Graph window. The Modify Graph dialog box appears.
5 Select the Legend tab. The Legend page (Figure 21) appears.
6 Do one of the following:

  • To display the legend on the graph, select Show legend. A check mark appears in the check box.
  • To hide the legend, clear Show legend. The check mark disappears from the check box.

7 Click Apply.

  • If you selected Show legend, the legend appears in the upper right of the graph (Figure 22).
  • If you cleared Show legend, the legend disappears from the graph.

8 Do one of the following:

  • Close the Modify Graph dialog box.
  • Keep the Modify Graph dialog box open to continue modifying the graph.
Figure 21. Legend page of the Modify Graph dialog box
Legend tab
Show legend
Displays, if selected, the legend on the upper right side on the graph in either the contour VOI graph or the Intensity Graph window.

VOIGraphsModifyGraphLegend.jpg

Function N name
Specifies the name of the function. By default, the name is Function 1, but you can replace this name with any name you choose.
This page allows you to specify up to five function names as long as those functions exist.
Apply
Applies the parameters that you specified.
Cancel
Disregards any changes that you made in this dialog box and closes the dialog box.
Help
Displays online help for this dialog box.
Figure 22. Legend at the upper right of the graph

VOIGraphsModifyGraphLegendAppears.jpg

Changing the appearance of functions

The Functions page in the Modify Graph dialog box allows you to display or hide the points on functions, display or hide from one to five functions, and change the color of functions.

Figure 23. Functions page in the Modify Graph window
Functions tab
Points visible
Displays, if selected, all of the points on the functions.

VOIGraphsModifyGraphFunctions.jpg

Function N visible
Displays, if selected, function #N on the graph. You can display from one to five functions. This dialog box allows you to select only those functions that exist. Otherwise, they are dimmed.
Change function N color
Allows you to choose the color to use for displaying function N (listed on the left). When you select this icon, the Pick Background Color dialog box opens.
Apply
Applies the parameters that you specified.
Cancel
Disregards any changes that you made in this dialog box and closes the dialog box.
Help
Displays online help for this dialog box.

To display or hide the points on functions
1 Open an image.
2 Delineate a VOI on the image.
3 Generate an intensity profile (refer to "Generating graphs").
Either the Contour VOI Graph window (Figure 10) or the Intensity Graph window (Figure 11) opens.
4 Select Views > Modify Graph Features in either the Contour VOI Graph window or the Intensity Graph window.
The Modify Graph dialog box (Figure 13) opens.
5 Select the Functions tab. The Functions page (Figure 13) appears.
To display the points, select Points visible. A check mark appears in the check box.
To make the points invisible, clear Points visible. The check mark disappears from the check box.
6 Click Apply.
If you selected Points visible, the points appear on the functions (Figure 24).
If you cleared Points visible, the points disappear from the function.
7 Do one of the following:

  • Close the Modify Graph dialog box.
  • Keep the Modify Graph dialog box open to continue modifying the graph.
Figure 24. Points on a function whose color changed from red to blue

VOIGRaphMOdifyPointsVis.jpg

To display or hide functions
1 Open an image.
2 Delineate a VOI on the image.
3 Generate an intensity profile (refer to "Generating graphs").
Either the Contour VOI Graph window (Figure 10) or the Intensity Graph window (Figure 11) opens.
4 Select Views > Modify Graph Features in either the Contour VOI Graph window or the Intensity Graph window.
The Modify Graph dialog box (Figure 13) opens.
5 Select the Functions tab. The Functions page (Figure 23) appears.
6 Do one of the following:

  • To display the function, select Function N visible. A check mark appears in the check box.
  • To remove the function from the graph, clear Function N visible. The check mark disappears from the check box.

7 Click Apply.
< If you selected Function N visible, the function appears on the graph.
If you cleared Function N visible, the function disappears from the graph.
8 Do one of the following:
Close the Modify Graph dialog box.
Keep the Modify Graph dialog box open to continue modifying the graph.

To change the color of functions
1 Open an image.
2 Delineate a VOI on the image.
3 Generate an intensity profile (refer to "Generating graphs").
Either the Contour VOI Graph window (Figure 10) or the Intensity Graph window (Figure 11) opens.
4 Select Views > Modify Graph Features in either the Contour VOI Graph window or the Intensity Graph window.
The Modify Graph dialog box (Figure 13) opens.
5 Select the Functions tab. The Functions page (Figure 23) appears.
6 Do one of the following:

  • To change the color of the function, select Change Function N color. A check mark appears in the check box.
  • To keep the color the same, clear Change Function N color. The check mark disappears from the check box.

7 Click Apply.
If you selected Change Function N color, the function appears in the new color.
If you cleared Change Function N color, the color of the function remains the current color.
8 Do one of the following:

  • Close the Modify Graph dialog box.
  • Keep the Modify Graph dialog box open to continue modifying the graph.

To reset functions to their original colors
To return the functions on either the intensity graph or the contour VOI graph back to their default colors, select Views > Reset Graph to Original or press Ctrl Z in the Intensity Graph window or the Contour VOI Graph window as appropriate.

Modifying functions on graphs

The graph modifying or fitting is designed for fitting of statistical functions used in parameters' evaluation. Available functions are currently various statistical functions with linear or exponential autocorrelation functions. In the Fitted Functions tab, you can select the autocorrelation function and then fit the data.
As the result you will obtain the fitted curve and the set of its parameters. The fit report will appear in the Fitting Data tab and can be saved into a file using Save Messages button.

Figure 25. Fitted Functions page in the Modify Graph dialog box
Fitted functions
Fit linear
Use the linear autocorrelation function (a1*x a0).

VOIGraphsModifyGraphFittedFunctions.jpg

Fit exponential
Use the exponential autocorrelation function.
None
Do not use the autocorrelation function.
Fitted function N visible
If checked, adds the fitted curve to the graph. If this is not desirable, uncheck the box.
Apply
Applies the parameters that you specified.
Cancel
Disregards any changes that you made in this dialog box and closes the dialog box.
Help
Displays online help for this dialog box.

Opening, saving, printing, and closing graphs

The File menu in the Contour VOI Graph window and the Intensity Graph window allows you to open, save, print, and close graphs.

Figure 26. File menu in the graph windows showing the Open Graph, Save Graph, Print Graph, and Close Graph commands

MenuFileIntensityGraphwindowCallout.jpg

To open previously saved graphs
1 Select File > Open Graph in either the Contour VOI Graph window or the Intensity Graph window, or press Ctrl C. The Open dialog box appears.
2 Navigate to the directory where the graph was stored.
3 Type or select the file name in File name.
4 Click Open. The graph opens.

To save contour VOI graphs or intensity graphs
1 Select File > Save Graph in either the Contour VOI Graph window or the Intensity Graph window, or press Ctrl S. The Save Graph dialog box opens.
2 Navigate to the directory where the graph was saved.
3 Type or select the file name in File name. Use *.PLT for the extension.
4 Click Save. The graph is saved in the specified directory.

To print contour VOI graphs or intensity graphs
1 Select File > Print Graph in the Contour VOI graph window or Intensity Graph window, or press Ctrl P. The Print dialog box opens.
2 Select the printer and number of copies you want to print.
3 Click OK. The printer prints the graph.

To close graphs

Select File > Close Graph in either the Contour VOI Graph window or in the Intensity Graph window, or press Ctrl X. The graph closes.