Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

vertical line in matplotlib

xposition = [0.3, 0.4, 0.45]
for xc in xposition:
    plt.axvline(x=xc, color='k', linestyle='--')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vertical #line #matplotlib
ADD COMMENT
Topic
Name
5+9 =