Re: [Matplotlib-users] Couple of questions on plotting From: John Hunter - 2005-11-30 21:26:42 ```>>>>> "James" == James Landry 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 ```
 [Matplotlib-users] Couple of questions on plotting From: James Landry - 2005-11-27 03:09:17 Attachments: Message as HTML ```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 =3D figlegend(lines,(r'\$r_f =3D 1.5d\$',r'\$r_f =3D 2d\$',r'\$r_f =3D 4d\$', r'\$r_f =3D 6d\$'),(0.7,0.7)) legLbls =3D leg.get_texts() set(legLbls,fontsize=3D24) 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@... ```
 Re: [Matplotlib-users] Couple of questions on plotting From: John Hunter - 2005-11-30 21:26:42 ```>>>>> "James" == James Landry 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 ```