hello, anyone has an idea about how to get this right?
thanks a lot in advance,
Johann
Johann Cohen-Tanugi wrote:
> hi there, I stumbled into yet another problem, see script attached.
> Now there are 10 pixels and 10 label values on each axis, but I get
> only half the ticks, and as a result hal
hi there, I stumbled into yet another problem, see script attached. Now
there are 10 pixels and 10 label values on each axis, but I get only
half the ticks, and as a result half the labels get discarded... How can
I specify the number of ticks it uses?
Note that I could use plt.pcolor(np.array(E
import numpy as np
import matplotlib.pylab as plt
ROIS=["1.0","0.9","0.8","0.7","0.6","0.5","0.4","0.3","0.2","0.1"]
EMINS=["100","125","150","175","200","250","300","500","700","1000"]
d=np.array([81.820974990633303,
82.905629922471107,
79.590599078715002,
83.8076661158848,
84.340371447361704,
8
the example works very well, but what I have is 10 numbers that I want
to put in between 11 ticks. Actually what I havve is a checkerboard
(using pcolor) and I want to label the X and Y of each pixel
and now I am confused with the API to do that... The example uses
objects that can provide L
thanks a lot!
Johann
John Hunter wrote:
> On Sat, Jul 11, 2009 at 1:15 PM, Eric Firing wrote:
>
>> John Hunter wrote:
>>
>>> On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi
>>> wrote:
>>>
Hello, how can I center axis tick labels, so that the labels ends up at
the cente
On Sat, Jul 11, 2009 at 1:15 PM, Eric Firing wrote:
> John Hunter wrote:
>>
>> On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi
>> wrote:
>>>
>>> Hello, how can I center axis tick labels, so that the labels ends up at
>>> the center between 2 ticks.
>>>
>>
>> There is no support for this, though
John Hunter wrote:
> On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi
> wrote:
>> Hello, how can I center axis tick labels, so that the labels ends up at
>> the center between 2 ticks.
>>
>
> There is no support for this, though you can left or right align a
> label with a single tick::
>
>
On Thu, Jul 9, 2009 at 9:44 AM, Johann Cohen-Tanugi wrote:
> Hello, how can I center axis tick labels, so that the labels ends up at
> the center between 2 ticks.
>
There is no support for this, though you can left or right align a
label with a single tick::
for label in ax.xaxis.get_xticklabel
Hello, how can I center axis tick labels, so that the labels ends up at
the center between 2 ticks.
thanks in advance,
Johann
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in pri