# Graph Dialog

Graph Dialog — MC Grating documentation for Modal Collinear and Modal Conical and Chandezon Collinear and Chandezon Conical. In case of a two parameters…

Canonical: https://mcgrating.com/docs/common/graph.html


Written by Nikolay M. LyndinLast revised 2012-12-18

This documentation was written for releases up to 2018 and is being revised. Some dialogs have changed since. If something does not match what you see, write to [mc@mcgrating.com](mailto:mc@mcgrating.com).

In case of a two parameters scan, after clicking the ***Graph*** control the ***[3D Graph](https://mcgrating.com/docs/common/graph-3d.html)*** window will appear.

In case of a one dimensional scan, after clicking ***Graph*** control the *Graph Dialog* window appears. This window provides possibility to relate columns of result data to the *X* and the *Y* axes as well as to choose the curve color and thickness.
 This dialog also contains a ***Smooth Phase*** check box. This box is enabled for a phase column data, if it is checked all 2π phase jumps will be removed from the graph.
 For the field distribution data an additional ***Add Interfaces ***check box is present. If this box is checked a vertical lines will be added to the curve at an interface positions.
 After clicking ***OK*** the Graph window will appear. There are several independent Graph windows for different options of ***Scanning of*** and ***Scanning Direction*** and for the external data. These windows are common for all projects.

The graph window has the ***Edit*** menu with submenus:

- ***Clear All*** clears all curves and closes the window.
- ***Titles ***is the option for editing titles of the *X* and *Y* axes.
- ***Copy ***copies the Image into Clipboard .
- ***Save as ***saves the graph in Bitmap, JPEG and Windows metafile formats.
- ***Print***.

The second menu ***Curves*** contains the list of curves. By clicking the curve title the user can open dialog window for curve editing (color, thickness and curve title). The selected curve also can be deleted (***Delete*** button) or saved in a data file** **(mouse click at the button with diskette icon opens the save dialog).

From the in-application help of Modal Collinear and Modal Conical, documented through 2018. If you publish results computed with MC Grating, see [how to cite it](https://mcgrating.com/references.html#cite).
