Discrete Data Plots
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.
Functions
Properties
Topics
- 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
baranderrorbarfunctions. - 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.