<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Yes that works</div>
<div>Thank you!</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 28. Januar 2015 um 16:33 Uhr<br/>
<b>Von:</b> "Calixte Denizet" <calixte.denizet@scilab-enterprises.com><br/>
<b>An:</b> users@lists.scilab.org<br/>
<b>Betreff:</b> Re: [Scilab-users] Cropped labels after image export</div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix">Hi Sophie,<br/>
<br/>
You should set the fontsize for axes ticks before to set the labels:<br/>
<div>x=1:100;</div>
<div>y=sin(x);</div>
<div> </div>
<div>figure;</div>
<div>g = <u>gcf</u>();</div>
<div>
<div>axh = g.children;</div>
<div>axh.font_size = 6;</div>
<div><u>plot</u>(x,y)</div>
<u>xlabel</u>('Blablabla1','fontsize',6);</div>
<div><u>ylabel</u>('Blablabla2','fontsize',6);</div>
<div> </div>
<div>g.children.children(1).children.thickness = 2; <em>//Plot Thickness</em></div>
g.children.children.children.thickness = 2;<br/>
<div>xs2eps(g, 'Blub.eps', ['landscape']);<br/>
<br/>
Regards,<br/>
<br/>
Calixte</div>
<br/>
On 28/01/2015 16:19, Sophie von Borstel wrote:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi smart people;</div>
<div> </div>
<div>I am using Scilab 5.5.0 for getting some beautiful graphics.</div>
<div>Unfortunately I have a problem with exporting figures.</div>
<div>After changing axis font size the labels are out of view.</div>
<div>See my code below.</div>
<div> </div>
<div>If I change the window size by hand I can find my labels again.</div>
<div> </div>
<div> </div>
<div>Is there another method for doing this?</div>
<div>I just don’t want to change each graphic by hand.</div>
<div> </div>
<div>Thanks in advance for your help! </div>
<div>Sophie</div>
<div> </div>
<div> </div>
<div> </div>
<div>x=1:100;</div>
<div>y=sin(x);</div>
<div> </div>
<div>figure;</div>
<div>g = <u>gcf</u>();</div>
<div><u>plot</u>(x,y)</div>
<div> </div>
<div><u>xlabel</u>('Blablabla1','fontsize',6);</div>
<div><u>ylabel</u>('Blablabla2','fontsize',6);</div>
<div> </div>
<div>g.children.children(1).children.thickness = 2; <em>//Plot Thickness</em></div>
<div> </div>
<div>g.children.children.children.thickness = 2;</div>
<div>axh = g.children;</div>
<div>axh.font_size = 6;</div>
<div> </div>
<div>xs2eps(g, 'Blub.eps', ['landscape']);</div>
<div> </div>
</div>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<pre>_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="users@lists.scilab.org" target="_parent">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature">--
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com" target="_blank">http://www.scilab-enterprises.com</a></pre>
_______________________________________________ users mailing list users@lists.scilab.org <a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></div>
</div>
</div>
</div>
</div></div></body></html>