On Wed, Apr 25, 2012 at 6:54 AM, Peter Würtz <pwue...@googlemail.com> wrote:
> I'm having trouble when creating plots for use in latex documents.

I use the following setup (under Ubuntu, in case that matters):

params = {'backend': 'Agg',
          'ps.usedistiller' : 'xpdf',
          'text.usetex' : True,
          'font.family': 'serif',
          'font.serif' : ['Times'],
          }
mpl.rcParams.update(params)

I am not sure if all of them are necessary.

I made all the figures in this paper using these parameters:
http://arxiv.org/pdf/1110.5063v1

Alejandro.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to