Hello,

I am a little confused regarding the OpenDX data model, and would like to solicit input from those who understand it better than I.

My project is fairly simple: I am writing a C program to capture data as time progresses, and plot it in DX. There are one or more axes (sources of data values), and obviously the time-axis is another source of data (there can actually be multiple discrete time axes, but I'll keep it simple for now). Note that time does not progress at a constant rate.

The goal is to be able to plot any axis vs. a time axis. However, more generally, I'd like to be able to plot any axis vs. any other axis....which is really a scatter plot. The points on the scatter plot are correlated (linked) by the discrete time which they were captured in the simulation.

I'd like to understand how to best assemble this into the DX data model. My attempt is to group all the axes under a DX Field. Each axis is essentially a DX Array of data, which is a component of the Field. However, does this allow me to formulate the time-based plots or scatter plots I am looking for? The Arrays I was building are scalar (rank 0) - just raw values (doubles) obtained over time...one for each axis. I am also confused as to the "rank" and "shape" parameters, and how they affect organization of the data in the Array....so perhaps this is part of my problem.

So for example, my thinking is that if I had 3 data sources, and they're sampled over time, I have: 4 "axes" - 4 DX Arrays as components under 1 DX Field object. Three of the arrays are one-dimensional and contain the data values, and the fouth array is one-dimensional and contains the capture times for all points. Then the three data arrays are somehow linked to the fourth array to correlate the data value with time-of-capture. Again, I'm worried I am going about this all-wrong.

I hope this is not too vague. Thanks in advance for any guidance you can provide.
Best Regards,

Matt Genovese
University of Texas at Austin
--

Reply via email to