Re: [Matplotlib-users] Use text AS values for x-axis

2009-05-30 Thread Gökhan SEVER
You are welcome Gus :) Go ahead and try these too.. I am assuming that you are experimenting in Ipython with --pylab. Use ? or ?? or browse and read for more information regarding to the usage of functions (http://matplotlib.sourceforge.net/api/pyplot_api.html) I am sure gallery has some extra de

Re: [Matplotlib-users] Use text AS values for x-axis

2009-05-30 Thread W. Augustine Dunn III
Gökhan == "awesome" Thanks, I KNEW it had to pretty simple. Gus On Sat, May 30, 2009 at 6:12 PM, Gökhan SEVER wrote: > Hey, > > Try this: > > plot([1,2,3]) > locs, labels = xticks([0,1,2], ['Trial1', 'Trial2', 'Control']) > > Gökhan > > > On Sat, May 30, 2009 at 8:05 PM, W. Augustine Dunn III

Re: [Matplotlib-users] Use text AS values for x-axis

2009-05-30 Thread Gökhan SEVER
Hey, Try this: plot([1,2,3]) locs, labels = xticks([0,1,2], ['Trial1', 'Trial2', 'Control']) Gökhan On Sat, May 30, 2009 at 8:05 PM, W. Augustine Dunn III wrote: > I am sorry if this has been covered in teh archives or is RTFM-sh but I > looked in both places and am low on time. I want to us

[Matplotlib-users] Use text AS values for x-axis

2009-05-30 Thread W. Augustine Dunn III
I am sorry if this has been covered in teh archives or is RTFM-sh but I looked in both places and am low on time. I want to use text as the value for the X-axis ticks not numbers. Something like 'Trial1', 'Trial2', 'Control' instead of 1,2,3. Is this even possible? It seems that this would be a