On 09/08/2011 06:09 PM, Benjamin Root wrote:
On Thu, Sep 8, 2011 at 10:30 AM, Yves Revaz <mailto:[email protected]>> wrote:
Dear List,
when I'm saving a plot with the option facecolor='k',
around my image, there is still a one pixel white border.
How
**2
pt.plot(x,y)
pt.savefig('qq.png',facecolor='k')
Thanks in advance.
yves
--
(o o)
----oOO--(_)--OOo---
Dr. Yves Revaz
Laboratory of Astrophysics
Ecole Polytechnique Fédérale de
(o o)
oOO--(_)--OOo---
Dr. Yves Revaz
Laboratory of Astrophysics
Ecole Polytechnique Fédérale de Lausanne (EPFL)
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauverny
--
(o o)
oOO--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
icker
> formatter=ticker.LogFormatterMathtext()
> colorbar(format=formatter)
>
> which will render colorbar ticklabels with mathtext mode.
>
> Regards,
>
> -JJ
>
>
> On Fri, Apr 16, 2010 at 3:56 AM, Yves Revaz wrote:
>
>> Dear list,
>>
>> I want to plot colored
used for the color bar is no longer in latex mode,
as it was if I use a lin scale in scatter(), i.e., norm=None.
Is it a bug ?
Any solution ?
Thanks,
yves
--
(o o)
oOO--(_)--OOo---
Dr. Yves
=100,alpha=0.5)
ax.add_artist(e)
pt.semilogx()
pt.semilogy()
pt.axis([1,1e3,1,1e3])
pt.show()
--
(o o)
oOO--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny
---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauverny e-mail : [EMAIL PROTECTED]
SWITZERLAND Web : http://www.lunix.ch/revaz
Yves Revaz wrote:
> Hi all,
>
> How is it possible to display by default the minor ticks with an
> interval 5 times
> smaller than the major ticks.
>
> I can do that for a known range of data : for example :
>
> ax = pt.gca()
> ax.xaxis.set_ma
ks in advance,
yves
--
(o o)
oOO--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauvern
--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauverny e-mail : [EMAIL PROTECTED]
SWITZERLAND Web : http://www.luni
Ryan May wrote:
> Yves Revaz wrote:
>
>> Hi all,
>>
>> When I use:
>>
>> colorbar(orientation='horizontal')
>>
>> the color bar is drawn on the bottom of the corresponding graph.
>> Which option will draw the colorbar on the top
(o o)
oOO--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauverny e-mail : [EMAIL PROTECTED]
SWITZERLAND Web : http://ww
interpreted :-( .
Thanks for your help.
yves
--
(o o)
----oOO--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillett
)
oOO--(_)--OOo---
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauverny e-mail : [EMAIL PROTECTED]
SWITZERLAND
15 matches
Mail list logo