I'm trying to do something relatively simple:
I want to be able to increase a font of one letter(say a LaTeX variable, say to 30) and keep the other letters in the label a certain font(say 20).
Does anyone have a quick solution? It seems rather complicated to me. I tried using { }
for each "item" in the label
plt.plot(a,b,'g',linewidth=3.5, label = 'a')
plt.plot(c,d,'r',linewidth=3.5, label = 'c')
plt.legend(labelspacing = 1.0,loc=1,prop={'size':40})
plt.xlabel({'a',fontsize=50},{ 'N',fontsize = 20})
plt.ylabel('%',fontsize =30)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…