23.10.11

matplotlib text with variables

plt.text(.5,.5, '$\\alpha_v='+str(a)+' $\\beta_h='+str(b)+'$')

1. no r before string
2. double \\

没有评论: