# Discrete Data Plots

Bar graphs, scatter plots, and more

Visualize discrete data using plots such as bar graphs or stem plots. For example, you can create a vertical or horizontal bar graph where the bar lengths are proportional to the values that they represent.

## Fonctions

développer tout

 `bar` Bar graph `barh` Horizontal bar graph `bar3` Plot 3-D bar graph `bar3h` Plot horizontal 3-D bar graph `pareto` Pareto chart
 `stem` Plot discrete sequence data `stem3` Plot 3-D discrete sequence data
 `scatter` Scatter plot `scatter3` 3-D scatter plot
 `stairs` Stairstep graph

## Propriétés

développer tout

 Bar Properties Bar chart appearance and behavior Stem Properties Stem chart appearance and behavior Scatter Properties Scatter chart appearance and behavior Stair Properties Stair chart appearance and behavior

## Rubriques

Types of Bar Graphs

Bar graphs are useful for viewing results over a period of time, comparing results from different data sets, and showing how individual elements contribute to an aggregate amount.

Modify Baseline of Bar Graph

This example shows how to modify properties of the baseline of a bar graph.

Overlay Bar Graphs

This example shows how to overlay two bar graphs and specify the bar colors and widths.

Bar Chart with Error Bars

Create a bar chart with error bars using both the `bar` and `errorbar` functions.

Color 3-D Bars by Height

This example shows how to modify a 3-D bar plot by coloring each bar according to its height.

Combine Line and Stem Plots

This example shows how to combine a line plot and two stem plots.

Overlay Stairstep Plot and Line Plot

This example shows how to overlay a line plot on a stairstep plot.

Interpolating Scattered Data

Interpolating scattered data using `scatteredInterpolant`.