John Hunter wrote:
On Jan 16, 2008 1:03 PM, Kevin Christman [EMAIL PROTECTED] wrote:
def myfunc(x, pos=0):
return '%1.2f''%(100*x)
And you may want to try:
def myfunc(x, pos=0):
return '%1.2f%%''%(100*x)
to get a percent sign after each value. (I mention it only because the
double
On Jan 16, 2008 1:03 PM, Kevin Christman [EMAIL PROTECTED] wrote:
I'm new to matplotlib. Currently the x-axis shows numbers from 0 to 1.
I would like it to show it in percent notation (e.g. 0% to 100%).
How do I do this in matplotlib?
You can either multiply your x data by 100 (where x is