How to | Plot a Graph

The Wolfram Language has many ways to plot functions and data. It automates many details of plotting such as sample rate, aesthetic choices, and focusing on the region of interest. While these default options have been carefully selected to suit the vast majority of cases, the Wolfram Language also allows you to customize plots to fit your needs.

Use Plot to plot a function:

Use ListPlot to plot data:

Use ListLinePlot to plot the data joined by lines:

Use Plot3D to plot functions in three dimensions:

Customize your plots by adding options:

Use GraphPlot to plot networks: