I have previously used some script from Mike DePalatis for making APS (PRL, PRB, etc.) suitable plots. Maybe it will be a useful starting point.

http://mike.depalatis.net/docs/mpllatex.html


"""
mplparams.py

M.V. DePalatis, 2010-09-01
Licensed under the GNU GPL v3

matplotlib rc params and axes rects to generate figures of appropriate
size for different types of publication.
"""

# documentclass 'article' with package 'fullpage'
fullpage = {'params': {'axes.labelsize': 10,
                       'text.fontsize': 10,
                       'legend.fontsize': 10,
                       'xtick.labelsize': 8,
                       'ytick.labelsize': 8,
                       'text.usetex': False,
                       'font.family': 'serif',
                       'figure.figsize': (4.774, 2.950)},
            'axes': [0.150,0.175,0.95-0.15,0.95-0.25]}

# two-column APS journal format
aps = {'params': {'axes.labelsize': 10,
                  'text.fontsize': 10,
                  'legend.fontsize': 10,
                  'xtick.labelsize': 8,
                  'ytick.labelsize': 8,
                  'text.usetex': False,
                  'figure.figsize': (3.4039, 2.1037)},
       'axes': [0.125,0.2,0.95-0.125,0.95-0.2]}




On 15/04/2011 14:36, Auré Gourrier wrote:
Good Idea !
I'm also using mpl for other publications than ieee and it sounds like a small mplrc data base with targeted journal specifications would be worthwhile doing ! I would be ready to contribute.
Cheers,
Auré

------------------------------------------------------------------------
*De :* alex arsenovic <[email protected]>
*À :* [email protected]
*Envoyé le :* Ven 15 avril 2011, 14h 06min 39s
*Objet :* [Matplotlib-users] matplotlibrc for [ieee] publications

i was wondering if anyone had considered making a matplotlibrc which
generates plots suitable for ieee publications (specifically ieee
transactions)?

or any other publications for that matter. like a set of matching
matplotlibrc's to journals (or some other way to achieve a similar
functionality)

if not, i think it would be a valuable thing to make, because it wouldnt
be very hard, and would save a lot of users time/effort. specifically it
would specify the dimension/dpi/font type/sizes/etc.  i have a
preliminary one for ieee we can use as a starting point, that can be
improved.


thanks
alex



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev


_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to