On Sat, May 30, 2009 at 6:46 PM, Eric Firing wrote:
> Possible, but I think there is a much better solution along the lines I
> suggested earlier. I have it partly implemented. To really do it right
> will require a little bit of work on all the interactive backends; it might
> be very little a
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
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
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
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
John Hunter wrote:
> On Sat, May 30, 2009 at 11:52 AM, Eric Firing wrote:
>
>> No, that applies to the axis ticks but not to the readout, and I think it is
>> the latter that Xavier is concerned with--at least that is what I have been
>> talking about, and want to improve.
>
> Just to clarify --
John Hunter wrote:
> On Sat, May 30, 2009 at 11:52 AM, Eric Firing wrote:
>
>
>> No, that applies to the axis ticks but not to the readout, and I think it is
>> the latter that Xavier is concerned with--at least that is what I have been
>> talking about, and want to improve.
>>
>
> Just to
Hi,
Given that the values of ordinates are changing monotonically, I found that
in some cases, stineman interpolation is monotonic even when the slopes are
not monotonic. And in other cases, it overshoots. Like in the following one:
x = (0, 10, 70, 100)
y = (0, 535, 595, 1000)
xx = arange(0,100,1
On Sat, May 30, 2009 at 11:52 AM, Eric Firing wrote:
> No, that applies to the axis ticks but not to the readout, and I think it is
> the latter that Xavier is concerned with--at least that is what I have been
> talking about, and want to improve.
Just to clarify -- by "readout" do you mean the
John Hunter wrote:
> On Sat, May 30, 2009 at 2:49 AM, Xavier Gnata wrote:
>
>> ok. My bad! Sorry.
>> I have changed the default to %1.4g so that is matches my usecases *but* I
>> agree that correct way to improve it in not that trivial...
>
>
> You can control the point at which mpl falls over
On Sat, May 30, 2009 at 3:50 AM, Paul Anton Letnes
wrote:
> Hello again,
>
>
> I can set the figure size and font size, that all works fine. However,
> the legend is prohibitively large: for a plot 3 inches wide (why
> doesn't matplotlib use centimeters or similar?), the legend takes up
> about on
On Sat, May 30, 2009 at 2:49 AM, Xavier Gnata wrote:
> ok. My bad! Sorry.
> I have changed the default to %1.4g so that is matches my usecases *but* I
> agree that correct way to improve it in not that trivial...
You can control the point at which mpl falls over to scientific
notation. From th
Hello again,
I can set the figure size and font size, that all works fine. However,
the legend is prohibitively large: for a plot 3 inches wide (why
doesn't matplotlib use centimeters or similar?), the legend takes up
about one third of the plot. This does not look too good...
cheers,
Paul
Eric Firing wrote:
> Xavier Gnata wrote:
>>
>>>
>
>>> Right now, the default is very simple:
>>>
>>> def format_data_short(self,value):
>>> 'return a short formatted string representation of a number'
>>> return '%1.3g'%value
>>>
>>> It looks like changing it to something l
14 matches
Mail list logo