From: John H. <jdh...@ac...> - 2004-07-02 22:02:38
|
>>>>> "danny" == danny shevitz <dan...@ya...> writes: danny> another newbie question. BTW I am learning where to find danny> documentation. Most of this stuff isn't in the danny> documentation per se, but in the class library, but please danny> bare with me. One place to look is http://matplotlib.sf.net/matlab_interface.html and the help for the plotting commands listed there. If this case, you want to see the help for the figure command: figure(num = 1, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k') Create a new figure and return a handle to it If figure(num) already exists, make it active and return the handle to it. figure(1) figsize - width in height x inches; defaults to rc figure.figsize dpi - resolution; defaults to rc figure.dpi facecolor - the background color; defaults to rc figure.facecolor edgecolor - the border color; defaults to rc figure.edgecolor One day, hopefully in the not too distant future, I'll have a user's guide. JDH danny> I am aving big troubles setting figure sizes. danny> In a plot command. I have tried plot(...,figsize=(6,8)) and danny> plot(...,figsize_inches=(6,8) set(gcf(),'figsize',(6,8)) danny> set(gcf(),'figsize_inches',(6,8)) danny> none work for me. OK I'm stumped, what's the right way. danny> thanks, Danny danny> __________________________________ Do you Yahoo!? Yahoo! danny> Mail - 50x more storage than other providers! danny> http://promotions.yahoo.com/new_mail danny> ------------------------------------------------------- danny> This SF.Net email sponsored by Black Hat Briefings & danny> Training. Attend Black Hat Briefings & Training, Las Vegas danny> July 24-29 - digital self defense, top technical experts, danny> no vendor pitches, unmatched networking danny> opportunities. Visit www.blackhat.com danny> _______________________________________________ danny> Matplotlib-users mailing list danny> Mat...@li... danny> https://lists.sourceforge.net/lists/listinfo/matplotlib-users |