OMTEX CLASSES: Explain any one method to draw a histogram.

Explain any one method to draw a histogram.


Ans. There are two methods used to draw a histogram.

Method 1:
Use the Input Bar: Type the following command in the input bar using given data to create a histogram.

Histogram [{List of Class Boundaries}, {List of Raw Data}]
The class boundaries determine the width and position of each bar of the histogram.

Method 2:
Use the Input Bar and Spreadsheet View: To open the spreadsheet view click the view menu, then select option ‘Spreadsheet View’. Type in the data in the first column (A) of the spreadsheet.
Select the data by dragging the mouse.
Right - click on the selected block and select ‘Create List’.
A list will appear in the Algebra window.
Type the following command in the Input bar.
Histogram [{List of Class Boundaries}, L_1]