From: John H. <jdh...@ac...> - 2005-11-30 21:26:42
|
>>>>> "James" == James Landry <jwl...@gm...> writes: James> Hi, I'm relatively new to python and matplotlib and trying James> to make a graph with an inset. James> How do I control the size of the text in the legend, made James> using figlegend? James> I've tried to do something like this: James> leg = figlegend(lines,(r'$r_f = 1.5d$',r'$r_f = 2d$',r'$r_f James> = 4d$', r'$r_f = 6d$'),(0.7,0.7)) legLbls = leg.get_texts() James> set(legLbls,fontsize=24) James> but that seems to have no effect. Please post a complete example. James> Also, how do I change the frequency of the tick labeling? James> I want to label over other tick instead of every tick in James> the inset figure. Right now it is too busy. You can set the tick locations and labels with the xticks or yticks commands. For finer grained control, see the chapter in the users guide of tick locating and formatting, and http://matplotlib.sf.net/matplotlib.ticker.html James> So far, matplotlib looks great! Thanks for all the hard James> work. Your welcome! JDH |