Couple of questions on plotting

Hi,

I’m relatively new to python and matplotlib and trying to make a graph with an inset.

How do I control the size of the text in the legend, made using figlegend?

I’ve tried to do something like this:

leg = figlegend(lines,(r’$r_f = 1.5d$’,r’$r_f = 2d$’,r’$r_f = 4d$’,

r’$r_f = 6d$’),(0.7,0.7))
legLbls = leg.get_texts()
set(legLbls,fontsize=24)

but that seems to have no effect.

Also, how do I change the frequency of the tick labeling? I want
to label over other tick instead of every tick in the inset
figure. Right now it is too busy.

So far, matplotlib looks great! Thanks for all the hard work.

Thanks,
James

···


James W. Landry
jwlandry@…287…