[Matplotlib-users] swedish letters in yticks

2014-08-24 Thread Johan Ekh
Hi all I try to use yticks as plt.yticks(y_pos, projDescr) where projDescr is a list of strings that contains some swedish letters, i.e. åäö, but they are not printed correctly. I have googled but can not fins a solution. Can someone point me in the right direction? Best regards, Johan

Re: [Matplotlib-users] Switching between different font settings

2009-01-08 Thread Johan Ekh
OK, Thanks for your help. // Johan On Wed, Jan 7, 2009 at 7:36 PM, Jouni K. Seppänen wrote: > "Johan Ekh" writes: > > > I am trying to use helvetica and yes, text(r'$1+2+3={}$1+2+3') gives me > > helvetica for the non math mode case. > > But how do I

Re: [Matplotlib-users] Switching between different font settings

2009-01-06 Thread Johan Ekh
"rcParams.update(params)" but that did not help. Do you know what I should do? // Johan On Mon, Jan 5, 2009 at 2:06 PM, Jouni K. Seppänen wrote: > "Johan Ekh" writes: > > > So far I've tried reading a file with settings specific to the current &g

[Matplotlib-users] Switching between different font settings

2009-01-04 Thread Johan Ekh
Hi all, I use Matplotlib and LaTeX to produce essentially two types of documents; technical reports for a large corporation and scientific papers. Thus, I use several LaTeX cls-files which uses different fonts. What is the most convenient way to get Matplotlib to use the same fonts as my main docu

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Johan Ekh
digit) and in the text (the lower digit). Best regards, Johan 2007/8/7, Darren Dale <[EMAIL PROTECTED]>: > > On Tuesday 07 August 2007 11:37:45 am Johan Ekh wrote: > > OK, > > here is the LaTeX example from the cookbook, i.e. I executed the > following: > > > &

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Johan Ekh
initely looks like some missing fonts, does anyone known what I have to do? Best regards, Johan 2007/8/7, Darren Dale <[EMAIL PROTECTED]>: > > On Tuesday 07 August 2007 07:37:04 am Johan Ekh wrote: > > Hi all, > > I'm new to Python in general and Matplotlib in partic

[Matplotlib-users] LaTeX fonts

2007-08-07 Thread Johan Ekh
Hi all, I'm new to Python in general and Matplotlib in particular. I'm trying to create publication quality plots for inclusion in LaTeX papers and presentations and have some problems to get the fonts right. My matplotlibrc contains the following lines font.family: serif font.serif