Couple of questions on plotting


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()

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.



James W. Landry