<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="macro_new_topic nabble" id="nabble">
<div class="top-bar"></div><div class="second-font shaded-bg-color big-title" style="padding: .4em;margin-top:.1em"></div><div class="light-border-color" style="padding-left:.7em;border-width:2px;border-style:solid"><div class="field-box" style="width:100%;border:none"><table style="border-collapse:collapse;margin-bottom:1em" class=""><tbody class=""><tr class=""><td class=""><br class=""></td><td class=""><br class=""></td><td class="">hii </td><td class="weak-color"><br class=""></td></tr></tbody></table><div id="message0" class="message-text adbayes-content">for the book iwrite i need fonts in size 10
<br class="">i put this size to the fonts and the exported picture, when included
in my TeXmacs document without changing the size, present fonts that
fits approximatively to this size of 10
<br class="">but my pictures are really to big ; if i reduce them (they are png) then of course the fonts are reduced also
<br class="">i have been searching on internet since 2 days, looking for the right instruction to fix the size of the picture
<br class="">i did not find my answer here :
<br class=""><a href="https://stackoverflow.com/questions/8775622/exact-figure-size-in-matplotlib-with-title-axis-labels" target="_top" rel="nofollow" link="external" class="">https://stackoverflow.com/questions/8775622/exact-figure-size-in-matplotlib-with-title-axis-labels</a><br class="">here the topic seemed to be mine :
<br class=""><a href="http://scipy-cookbook.readthedocs.io/items/Matplotlib_AdjustingImageSize.html" target="_top" rel="nofollow" link="external" class="">http://scipy-cookbook.readthedocs.io/items/Matplotlib_AdjustingImageSize.html</a><br class="">but this code, just copy-pasted from this link :
<br class=""><pre class="">import pylab
F = pylab.gcf()
F.set_figsize_inches( (DefaultSize[0]*2, DefaultSize[1]*2) )
</pre>gave this message :
<br class="">AttributeError: 'Figure' object has no attribute 'set_figsize_inches'
<br class=""><br class="">of course i can fix the font to some random value say 24 and
reduce the picture to a random % and, by trials and approximations, find
the right size and the right % so that the text in my pictures seem to
be 10
<br class=""><br class="">i'm sure it must exist a more satisfying way but can not find it
<br class=""><br class="">i am just missing this point to start working
<br class=""><br class="">thanks if you have ideas.
<div class="signature weak-color">
––––––––––––––––––––––––––
<br class=""> Vincent Douce
<br class=""> :=: Mathoscope :=:
<br class=""> <a href="http://mathoscope.xyz" target="_top" rel="nofollow" link="external" class="">http://mathoscope.xyz</a><br class=""> 06°13°11°07°26
<br class=""> Bagnères de Bigorre 65200</div></div></div></div>
</div></body></html>