Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ax text relative coordinates

ax.text(0.5, 0.5,'matplotlib',
     horizontalalignment='center',
     verticalalignment='center',
     transform = ax.transAxes)
#relative coords
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ax #text #relative #coordinates
ADD COMMENT
Topic
Name
2+1 =