This macro creates an ogive curve. The default settings create a cumulative relative frequency ogive curve. There is an option to create a relative frequency ogive curve.

Download the Macro

Be sure that Minitab knows where to find your downloaded macro. Choose Tools > Options > General. Under Macro location browse to the location where you save macro files.


If you use an older web browser, when you click the Download button, the file may open in Quicktime, which shares the .mac file extension with Minitab macros. To save the macro, right-click the Download button and choose Save target as.

Required Inputs

  • A column of raw data, or a column of values and a corresponding column of frequencies. In either case, the data represents the midpoints of the intervals on the histogram. The midpoints must be equally spaced.

Optional Inputs

Use to specify a relative frequency ogive.

Running the Macro

Raw data

Suppose you have a column of raw data in C2. To run the macro, choose Edit > Command Line Editor and type:


Click Submit Commands.

Frequency data

Suppose your data are arranged in a frequency table where the midpoints of the intervals that you want are in C2 and the frequencies are in C3. To run the macro, choose Edit > Command Line Editor and type


Click Submit Commands.

By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy