plots,pareto - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


plots

  

pareto

  

produce a Pareto diagram

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

pareto(freq, opts)

Parameters

freq

-

list of non-negative numbers indicating frequencies

opts

-

(optional) options to plot, or misc=string, or tags=list

Description

• 

Important: The plots[pareto] command has been deprecated. Use the superseding command Statistics[ParetoChart] instead.

• 

A Pareto diagram is a chart with the following elements: a tagged histogram of decreasing frequencies and a curve indicating the cumulative frequencies.

• 

Dashed vertical lines indicate the 25%, 50%, and 75% marks.

• 

If the tags parameter is omitted, then Maple assigns consecutive positive integer tags to the elements of the frequency list.

• 

The misc parameter specifies the tag of the frequency list element that represents the miscellaneous data. The miscellaneous data is placed at the end of the sequence of items, so its bar is displayed at the top of the stack of bars.

• 

To get percentages, normalize the frequencies so that they total 100.

Examples

Important: The plots[pareto] command has been deprecated. Use the superseding command Statistics[ParetoChart] instead.

withplots,pareto:

Pdata`Engine 1`=327,`Engine 2`=240,`Engine 3`=176,`Wire 1`=105,`Wire 2`=43,`Wire 3`=36,Oil=33,Coils=90,`Gear Box`=61,`Steam line`=50,Others=166:

Separate the frequencies from the labels

Fdatamaprhs,Pdata:

Labmaplhs,Pdata:

Produce and display a Pareto diagram

paretoFdata,tags=Lab,title=`Plant Problems`

This time treat the miscellaneous items separately

paretoFdata,tags=Lab,misc=Others,title=`Plant Problems`

Give numbers as percentages instead of raw frequencies. One could also normalize the costs and give the actual amount of money.

Fdata_normmapx,s100xs,Fdata,`+`opFdata:

paretoFdata_norm,tags=Lab,misc=Others,title=`Percentages of problems`

See Also

Statistics[ParetoChart]