Line plots are a useful way to compare sets of data or track changes over time. You can plot the data in a 2-D or 3-D view using either a linear or a logarithmic scale. Also, you can plot expressions or functions over specific intervals.
|Line Properties||Chart line appearance and behavior|
|Stair Properties||Stair chart appearance and behavior|
|ErrorBar Properties||Error bar chart appearance and behavior|
|Area Properties||Area chart appearance and behavior|
|StackedLineChart Properties||Stacked plot appearance and behavior|
|StackedAxesProperties Properties||Appearance and behavior of individual axes in stacked plot|
|StackedLineProperties Properties||Appearance and behavior of individual lines in stacked plot|
- Create 2-D Line Plot
Create a 2-D line plot and specify the line style, line color, and marker type.
- Create Line Plot with Markers
Add markers to a line plot to distinguish multiple lines or to highlight particular data points.
- Line Plot with Confidence Bounds
Create a plot with confidence bounds using the
fillfunction to draw the confidence bounds and the
plotfunction to draw the data points.
- Plot Dates and Times
Create plots with data that represents dates and times, using appropriate units and customized labels. Read dates and times from data files and display them in plots.
- Create Chart with Two y-Axes
Create a chart with y-axes on both the left and right sides.
- Combine Line and Bar Charts Using Two y-Axes
This example shows how to combine a line chart and a bar chart using two different y-axes.
- Specify Plot Colors
Customize colors in plots.
- Specify Line and Marker Appearance in Plots
Customize the lines and markers in a plot.
- Control How Plotting Functions Select Colors and Line Styles
Control the colors and line styles used by plotting functions.
- Plot Imaginary and Complex Data
Plot the imaginary part versus the real part of a complex vector.
- Compare Data Sets Using Overlayed Area Graphs
This example shows how to compare two data sets by overlaying their area graphs.