<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165375</link>
    <title>MATLAB Central Newsreader - how to plot functions of this type?</title>
    <description>Feed for thread: how to plot functions of this type?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 10 Mar 2008 12:41:13 -0400</pubDate>
      <title>how to plot functions of this type?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165375#419987</link>
      <author>Mohammad Monfared</author>
      <description>How to plot the functions of the type f(x,y,z)=c , in &lt;br&gt;
matlab? which functions should be used?&lt;br&gt;
&lt;br&gt;
thanks!&lt;br&gt;
Reza M.</description>
    </item>
    <item>
      <pubDate>Mon, 10 Mar 2008 15:26:30 -0400</pubDate>
      <title>Re: how to plot functions of this type?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165375#420013</link>
      <author>Adam Chapman</author>
      <description>On Mar 10, 12:41=A0pm, &quot;Mohammad Monfared&quot; &amp;lt;gohardo...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; How to plot the functions of the type f(x,y,z)=3Dc , in&lt;br&gt;
&amp;gt; matlab? which functions should be used?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; thanks!&lt;br&gt;
&amp;gt; Reza M.&lt;br&gt;
&lt;br&gt;
meshc os surf will work x,y and z will be 3d coordibates in your&lt;br&gt;
figure and colour will depict c.&lt;br&gt;
&lt;br&gt;
try mesh(x,y,z,c)&lt;br&gt;
or surf(x,y,z,c)</description>
    </item>
    <item>
      <pubDate>Mon, 10 Mar 2008 19:05:21 -0400</pubDate>
      <title>Re: how to plot functions of this type?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/165375#420065</link>
      <author>Michael Garrity</author>
      <description>&lt;br&gt;
&quot;Mohammad Monfared&quot; &amp;lt;gohardoust@gmail.com&amp;gt; wrote in message news:fr3a99$kue$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; How to plot the functions of the type f(x,y,z)=c , in&lt;br&gt;
&amp;gt; matlab? which functions should be used?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; thanks!&lt;br&gt;
&amp;gt; Reza M.&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
One easy way is isosurface. Consider this example:&lt;br&gt;
&lt;br&gt;
nx=12&lt;br&gt;
ny=12&lt;br&gt;
nz=12&lt;br&gt;
[x y z]=meshgrid(linspace(-1,1,nx),linspace(-1,1,ny),linspace(-1,1,nz))&lt;br&gt;
v=2*x.^2 - 3*y.^3 + 4*z.^4&lt;br&gt;
c=1&lt;br&gt;
isosurface(v,c)&lt;br&gt;
&lt;br&gt;
Reformulating as an implicit equation can save a&lt;br&gt;
lot of memory at high resolution though.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-MPG-</description>
    </item>
  </channel>
</rss>

