Plot 4D data

David Bateman adb014 at gmail.com
Thu May 29 11:16:07 CDT 2008


José Luis García Pallero wrote:
> Hi,
> Anybody knows how can I plot 4D data in GNU Octave? I have a 4 columns
> matrix whose components are [Xcoordinate Ycoordinate Zcoordinate
> Density] and I would like to plot it in a 3D space for XYZ coordinates
> and a color attribute for densities on each XYZ point.
> Thanks.
> 

Does

scatter3 (X(1,:), X(2,:), X(3,:), [], X(4,:))

give something like what you want?

D.


More information about the Help-octave mailing list