Matplotlib Plot: Difference between revisions
Jump to navigation
Jump to search
(→Style) |
|||
Line 10: | Line 10: | ||
=Input Data= | =Input Data= | ||
==Multiple Series== | ==Multiple Series== | ||
<syntaxhighlight lang='py'> | |||
plot([x], y, [fmt], [x2], y2, [fmt2], ..., **kwargs) | |||
</syntaxhighlight> | |||
The coordinates of the points or line nodes are given by <code>x</code>, <code>y</code>. | |||
=Style= | =Style= | ||
To set globally, see: {{Internal|Matplotlib#Visualization_Style|Visualization Style}} | To set globally, see: {{Internal|Matplotlib#Visualization_Style|Visualization Style}} |
Revision as of 22:00, 7 October 2023
External
- Example https://matplotlib.org/stable/plot_types/basic/plot.html#sphx-glr-plot-types-basic-plot-py
- Documentation https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.plot.html#matplotlib.axes.Axes.plot
Internal
Overview
Difference between Plot and Scatter
Input Data
Multiple Series
plot([x], y, [fmt], [x2], y2, [fmt2], ..., **kwargs)
The coordinates of the points or line nodes are given by x
, y
.
Style
To set globally, see: