Matplotlib Plot: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
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

Internal

Overview

Difference between Plot and Scatter

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:

Visualization Style

Line Width and Color

Axes

Grid Lines