On Monday July 26 2010 18:23:29 Waléria Antunes David wrote: > Hello all, > > I need to format the values of graphic to KHz.....my values are in Hz > see at idle python it displays the values as: 3000 3050 3100 .... 3400 , > but I need to go where it will be displayed KHz: 3.0 3.1 > > can someone help me?
Hi, I'm not sure, but for me it sounds like the EngFormatter should solve your problem. It's a pitty it seems to be not documented at all, but the following example illustrates its usage: http://matplotlib.sourceforge.net/examples/api/engineering_formatter.html Maybe you can give it a try. Kind regards, Matthias ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users