File tree 1 file changed +10
-15
lines changed
examples/lines_bars_and_markers
1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
- ==================
3
- A simple Fill plot
4
- ==================
2
+ ==============
3
+ Fill plot demo
4
+ ==============
5
5
6
- This example showcases the most basic fill plot a user can do with matplotlib.
6
+ First example showcases the most basic fill plot a user can do with matplotlib.
7
+
8
+ Second example shows a few optional features:
9
+
10
+ * Multiple curves with a single command.
11
+ * Setting the fill color.
12
+ * Setting the opacity (alpha value).
7
13
"""
8
14
import numpy as np
9
15
import matplotlib .pyplot as plt
17
23
ax .grid (True , zorder = 5 )
18
24
plt .show ()
19
25
20
- """
21
- ========================
22
- A more complex fill demo
23
- ========================
24
-
25
- In addition to the basic fill plot, this demo shows a few optional features:
26
-
27
- * Multiple curves with a single command.
28
- * Setting the fill color.
29
- * Setting the opacity (alpha value).
30
- """
31
26
x = np .linspace (0 , 2 * np .pi , 500 )
32
27
y1 = np .sin (x )
33
28
y2 = np .sin (3 * x )
You can’t perform that action at this time.
0 commit comments