<?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: Shading plots for emphasis</title>
	<atom:link href="http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: zapissa</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13940</link>
		<dc:creator>zapissa</dc:creator>
		<pubDate>Thu, 25 Nov 2010 11:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13940</guid>
		<description>concerning the transparency with logarithmic plots issue (see comment on opengl renderer above): I wanted to shade overlapping confidence intervals with transparency in a plot with logarithmic axes. one option to at least make it look like it was transparent is to find the intersection between the two patches with polybool and then color it with an intermediate color between the two patch colors..</description>
		<content:encoded><![CDATA[<p>concerning the transparency with logarithmic plots issue (see comment on opengl renderer above): I wanted to shade overlapping confidence intervals with transparency in a plot with logarithmic axes. one option to at least make it look like it was transparent is to find the intersection between the two patches with polybool and then color it with an intermediate color between the two patch colors..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13354</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 10 Dec 2009 14:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13354</guid>
		<description>@Patrick,

I am not sure I understand the question, but I think you might be interested in CONTOURF and AREA (see the final example in the doc specifically)

Thanks,
Doug</description>
		<content:encoded><![CDATA[<p>@Patrick,</p>
<p>I am not sure I understand the question, but I think you might be interested in CONTOURF and AREA (see the final example in the doc specifically)</p>
<p>Thanks,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13353</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 10 Dec 2009 13:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13353</guid>
		<description>On matlab 6.5.1 one could draw an area plot and set the FaceAlpha to give a transparency.  With this one could plot a filled contour graph and over-plot with an area graph which grey-ed out non-significant areas whilst leaving the significant areas un-touched.  The bright sparks have now taken away the FaceAlpha property of area plots (areaseries), presumably wanting us to go in with primitives (like patch) and render each polygon in the area under a complex curve to be transparent (what a great improvement!).  Any ideas how to do this with a minimum of fuss?</description>
		<content:encoded><![CDATA[<p>On matlab 6.5.1 one could draw an area plot and set the FaceAlpha to give a transparency.  With this one could plot a filled contour graph and over-plot with an area graph which grey-ed out non-significant areas whilst leaving the significant areas un-touched.  The bright sparks have now taken away the FaceAlpha property of area plots (areaseries), presumably wanting us to go in with primitives (like patch) and render each polygon in the area under a complex curve to be transparent (what a great improvement!).  Any ideas how to do this with a minimum of fuss?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ogi</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13349</link>
		<dc:creator>Ogi</dc:creator>
		<pubDate>Mon, 07 Dec 2009 14:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13349</guid>
		<description>If found the answer:

OpenGL does not support logarithmic-scale axes! :-(((((

What now?</description>
		<content:encoded><![CDATA[<p>If found the answer:</p>
<p>OpenGL does not support logarithmic-scale axes! :-(((((</p>
<p>What now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ogi</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13348</link>
		<dc:creator>Ogi</dc:creator>
		<pubDate>Mon, 07 Dec 2009 14:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-13348</guid>
		<description>Hi All, I have following problem:

For my 3D plot in Matlab I use 
set(gcf, &#039;Renderer&#039;, &#039;OpenGL&#039;) to maintain the transpparency of the surface independent of XScale type (see below):

************************************************
     figure;
     hold on;
     set(gcf, &#039;Renderer&#039;, &#039;OpenGL&#039;);
     set(gca, &#039;XScale&#039;, &#039;log&#039;);
     view(3);    
     surf(X1,Y1,Z1,&#039;FaceColor&#039;,&#039;red&#039;,&#039;EdgeColor&#039;,&#039;none&#039;,...
        &#039;FaceAlpha&#039;,0.4,&#039;FaceLighting&#039;,&#039;phong&#039;); 

% X1,Y1,Z1 data is positive

***********************************************************

The problem is that my XScale looks like &#039;log&#039; but the surface looks like the XScale where &#039;lin&#039;. In other words, if I change the XScale from &#039;log&#039; to &#039;lin&#039;, the surface does not change, it does not react to XScale. However, this is only valid for XScale. 

If I do not change Renderer to &#039;OpenGL&#039; than everything works fine but than the plot loses its transparency by changing any &#039;lin&#039; scale to &#039;log&#039;.</description>
		<content:encoded><![CDATA[<p>Hi All, I have following problem:</p>
<p>For my 3D plot in Matlab I use<br />
set(gcf, &#8216;Renderer&#8217;, &#8216;OpenGL&#8217;) to maintain the transpparency of the surface independent of XScale type (see below):</p>
<p>************************************************<br />
     figure;<br />
     hold on;<br />
     set(gcf, &#8216;Renderer&#8217;, &#8216;OpenGL&#8217;);<br />
     set(gca, &#8216;XScale&#8217;, &#8216;log&#8217;);<br />
     view(3);<br />
     surf(X1,Y1,Z1,&#8217;FaceColor&#8217;,'red&#8217;,'EdgeColor&#8217;,'none&#8217;,&#8230;<br />
        &#8216;FaceAlpha&#8217;,0.4,&#8217;FaceLighting&#8217;,'phong&#8217;); </p>
<p>% X1,Y1,Z1 data is positive</p>
<p>***********************************************************</p>
<p>The problem is that my XScale looks like &#8216;log&#8217; but the surface looks like the XScale where &#8216;lin&#8217;. In other words, if I change the XScale from &#8216;log&#8217; to &#8216;lin&#8217;, the surface does not change, it does not react to XScale. However, this is only valid for XScale. </p>
<p>If I do not change Renderer to &#8216;OpenGL&#8217; than everything works fine but than the plot loses its transparency by changing any &#8216;lin&#8217; scale to &#8216;log&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-9595</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 19 Feb 2008 20:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-9595</guid>
		<description>I have two question about this fucntion
1. my first question is the same as the eleventh reviewer&#039;s: how to get rid of the label, 10^5, on the lower right corner of the plot.
2. the second one is how to copy the plot into a word or ppt file with losing any resolution. The copied plot either has very bad resolution or lose the transparency of  pacthed area . I tried differrent ways, e.g. copy it directly from MATLAB, save or print it in eps, jgn,jpg,emf .... they  just did not work.</description>
		<content:encoded><![CDATA[<p>I have two question about this fucntion<br />
1. my first question is the same as the eleventh reviewer&#8217;s: how to get rid of the label, 10^5, on the lower right corner of the plot.<br />
2. the second one is how to copy the plot into a word or ppt file with losing any resolution. The copied plot either has very bad resolution or lose the transparency of  pacthed area . I tried differrent ways, e.g. copy it directly from MATLAB, save or print it in eps, jgn,jpg,emf &#8230;. they  just did not work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-8832</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 24 Jan 2008 19:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-8832</guid>
		<description>Ahmed,

Check the renderer
&gt;&gt;get(gcf,&#039;renderer&#039;)

Make sure it is openGL.  That is the only renderer in MATLAB that supports transparency.  I suspect it got changed and that is why you lost the effect.

Doug</description>
		<content:encoded><![CDATA[<p>Ahmed,</p>
<p>Check the renderer<br />
>>get(gcf,&#8217;renderer&#8217;)</p>
<p>Make sure it is openGL.  That is the only renderer in MATLAB that supports transparency.  I suspect it got changed and that is why you lost the effect.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-8831</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Thu, 24 Jan 2008 18:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-8831</guid>
		<description>I have a surf and fill3 done on linear scale; but when I change the scale to lagarithmic using plot window, the plot loses its transparency.  Is ther  a way to keep the tranparency even after changing the scale to logarithmic  from plot window.</description>
		<content:encoded><![CDATA[<p>I have a surf and fill3 done on linear scale; but when I change the scale to lagarithmic using plot window, the plot loses its transparency.  Is ther  a way to keep the tranparency even after changing the scale to logarithmic  from plot window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olena</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-7764</link>
		<dc:creator>Olena</dc:creator>
		<pubDate>Thu, 27 Dec 2007 15:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-7764</guid>
		<description>The bug and solutions are reported over here:
http://www.mathworks.com/support/bugreports/details.html?rp=327079

I found the last workaround to be the most useful one.</description>
		<content:encoded><![CDATA[<p>The bug and solutions are reported over here:<br />
<a href="http://www.mathworks.com/support/bugreports/details.html?rp=327079" rel="nofollow">http://www.mathworks.com/support/bugreports/details.html?rp=327079</a></p>
<p>I found the last workaround to be the most useful one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olena</title>
		<link>http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-7713</link>
		<dc:creator>Olena</dc:creator>
		<pubDate>Wed, 26 Dec 2007 21:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/#comment-7713</guid>
		<description>Hello,
How do you get rid of 10^5 in the lower right corner? Thank you,
Olena</description>
		<content:encoded><![CDATA[<p>Hello,<br />
How do you get rid of 10^5 in the lower right corner? Thank you,<br />
Olena</p>
]]></content:encoded>
	</item>
</channel>
</rss>

