I am trying to plot vertical lines in a log chart
xv1 = 10 plt.semilogy(t,P,'b') plt.semilogy(t,Pb,'r') plt.vlines(xv1,-1,1,color='k',linestyles='solid') plt.xlabel('Time [s]') plt.ylabel('P [Pa]') plt.grid() plt.show()
Versions are not displayed in the graph (this is done for plt.plot)
Any ideas? Thanks!
source share