03-24-2010 10:40 AM
Hello,
I am trying to plot a graph that will display the x, y, and z coordinates while also showing how that relates to an output. So essentially it will be a 3D graph that maps the surface of a device and shows the output. I have thought about doing plots of x, y, and the output while having different plots on the graph for each time the z data changes. Does anyone have any suggestions?
Thanks,
Tony
Solved! Go to Solution.
03-24-2010 01:02 PM
Check out the CVI Help on OpenGL. There are some powerful 3D possibilities there. Strangely the 9.0.1 Example Finder did not find any examples for it.
There are also a number of 3DGraph examples which use 3DGraphCtrl.fp.
I'm not sure I follow exactly what you want your graph to look like. Is it a set of points that are located by (x,y,z) - or are you trying to plot a continous field of values that changes with x,y and z?
--Ian
03-24-2010 05:31 PM
03-25-2010 01:55 AM
If I understand you correctly, this is a four-dimensional data set, which is not easy to graph in a three-dimensional world 🙂
In such cases, you might want to consider using a regular xy graph, showing power as a function of one coordinate (you might want to use a ring to choose between x, y, and z). Then one would consider adding two numeric controls to modify the other two coordinates; hence you would get a cut view out of your complete data set, say P(x,y=const, z=const), and with these three controls you can choose some possible planes (of course, you could add angles, too).
Another possibility could be to use a dedicated software, suitable for multidimensional data, e.g.. VisIt (https://wci.llnl.gov/codes/visit/home.html) that might even provide some programmer's interface.
The third possibility could be to use a 3D control, and change the color of individual data points according to your power value. Although this is 4-dimensional, it is not very accurate in the forth dimension (few colors only that can be safely distinguished). Moreover, for every single data point you will need a new plot because you can not set color for individual points (to my knowledge: could be a product suggestion for NI...)
Thus, first of all, you will need to decide what the most typical / relevant plot would be
03-25-2010 10:26 AM