<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Customizing print setup</title> <atom:link href="http://undocumentedmatlab.com/blog/customizing-print-setup/feed/" rel="self" type="application/rss+xml" /><link>http://undocumentedmatlab.com/blog/customizing-print-setup/</link> <description>Charting Matlab's unsupported hidden underbelly</description> <lastBuildDate>Thu, 09 Feb 2012 09:23:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/customizing-print-setup/#comment-49265</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Thu, 23 Jun 2011 18:54:26 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=768#comment-49265</guid> <description>Step 4 already contains a code snippet. You just need to adapt it in your code (hObject is the figure handle). If you want my personal assistance, please contact me by email.</description> <content:encoded><![CDATA[<p>Step 4 already contains a code snippet. You just need to adapt it in your code (hObject is the figure handle). If you want my personal assistance, please contact me by email.</p> ]]></content:encoded> </item> <item><title>By: Rich</title><link>http://undocumentedmatlab.com/blog/customizing-print-setup/#comment-49264</link> <dc:creator>Rich</dc:creator> <pubDate>Thu, 23 Jun 2011 18:30:39 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=768#comment-49264</guid> <description>New to Matlab and this appears to be the solution I am after. However, I stumble at step 4 at &quot;or in your figure’s initialization function (for non-GUIDE figures)&quot; I cant seem to make this work. Could you possibly provide a code snippet or clues as to how to implement for a &quot;non-GUIDE&quot; figure. Thanks</description> <content:encoded><![CDATA[<p>New to Matlab and this appears to be the solution I am after. However, I stumble at step 4 at &#8220;or in your figure’s initialization function (for non-GUIDE figures)&#8221; I cant seem to make this work. Could you possibly provide a code snippet or clues as to how to implement for a &#8220;non-GUIDE&#8221; figure. Thanks</p> ]]></content:encoded> </item> <item><title>By: Daniel</title><link>http://undocumentedmatlab.com/blog/customizing-print-setup/#comment-13802</link> <dc:creator>Daniel</dc:creator> <pubDate>Wed, 28 Jul 2010 18:17:21 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=768#comment-13802</guid> <description>The OP didn&#039;t work well.  Another search found the following.
http://itb.biologie.hu-berlin.de/~schaette/HomeFiles/MatlabPlots.pdfCode to &quot;Fill page&quot; for US letter.
&lt;pre lang=&quot;matlab&quot;&gt;set(gcf, &#039;PaperUnits&#039;, &#039;inches&#039;) % default on some systems
set(gcf, &#039;PaperPosition&#039;, [0.25 0.25 8 10.5]) % [left top width height]&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>The OP didn&#8217;t work well.  Another search found the following.<br
/> <a
href="http://itb.biologie.hu-berlin.de/~schaette/HomeFiles/MatlabPlots.pdf" rel="nofollow">http://itb.biologie.hu-berlin.de/~schaette/HomeFiles/MatlabPlots.pdf</a></p><p>Code to &#8220;Fill page&#8221; for US letter.</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;"><span style="color: #0000FF;">set</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">gcf</span>, <span style="color:#A020F0;">'PaperUnits'</span>, <span style="color:#A020F0;">'inches'</span><span style="color: #080;">&#41;</span> <span style="color: #228B22;">% default on some systems</span>
<span style="color: #0000FF;">set</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">gcf</span>, <span style="color:#A020F0;">'PaperPosition'</span>, <span style="color: #080;">&#91;</span><span style="color: #33f;">0.25</span> <span style="color: #33f;">0.25</span> <span style="color: #33f;">8</span> <span style="color: #33f;">10.5</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span> <span style="color: #228B22;">% [left top width height]</span></pre></div></div>]]></content:encoded> </item> <item><title>By: Andy</title><link>http://undocumentedmatlab.com/blog/customizing-print-setup/#comment-8240</link> <dc:creator>Andy</dc:creator> <pubDate>Tue, 16 Mar 2010 16:16:01 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=768#comment-8240</guid> <description>I&#039;ve struggled with this for years. I have some preferred styles for journal papers, others for web pages and yet more for presentations. I gave up and wrote a relatively simple function that addresses much of the above.I don&#039;t want to repost the details here, but see matlabcentral for my solution - a &#039;readyforprint&#039; function;http://www.mathworks.com/matlabcentral/fileexchange/26400-function-readyforprintthe result is that a single command can be used to produce nicely-formatted images;&lt;pre lang=&quot;matlab&quot;&gt;
readyforprint([5.08 2.21],8,&#039;k&#039;,&#039;w&#039;,1)
&lt;/pre&gt;produces images 5.08 inches wide, 2.21 tall, 8 pt text, black foreground (lines and markers) and white background. All the lines are 1 point thick. Gives very nice output for a journal figure!</description> <content:encoded><![CDATA[<p>I&#8217;ve struggled with this for years. I have some preferred styles for journal papers, others for web pages and yet more for presentations. I gave up and wrote a relatively simple function that addresses much of the above.</p><p>I don&#8217;t want to repost the details here, but see matlabcentral for my solution &#8211; a &#8216;readyforprint&#8217; function;</p><p><a
href="http://www.mathworks.com/matlabcentral/fileexchange/26400-function-readyforprint" rel="nofollow">http://www.mathworks.com/matlabcentral/fileexchange/26400-function-readyforprint</a></p><p>the result is that a single command can be used to produce nicely-formatted images;</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">readyforprint<span style="color: #080;">&#40;</span><span style="color: #080;">&#91;</span><span style="color: #33f;">5.08</span> <span style="color: #33f;">2.21</span><span style="color: #080;">&#93;</span>,<span style="color: #33f;">8</span>,<span style="color:#A020F0;">'k'</span>,<span style="color:#A020F0;">'w'</span>,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span></pre></div></div><p>produces images 5.08 inches wide, 2.21 tall, 8 pt text, black foreground (lines and markers) and white background. All the lines are 1 point thick. Gives very nice output for a journal figure!</p> ]]></content:encoded> </item> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/customizing-print-setup/#comment-5802</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Tue, 05 Jan 2010 13:34:14 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=768#comment-5802</guid> <description>Sebastiaan - the point in this post was to enable full programmatic access to the Print options customization, without need for any manual intervention.</description> <content:encoded><![CDATA[<p>Sebastiaan &#8211; the point in this post was to enable full programmatic access to the Print options customization, without need for any manual intervention.</p> ]]></content:encoded> </item> <item><title>By: Sebastiaan</title><link>http://undocumentedmatlab.com/blog/customizing-print-setup/#comment-5799</link> <dc:creator>Sebastiaan</dc:creator> <pubDate>Tue, 05 Jan 2010 12:51:40 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=768#comment-5799</guid> <description>Is this not what the &#039;StyleSheet&#039; option in the print dialog is used for?</description> <content:encoded><![CDATA[<p>Is this not what the &#8216;StyleSheet&#8217; option in the print dialog is used for?</p> ]]></content:encoded> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              b7666
Template:           single
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: undocumentedmatlab.com @ 2012-02-09 04:45:22 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          blog/customizing-print-setup/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.652s
Header info:
X-Pingback:         http://undocumentedmatlab.com/blog/xmlrpc.php
Set-Cookie:         wpgb_visit_last_php-default=1328787922; expires=Fri, 08-Feb-2013 11:45:22 GMT; path=/
Link:               <http://undocumentedmatlab.com/?p=768>; rel=shortlink
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Thu, 09 Feb 2012 11:45:22 GMT
Vary:               Accept-Encoding, Cookie
Expires:            Thu, 09 Feb 2012 12:45:22 GMT
Pragma:             public
Cache-Control:      public, must-revalidate, proxy-revalidate
Etag:               bce7ca839b3c5e4a6f6f0eeaf727d5b2
Content-Encoding:   gzip
-->
