07-20-2013 12:25 PM - edited 07-20-2013 12:27 PM
Hi,
I am trying to put 4D-data on a 3D-graph, and I am using a similar approach as his thread: http://forums.ni.com/t5/LabVIEW/How-to-display-4d-data-within-a-3d-scatter-plot/m-p/1402738. The manner described is to bin all the XYZ-data according to the W-values. For instance you use 128 bins to group the XYZ-data based on their W-values. Then you plot 128 3D-graphs on the same plot and assign a color to each bin, in this way the W-value is represented by the changing color. My problem is, some bins contain one datapoint, so you plot a 3D-graph with only one point. This point is not visible, unless you are rotating the graph, so you see more points on the graph when you rotate it. Is there a solution to this problem? I can't change the number of bins, so that's not a solution I like to see
regards
KF
07-20-2013 01:21 PM - edited 08-07-2013 06:51 AM
@KF2 wrote:
This point is not visible, unless you are rotating the graph, so you see more points on the graph when you rotate it. Is there a solution to this problem? I can't change the number of bins, so that's not a solution I like to see
Can you explain why you see it when you move the graph but don't if you don't? The only difference wieh moving is that it uses "fast draw" (unless otherwise configured), so the axes are and points simplified.
On a side point, you could dramatically simplify the code if you use none instead of custom color ramp. None uses only a single color element in the array. I also don't see the need for a sequence structure because dataflow already determines the correct execution order if you would wire the error cluster. Also you only need to touch the cluster elements that change. Here's a quick redo of the FOR loop that changes the colors.
07-20-2013 02:02 PM
Hi altenbach,
thanks for the improvement, I added my VI again, you see a 3dgraph constructed with one point. If I look at the graph without moving it, I don't see the point, if I move I can see it, apparently this is quick draw. If I add another different point, I can see both when I am not moving. So my question actally was, why can I only see it on quick draw?
If I don't check fast draw option, I don't see when I look at it and when I move it. I would like to see it without having to use rotate/fast draw, so I can also use bins with one data point
best regards
KF
07-22-2013 01:19 PM
Altenbach,
If you know the answer don't keep me in suspense please!
07-22-2013 02:54 PM
Sorry, I don't know the answer to the first question.
08-01-2013 09:41 AM
Hello KF2,
I have just tried the example and I did see the individual point.
There was however one thing "special" I noticed at my side with the last VI:
- When I rotate the right 3D Scatter Plot I do see the rectangular frame around it.
- If I rotate it, then I do see the point appearing instead of the rectangle around the point.
To change that representation, you can:
- right-click on the scatter plot
- Select 3D Plot Properties
- Go to Scatter and change the Point Style and Point Size in the Scatter section.
If I have misunderstood you, then please let me know.
08-02-2013 10:49 AM
Hi ThiCop,
Yes everyone seems to have no problem generating the point on the display, but I can't get it on the screen somehow, only if I rotate. I have no clue how this is possible as does anyone else
Best regards
KF
08-04-2013 03:41 PM
Hello KF2,
I'm going to look into this when I'm back at the office tomorrow.
I'll keep you updated.
08-05-2013 01:41 PM
Hello KF2,
Can you provide me with some more information about the OS and NI software versions you're using?
You can easily document this through a MAX Report:
http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4?OpenDocument
Seeing that most people cannot produce it, I would like to see if I can reproduce it with exactly your NI software set-up.
08-06-2013 02:29 PM - edited 08-06-2013 02:31 PM
Hi Thicop,
This is what I have
NI LabVIEW 2009 Full Version
NI LabVIEW 2009 System Identification Toolkit
NI Measurement & Automation Explorer 4.6.0
NI System API Windows 32-bit
NI LabVIEW 2009 Control Design and Simulation Module
NI LabWindows/CVI 9.0 Run-Time Engine
NI System API RT
NI TDM Excel Add-In 2.1
Windows 7 Professional
SP1
Best regards
KF