Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

twin axis python

import numpy as np
import matplotlib.pyplot as plt
ax1=plt.subplot(111)
ax1.plot(np.arange(0,10),np.arange(0,10))
ax2=ax1.twinx()
ax2.plot(np.arange(10,20),np.arange(100,110))
 
PREVIOUS NEXT
Tagged: #twin #axis #python
ADD COMMENT
Topic
Name
4+9 =