ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Graphing of array in 3d.


From: ernie_pasveer
Subject: Graphing of array in 3d.
Date: Tue, 13 Sep 2005 13:27:55 -0500

Hi All,

Is it possible to do a 3D graph plot of an array if I pass the "graph
display" command the X and Y dimensions of my array.

         int main () {

             float* array;
             array = new float[400];

             int x=0;
             for (int i=0; i<20; i++) {
                 for (int j=0; j<20; j++) {
                     array[x]    = i + j;
                 }
             }
         }

Thanks,

--ernie







reply via email to

[Prev in Thread] Current Thread [Next in Thread]