LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

4D representation or how to set size and color for every point of 3D plot?

Hello,

My problem is…

I need to plot about 128 points in space (3D plot) and have a possibility to change the size and/or color of the each point according the number (value) that I have as a 4th  parameter of the point. It’s like I have x,y,z and addition parameter as a number. The next step that I will need is to represent the data in time so the position of the each point (x,y,z) will be constant  but number for each point will change in time…

Please give me a clue if you think it could be done by LabVIEW.

vadym

 

PS And I need to represent the dots (filled circle) only... no lines, no surface but the dots.

Message Edited by vadym on 10-25-2006 05:13 AM

Message Edited by vadym on 10-25-2006 05:14 AM

0 Kudos
Message 1 of 14
(4,180 Views)

Hi Vadym,

Look at these two threads for some hints.

http://forums.ni.com/ni/board/message?board.id=170&message.id=143663&jump=true

http://forums.ni.com/ni/board/message?board.id=170&message.id=211436#M211436

Neither of those example will do what you have asked because the point size can only be one size for a plot.

THat means for your case you will need a unique plot for every point. 128 plots should not be a problem but updating live will be a challenge.

Try to use those threads I posted to code up what you need and post back (with examples that include some data) if you have trouble.

Trying to help,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 14
(4,155 Views)
I was working on this and its along the same lines of what Ben had suggested.
 
 
David

Message Edited by David Crawford on 10-25-2006 02:11 PM

Message 3 of 14
(4,153 Views)
Tank you very much!
Let me try out this and I will back with some code to discuss...
Vadym
0 Kudos
Message 4 of 14
(4,145 Views)

I think I ran inot trouble at either 16,000 or 32,000 plots. Smiley Mad

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 14
(4,142 Views)
Plots.Count is an I16 so I would guess that was the end-stop.
Message 6 of 14
(4,139 Views)
David wrote:
 
"
Plots.Count is an I16 so I would guess that was the end-stop.
"
 
Well that warrents a big DUH for me Smiley Sad  (and support) and many thanks to you David! Smiley Happy
 
That clears up a multi-year mystery. 
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 14
(4,134 Views)
Could you please poste a code that you are palyng with...
and the colour actually i need to change it in gradual way, like zerro is white and more positive number is more blue the dot, more negative more red.
Something like that...
anyway thank you a lot. At least i know that LV can handle it Smiley Happy
 
PS my platform is LV 8

Message Edited by vadym on 10-25-2006 08:43 AM

Message Edited by vadym on 10-25-2006 08:43 AM

0 Kudos
Message 8 of 14
(4,134 Views)

Vadym

Whats your labview version and I will post the code in my earlier post.

Off the top of my head I don't know how to do the colour ramp thing. I would need to research it so I will leave that to you for the moment. Just search the forum, NI website and the NI Example Finder. I would be very surprised if somebody else hasn't done this sort of thing already. Have a go and writing some code and if you run into problems then please post back.

David

Edit: I see you are using LV8

Message Edited by David Crawford on 10-25-2006 02:56 PM

0 Kudos
Message 9 of 14
(4,122 Views)
I have LabVIEW 8
Thank you...
0 Kudos
Message 10 of 14
(4,108 Views)