Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Line Plots

Linear, log-log, semi-log, error bar plots

Functions

plot2-D line plot
plot33-D line plot
loglogLog-log scale plot
semilogxSemilogarithmic plot
semilogySemilogarithmic plot
errorbarLine plot with error bars
fplotPlot expression or function
fplot33-D parametric curve plotter
fimplicitPlot implicit function

MATLAB Language Syntax

Properties

Line PropertiesControl chart line appearance and behavior
FunctionLine PropertiesControl line chart appearance and behavior
ImplicitFunctionLine PropertiesControl implicit line chart appearance and behavior
ParameterizedFunctionLine PropertiesControl parameterized line chart appearance and behavior
ErrorBar PropertiesControl 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 Chart with Two y-Axes

Create a chart with y-axes on both the left and right sides.

Create Line Plot with Markers

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.

Plot Dates and Durations

This example shows how to create line and scatter plots of datetime and duration values using the plot function. It also shows how to customize the axes.

Was this topic helpful?