<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MATLAB pour les geeks &#187; zbuffer</title>
	<atom:link href="https://blog.developpez.com/matlab4geek/?feed=rss2&#038;tag=zbuffer" rel="self" type="application/rss+xml" />
	<link>https://blog.developpez.com/matlab4geek</link>
	<description>&#62;&#62;why(393) </description>
	<lastBuildDate>Fri, 09 Jan 2015 13:05:12 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Optimiser les performances graphiques</title>
		<link>https://blog.developpez.com/matlab4geek/?p=157</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=157#comments</comments>
		<pubDate>Fri, 20 Jul 2012 09:21:58 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[Accélerer la création des figures]]></category>
		<category><![CDATA[Best-of des commandes MATLAB utiles]]></category>
		<category><![CDATA[accelerate]]></category>
		<category><![CDATA[figures]]></category>
		<category><![CDATA[renderer]]></category>
		<category><![CDATA[zbuffer]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Le 15 mai 2012 je donnais une astuce pour accélérer la création de plusieurs figures Aujourd&#8217;hui je vais vous présenter une astuce pour accélérer le rafraichissement de vos graphiques. J&#8217;ai trouvé un super lien dans la doc MATLAB à ce sujet: Optimizing Graphics Performance A un moment donné un des conseils donné est &#171;&#160;Setting All [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Le 15 mai 2012 je donnais une astuce pour <a href="http://blog.developpez.com/matlab4geek/c3223/best-of-des-commandes-matlab-utiles/accelerer-la-creation-des-figures/">accélérer la création de plusieurs figures</a></p>
<p>Aujourd&rsquo;hui je vais vous présenter une astuce pour accélérer le rafraichissement de vos graphiques.</p>
<p>J&rsquo;ai trouvé un super lien dans la doc MATLAB à ce sujet: <a href="http://www.mathworks.fr/help/techdoc/creating_plots/f7-60415.html">Optimizing Graphics Performance</a></p>
<p>A un moment donné un des conseils donné est &laquo;&nbsp;<strong>Setting All Modes to Manual</strong>&laquo;&nbsp;. Et un tableau plus bas donne en effet toutes les propriétés de l&rsquo;axe à modifier.<br />
Et là je me suis dit &laquo;&nbsp;c&rsquo;est con qu&rsquo;il n&rsquo;y ait pas un code tout fait pour le faire!&nbsp;&raquo;</p>
<p>Et beh en fait si!<br />
Il suffit de lire la section plus bas : &laquo;&nbsp;Update the Object&rsquo;s Data&nbsp;&raquo; qui fournit un exemple et un lien pour l&rsquo;éditer.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">edit ([docroot '/techdoc/creating_plots/examples/doc_perfex']);</div></div>
<p>voir la sous function <strong>ManAxMode</strong></p>
<p>Donc comme conseillé dans la page on fait d’avoir:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">figure('Renderer','painters')</div></div>
<p>puis on utilise cette fonction :</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; % This function sets most axes mode properties to manual<br />
&nbsp; &nbsp; function ManAxMode(h)<br />
&nbsp; &nbsp; % Do not set CameraViewAngleMode, DataAspectRatioMode,<br />
&nbsp; &nbsp; % and PlotBoxAspectRatioMode to aviod exposing a bug<br />
&nbsp; &nbsp; pn = {'ALimMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'CameraPositionMode','CameraTargetMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'CameraUpVectorMode','CLimMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'TickDirMode','XLimMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'YLimMode','ZLimMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'XTickMode','YTickMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'ZTickMode','XTickLabelMode',...<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'YTickLabelMode','ZTickLabelMode'};<br />
&nbsp; &nbsp; for k = 1:15<br />
&nbsp; &nbsp; &nbsp; &nbsp; pv(k) = {'manual'};<br />
&nbsp; &nbsp; end<br />
&nbsp; &nbsp; set(h,pn,pv)<br />
&nbsp; &nbsp; end</div></div>
<p>Et je confirme ça accélère grave !!</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
