取消
显示结果 
搜索替代 
您的意思是: 

Is it possible to plot a 4D graph in Labview with cuts?

Hello,

I have a list of points with (x,y,z) and T. I would like to plot these points in a 3D graph but also to give a colour to this points according to the value of the value of T. I would like to fill the space between this points with acolours gradient (I mean between two points with low and high value of T, it will be a gradient between red and blue for instance).

I am planning to run this plot in a loop, so I can see the change of the temperature inside a volume of cube following a grid of points if I make vertical or horizontal cut in the middle of cube).

This is very similar to follow the change of the temperature inside the sun for example.

Cheers,

Zied

0 项奖励
1 条消息(共 13 条)
5,495 次查看

Hi,

 

I hope this will answer your question.

 

You can add the 3D Surface Plot, go to the Properties and select Interpolated Shading Color Mode in Properties:

2016-10-11 12_02_04-3D example.vi Front Panel _.png

 

2016-10-11 12_00_05-3D Plot Properties_ 3D Surface Plot.png

 

I've attached also a simple example. The surface looks terrible because the data is randomly chosen, but you can extract the general idea from it 🙂

 

Marcin

              

Think Dataflow - blog.mtapp.tech
2 条消息(共 13 条)
5,486 次查看

Thank you Mtwar. I will have a look at your VI after I update my Labview. Ihaveverrsion 2015 and I think you are already in labview2016. 

I am still wondering whether it is possible to make cuts to  the graph to see what it is inside. I will try to do just until have the point for the different directions to see if I can see something inside.

Thank you again.

Zied

0 项奖励
3 条消息(共 13 条)
5,482 次查看

Hello, I tested the previous Vi but it asks only for the (x,y,z). I have already a list of these positions but I would like to attribute a colour for each point and then fill the space between the point. I put the previous vi with my actual data. Do you know how to specify the colour for each point according to  a list of scores( I have 1 D array that corresponds to the number of points to be drawn).

 

0 项奖励
4 条消息(共 13 条)
5,419 次查看

I've tried to do what you need, but I don't have any idea how to accomplish it 沮丧表情

 

I will try to find something useful this weekend, when I'll have some more time. If you will do it earlier, let me know, I'm really curious about the answer.

              

Think Dataflow - blog.mtapp.tech
5 条消息(共 13 条)
5,401 次查看

Hello,

I will wait for your attempt.

I found a graph that is similar to what we are trying to do.

http://www.graphnow.com/Image/4d_slice5-large.jpg

Cheers,

Zied

0 项奖励
6 条消息(共 13 条)
5,380 次查看

Hello,

 

unfortunately I was unable to find a solution 😕 I'm sure it is possible but currently I'm extremely busy and I think the solution is not so simple and demands a lot of work.

 

I hope you will be able to find an answer.

 

What I can recommend you is a post here:

http://forums.ni.com/t5/LabVIEW/3D-graph-to-plot-surface-data/m-p/880161#M398111

Another member of the Forum (Ben) has sent it to me. Maybe there you can find an answer for your question? Analyze the example which is attached to that post.

 

Marcin

              

Think Dataflow - blog.mtapp.tech
7 条消息(共 13 条)
5,356 次查看

Thank Mtwar for the link. I will keep trying to find a solution and hopefully someone in the forum will come up with a nice idea to help me to plot this kind of graph

0 项奖励
8 条消息(共 13 条)
5,344 次查看

Hi,

 

See the attached file, I think this is the basic idea of what you need - probably you will need to adjust it to your need but hopefully it will help you to take the right direction 🙂 

 

2016-10-19 16_24_03-3D Graph.vi Front Panel.png

 

Marcin

              

Think Dataflow - blog.mtapp.tech
0 项奖励
9 条消息(共 13 条)
5,294 次查看

Thank you Marcin.

I tried your VI and I found that the colours can be entered through a matrix which is great.

Here is my VI. I think I cannot plot it because of a problem in the matrices that I could understand.

Cheers,

Zied

0 项奖励
10 条消息(共 13 条)
5,277 次查看