LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

txt 3d plot

Hi,
 
I am trying to plot a txt file (contaning x, y and z coordinate values in 3 columns).
 
I want to plot this txt in 3D.
 
To explain my question better here is an example.
 
Let's say I have
 
0   0   0
1   0   0
0   1   0
1   1   0
...... etc
This is a simple example, but I usually have thousands of lines which defines a 3D shape.
And I want to draw lines from start to finish on 3D graph. I am doing with points but the thing is they appear and then disappear,
I want them to remain on the graph so that at the end I can see all the points from the txt on the graph.
 
I hope I explained my problem clearly.
 
Can you help me?
 
0 Kudos
Message 1 of 2
(2,411 Views)
Your problem is probably to create 3 vectors X, Y and Z from your file. Once you have the vectors, wiring to the 3D display function should be straightforward.

Read your file using the Read from Spreadsheet File function (in the file sub-palette), then slice the 2D array using the Index array function, as shown in the picture below.


Message Edité par chilly charly le 11-02-2005 11:17 AM

Chilly Charly    (aka CC)
Download All
0 Kudos
Message 2 of 2
(2,396 Views)