Data Distribution Plots
Visualize the distribution of data using plots such as histograms, pie charts, or word clouds. For example, use a histogram to group data into bins and display the number of elements in each bin.
Functions
Properties
Topics
- Plots That Support Tables
Create plots by passing tables directly to plotting functions.
- Pie Charts and Donut Charts
Create pie charts and donut charts, and configure labels, colors, and slice arrangements. (Since R2023b)
- Color Analysis with Bivariate Histogram
This example shows how to adjust the color scale of a bivariate histogram plot to reveal additional details about the bins.
- Control Categorical Histogram Display
This example shows how to use
histogram
to effectively view categorical data. - Create Heatmap from Tabular Data
This example shows how to create a heatmap from a table and how to modify the heatmap appearance.
- Create Word Cloud from String Arrays
This example shows how to create a word cloud from plain text by reading it into a string array, preprocessing it, and passing it to the
wordcloud
function. - Explore Table Data Using Parallel Coordinates Plot
This example shows how to create a parallel coordinates plot from a table and how to modify the appearance of the plot.
- Replace Discouraged Instances of hist and histc
histogram
,histcounts
, anddiscretize
are the recommended histogram creation and computation functions for new code.