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
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:
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
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
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).
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.
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
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
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
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 🙂
Marcin
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