File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 9
9
frame off on the 2nd axes to keep it from obscuring the first.
10
10
Manually set the tick locs and labels as desired. You can use
11
11
separate matplotlib.ticker formatters and locators as desired since
12
- the two axes are independent
12
+ the two axes are independent.
13
13
14
- To do the same with different x scales, use the xaxis instance and
15
- call tick_bottom and tick_top in place of tick_left and tick_right
14
+ This is acheived in the following example by calling pylab's twinx()
15
+ function, which performs this work. See the source of twinx() in
16
+ pylab.py for an example of how to do it for different x scales. (Hint:
17
+ use the xaxis instance and call tick_bottom and tick_top in place of
18
+ tick_left and tick_right.)
16
19
17
20
"""
18
21
You can’t perform that action at this time.
0 commit comments