Hi!
In some cases, I run matplotlib exclusively to put the generated pics in
latex documents, and the crib is that the xlabel and ylabel and xtick and
ytick font sizes are not big enough. The requirement is to make the fonts as
big as the text size itself. I normally do not play around with dpi and
figure size so much and hence was generating pics at 800 x 600 resolution
and inserting them in latex with scaling to /textwidth (AFAIK.. latex does
not insert any image more than 480 pixels wide.. I arrived at this figure by
inserting two images one with \textwidth scaling and another with
0.6scaling and observing that both were the same). This was making the
fonts
even smaller and rapidly varying parts of the graphs were getting poorly
resolved.. as in I see them as steps :( Zooming in on the PDF generated made
them go away !!
Now changing the figure size to (2,1.5) and setting the dpi to 240..
increased my linewidth and the fontsize of the xticks and yticks way too
much..!! infact the xticks were so big that the entire font on the y axis
did not even fit in the page !! However the image size was just perfect for
insertion into latex !! So solving one problem gave me another one !!
Plotting at 800x600 with default dpi settings, with reduced xticks and
yticks size and xlabel and ylabel font size solves one part of the problem,
but the rapidly varying parts of the graph still seem to be broken in the
inserted image.
So could anybody give me ideas on how to make publishable quality graphs
with Matplotlib !!
bye !!
ganesh
--
Ganesh V
Undergraduate student,
Department of Aerospace Engineering,
IIT Madras, Chennai-36.
My homepage -->
http://www.ae.iitm.ac.in/~ae03b007<http://www.ae.iitm.ac.in/%7Eae03b007>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users