On 2014/03/03 11:40 AM, Ying Liu wrote: > Hi, > > I want to know how to set the scientific ticker format in pylab. I know > that I can set it to the form of 1e21, but what I want is something like > x10^21, as follows: > > Inline image 1 -----> Inline image 2 > > > Can anybody tell me how to do this? I searched on this for a long time, > but still I did not find the answer.
Execute this before plotting: rcParams['axes.formatter.use_mathtext'] = True or set it in your matplotlibrc file. Eric > > Sorry to bother those who are not interested. > > Best regards > > ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users