File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
2
Axis within rectangular frame
3
3
4
- The following code demonstrates how to put a floating
5
- polar curve within a rectangular box. In order to get
6
- a better sense of polar curves, please look at
7
- demo_curvelinear_grid.py.
4
+ The following code demonstrates how to put a floating polar curve within a
5
+ rectangular box. In order to get a better sense of polar curves, please look at
6
+ demo_curvelinear_grid.py.
8
7
"""
9
8
import numpy as np
10
9
import matplotlib .pyplot as plt
Original file line number Diff line number Diff line change 1
1
"""
2
2
Parasite axis demo
3
3
4
- The following code is an example of a parasite axis.
5
- It aims to show a user how to plot multiple different values
6
- onto one single plot. Notice how in this example, par1 and
7
- par2 are both calling twinx meaning both are tied directly to
8
- the x-axis. From there, each of those two axis can behave
9
- separately from the each other, meaning they can take on
10
- seperate values from themselves as well as the x-axis.
4
+ The following code is an example of a parasite axis. It aims to show a user how
5
+ to plot multiple different values onto one single plot. Notice how in this
6
+ example, par1 and par2 are both calling twinx meaning both are tied directly to
7
+ the x-axis. From there, each of those two axis can behave separately from the
8
+ each other, meaning they can take on seperate values from themselves as well as
9
+ the x-axis.
11
10
"""
12
11
from mpl_toolkits .axes_grid1 import host_subplot
13
12
import mpl_toolkits .axisartist as AA
You can’t perform that action at this time.
0 commit comments