Line Plots
Linear, log-log, semi-log, error bar plots
Functions
errorbar |
Line plot with error bars |
MATLAB Language Syntax
LineSpec (Line Specification) |
Line specification |
ColorSpec (Color Specification) |
Color specification |
Properties
Line Properties | Chart line appearance and behavior |
FunctionLine Properties | Line chart appearance and behavior |
ImplicitFunctionLine Properties | Implicit line chart appearance and behavior |
ParameterizedFunctionLine Properties | Parameterized line chart appearance and behavior |
ErrorBar Properties | Error bar chart appearance and behavior |
Topics
Create 2-D Graph and Customize Lines
Create a 2-D line plot and specify the line style, line color, and marker type.
Create a chart withy-axes on both the left and right sides.
Add markers to a line plot to distinguish multiple lines or to highlight particular data points.
Line Styles Used for Plotting — LineStyleOrder
Control the colors and line styles used for plotting by setting axes properties.
Plot Imaginary and Complex Data
This example shows how to plot the imaginary part versus the real part of a complex vector,z
.
This example shows how to create line and scatter plots of datetime and duration values using theplot
function. It also shows how to customize the axes.
Related Information
Was this topic helpful?