From: ShotSimon on 10 Jul 2008 16:10 I've been on the forum looking for a good 3D graph example and found several, mostly CWGrah3D. But no matter how I try to wire my arrays into the graph I can't get my data to look as expected. I decided to make a drawing and hopefully someone could help out. I don't need to display arrows (there are there to make the drawing more understandable...I hope) but a 2D curve or surface plot would be helpful to visualize areas that have low throughput, possibly using the color intensity examples I've seen. <img src="http://forums.ni.com/attachments/ni/170/339804/1/Desired%203D%20Graph.PNG"> Example Data: DC Range Thoughput 10 1 15 20 1 20 30 1 25 40 1 26 50 1 27 60 1 28 DC Range Thoughput 10 2 15 20 2 21 30 2 24 40 2 26 50 2 27 60 2 29 DC Range Thoughput 10 3 12 20 3 20 30 3 21 40 3 25 50 3 24 60 3 27<a href="http://forums.ni.com/attachments/ni/170/339804/1/Desired%203D%20Graph.PNG" target="_blank"></a> Regards, -SSMessage Edited by ShotSimon on 07-10-2008 02:43 PM Desired 3D Graph.PNG: http://forums.ni.com/attachments/ni/170/339804/1/Desired 3D Graph.PNG
From: Ben on 10 Jul 2008 16:10 I'd us a parametric plot if you want a surface. When working with paramteric plots you specify a set of points that are described by a triplet of X,Y,Z. There is seperate array for the X values Y values and Z. It wants a 2-d array so it knows which points to connect. Adjacent point will be connected. If you just want three line, then use a unique plot number for each trace. Ben
From: Ben on 10 Jul 2008 16:10 I put this <a href="http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=144155#M144155" target="_blank">worse case 3d plot example </a>together in the hopes someone would learn from it some day (starts at reply #7). I am holding my breath that you may just be the one. Have fun and please post some cool pictures. Ben
From: ShotSimon on 10 Jul 2008 16:40 Ben, I saw this post already very cool. I just got hung up on cartesian vs polar graphing, and what format the CWPlot3D should be in. I already learned that I have alot to learn;) -SS
From: ShotSimon on 10 Jul 2008 16:40 Ben, OK I never knew about the error stacker...Does that count? -SS
|
Next
|
Last
Pages: 1 2 3 Prev: not getting event for Indicator Next: meauring the period of a differential TTL signal |