title: Can anyone recognize what kind of 3D plotting function does this? (MATLAB)
body: <p>I have written a code for SAFT (Synthetic Aperture Focusing Technique) and successfully plotted 2D images. Now, I have a problem in plotting it in 3D because I have no idea what kind of function should I use. I want to create the 3D image as shown in the image link below (the right one with solid volume) but i have no idea about the function they have used. All I know is that the left image was made by splice.</p>
  
  <p>I would really appreciate if anyone can help me about this problem. Thank you in advance!</p>
  
  <p><img src="https://i.stack.imgur.com/Fyn86.jpg" alt="3D plots"></p>
  
  <p>Here's a sample code I've been using for the 3D array. Note that I just used random values for the intensity, V here since the real values are stored in excel files. I'm getting an error when using isosurface since my arrays are not created using meshgrid.</p>
  
  <pre><code>r=linspace(50,500,101)';
  o=zeros(101,1);
  X=zeros(51,101,13);
  Y=zeros(51,101,13);
  Z=zeros(51,101,13);
  V=rand(size(X));
  
  slice=1;
  for angle=0:15:180
      for elev=1:1:51
      %Setup X,Y,Z Coordinates
          X(elev,:,slice)=(r*cos(angle*3.141593/180))';
          Y(elev,:,slice)=(r*sin(angle*3.141593/180))';
          Z(elev,:,slice)=(o+((elev-1)*0.01))';
      end 
  if slice &lt; 13
      slice=slice+1;
  else
  end
  end
  </code></pre>