Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

IntensityGraph with 2D array of Point3D

$
0
0

Hey there,

 

I am trying to implement an Intensity graph which has a 2D-Array of Point3D as DataSource (as mentioned for example here). It works to set the DataSource, but it seems that my X-values are not used.

My Array is initialized like this:

Point3D[,] pdData = new Point3D[resolutionX,resolutionY];

I then iterate through the whole array multiple times and increment the Z-value depending on my input data. Debugging lets me see that the 3D-points have the values as I want them (this has been reduced to 4x4, later this would be much bigger, but shows the same behaviour):

pdData.PNG

My intensity graph then looks like this:

IntensityGraph.PNG

From the Scale I can see that only the values from the first row are plotted (pdData[0,:]). What am I missing here?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 1999

Trending Articles