<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, 'accessing data' of 3D plot ?</title>
    <link>http://www.mapleprimes.com/questions/80842-accessing-Data-Of-3D-Plot-</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 01:35:37 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 01:35:37 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, 'accessing data' of 3D plot ?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, 'accessing data' of 3D plot ?</title>
      <link>http://www.mapleprimes.com/questions/80842-accessing-Data-Of-3D-Plot-</link>
    </image>
    <item>
      <title>plot3d data</title>
      <link>http://www.mapleprimes.com/questions/80842-accessing-Data-Of-3D-Plot-?ref=Feed:MaplePrimes:'accessing data' of 3D plot ?:Comments#answer81094</link>
      <itunes:summary>&lt;p&gt;Yes, the Array arr only contains the z values.&amp;nbsp; the GRID structure containing that Array has its first and second operands&lt;br /&gt;
a..b, c..d, corresponding to the intervals for the x and y variables.&amp;nbsp; The grid points are equidistant, so if arr is 1..m by &lt;br /&gt;
1..n, the data points are [a + (i-1)*(b-a)/(m-1), c + (j-1)*(d-c)/(n-1), arr[i,j]] for i from 1 to m and j from 1 to n.&lt;br /&gt;
&lt;br /&gt;
If you make your plot3d parametric, e.g.&lt;/p&gt;
&lt;pre&gt;
plot3d([x, y, f(x,y)], x = a .. b, y = c .. d)
&lt;/pre&gt;
&lt;p&gt;instead of a GRID structure you will get a MESH containing an Array(1..m, 1..n, 1..3) where the [i,j,1..3] entries are the x,y and z&lt;br /&gt;
values for the data points.&amp;nbsp; You may find this more convenient to work with.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Yes, the Array arr only contains the z values.&amp;nbsp; the GRID structure containing that Array has its first and second operands&lt;br /&gt;
a..b, c..d, corresponding to the intervals for the x and y variables.&amp;nbsp; The grid points are equidistant, so if arr is 1..m by &lt;br /&gt;
1..n, the data points are [a + (i-1)*(b-a)/(m-1), c + (j-1)*(d-c)/(n-1), arr[i,j]] for i from 1 to m and j from 1 to n.&lt;br /&gt;
&lt;br /&gt;
If you make your plot3d parametric, e.g.&lt;/p&gt;
&lt;pre&gt;
plot3d([x, y, f(x,y)], x = a .. b, y = c .. d)
&lt;/pre&gt;
&lt;p&gt;instead of a GRID structure you will get a MESH containing an Array(1..m, 1..n, 1..3) where the [i,j,1..3] entries are the x,y and z&lt;br /&gt;
values for the data points.&amp;nbsp; You may find this more convenient to work with.&lt;/p&gt;</description>
      <guid>81094</guid>
      <pubDate>Tue, 04 May 2010 02:09:59 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
  </channel>
</rss>