Re: [Matplotlib-users] Figure save hack
Indeed, saving figures in the manner of Matlab would be a great feature enhancement for Matplotlib. Keep Hacking ! :) Cheers François <>-- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] backend with edition capabilities
Le 05/03/2012 21:37, Federico Ariza a écrit : Hi As I thought, this is a tricky subject. So far I just opened a github account and added the three files that I am using. https://github.com/fariza/MPL-Experimental-Backend I have tested this on linux, I do not know if it works on windows. I know glade is not the right way to do it if I want this to be taken serously. So far the only thing I want is to experiment and see what subset of actions are needed by most people. The code is ugly but if this is something that more people find useful, I will do something about that, if not I will keep it to myself and my personal use. Thanks Federico P.S. The group expander is because I have personal need of line group management P.S.2. The toolbar will be modified to be unified among all the figures P.S.3. The figures are arranged in a notebook because I hate having multiple open windows from the same source. P.S.4. I am thinking on adding a "shell" with all the figure and line instances ready to be modified by hand. On Wed, Feb 29, 2012 at 5:02 PM, Federico Ariza mailto:ariza.feder...@gmail.com>> wrote: Dear all I am a long time matplotlib user (under linux) but new to the list (second post). On of the things that bothers me the most is the inability of the standard backend to change simple things (line color, labels, etc...). I resorted to create a simple FrankeinBackend (based on the GtkAgg) I guess I am not the only one missing this kind of features or experimenting with similar ideas. Some points comes to my mind: Is there any special place where we can share and discuss this? Is it better if I just open a googlecode place for my code.? This is a recurring question and I have no idea what I am talking about This is already done I am reinventing the wheel Thanks Federico -- Y yo que culpa tengo de que ellas se crean todo lo que yo les digo? -- Antonio Alducin -- -- Y yo que culpa tengo de que ellas se crean todo lo que yo les digo? -- Antonio Alducin -- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Hi, Great project and addition to matplotlib ! Something that was missing for me ... thanks ! I've tried to use your backend with editions capabilities but i'm stick with this erro: python test.py Traceback (most recent call last): File "test.py", line 4, in import matplotlib.pyplot as plt File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 95, in new_figure_manager, draw_if_interactive, show = pylab_setup() File "/usr/lib/pymodules/python2.7/matplotlib/backends/__init__.py", line 25, in pylab_setup globals(),locals(),[backend_name]) File "/home/beaubert/Téléchargements/fariza-MPL-Experimental-Backend-aa7ce4a/experimentalbackend.py", line 34, in settings.props.gtk_button_images = True AttributeError: 'gobject.GProps' object has no attribute 'gtk_button_images' I'm on Kubuntu 11.10. Thank's Cheers Francois <>-- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Runtime customization of plots
Andrea Gavana a écrit : Only the second approach slightly resembles what I have in mind. Navigating the plot using shortcuts and the MPL toolbars is less than 1% of what you can do to customize a MPL plot. Asking a user who knows nothing about Python (or programming in general) to use the IPython shell to modify the plot in runtime is unrealistic at best. The second approach looks interesting (pity it's been done using Qt, but then, the world is not perfect either...). I could use some of that code to build something that looks like a *beginning* of a possible customization of plots (using THE GUI toolkit). I thought this issue could have been important, as any other 2D/3D plotting toolkits (commercial and not commercial) have some (or a lot) of ability to customize their plots once they have been generated... Andrea. Jeremy Sanders initially developed Veusz as backend to Matplotlib but this branch was temporarily abandoned to restart recently. Matplotlib is THE reference library for scientific graphics under python and Veusz is also an EXCELLENT GUI app for scientific graphics. I think that Veusz+Matplolib could considerably widen their fields of application and theirs user's community if Matplotlib was used as a backend by default. This had already been spoken in veusz's mailing list and after these exchanges a new experimental branch (based on Matplotlib) was born. IMHO Matplotlib has now the object-orientated structure to easily use it for this purpose. Furthermore it now has 3d support as well as quiver plot and much more to offer. https://mail.gna.org/public/veusz-discuss/2009-04/msg5.html https://code.launchpad.net/veusz/experimental You could also see what Pierre Raybaut has already done with Spyder http://code.google.com/p/spyderlib/ Regards Francois <>-- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Controling the tick thickness
Le Lundi 9 Octobre 2006 19:11, Zack a écrit : > Bonjour François! > > Take it easy. > > rc("lines", markeredgewidth=4) > > There is no reasons to put cycle inside you code. > > Regards, Thanks for the tips zack ! It works like a dream ... Is there a way to specify only major or minor ticks marks ? -- François BEAUBERT ENSIAME/LME Bureau A9 Université de Valenciennes - Le Mont Houy - 59313 Valenciennes Cedex 9 Téléphone: (0/33)3 27 51 19 72 Télécopie: (0/33)3 27 51 19 61 Mel: [EMAIL PROTECTED] -- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. MailScanner remercie transtec pour son soutien. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Controling the tick thickness
Le Vendredi 6 Octobre 2006 19:59, John Hunter a écrit : > for line in ax.get_xticklines(): > line.set_linewidth(2.0) Thanks ! I have try this as in examples/axes_props.py but it doesn't work for me from pylab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) ax = subplot(111) ax.plot(t, s) ax.grid(True) ticklines = ax.get_xticklines() ticklines.extend( ax.get_yticklines() ) for line in ticklines: line.set_linewidth(4) show() any ideas ? I use matplotlib-0.87.5 and Python 2.4.3 Is there a way to do this in matplotlibrc like for tick length ? -- François BEAUBERT ENSIAME/LME Bureau A9 Université de Valenciennes - Le Mont Houy - 59313 Valenciennes Cedex 9 Téléphone: (0/33)3 27 51 19 72 Télécopie: (0/33)3 27 51 19 61 Mel: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Controling the tick thickness
Hi all, I have look in the doc and examples but was unable to find a way to control the thickness of the major and minor tick on the axis. Forgive me for this very basic question but if you now a way to do that... Thanks a lot Francois -- François BEAUBERT ENSIAME/LME Bureau A9 Université de Valenciennes - Le Mont Houy - 59313 Valenciennes Cedex 9 Téléphone: (0/33)3 27 51 19 72 Télécopie: (0/33)3 27 51 19 61 Mel: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users