05-25-2008 10:50 PM
05-26-2008 10:01 PM
hi guys,
i have a 3 dimensional array. basically, they r in x, y and z array in order. previously, i have used to plot y and z array in an intensity graph. however now, i need x and z array to plot an intensity graph with z being control.
x=64 size
y=256 size
z=255 size
the output is 64 vs 255 graph
please help.
05-26-2008 11:20 PM
05-27-2008 12:55 AM
05-27-2008 10:19 AM
05-27-2008 10:32 AM
It would help to have some example of your data.
I think you are trying to plot on an intensity graph, these x, y, and z values, but the x and y values are the coordinates for the z value.
Am I close?
05-27-2008 02:42 PM
Hi Sean1985,
After looking though the example you provided as well as the forum posts, I was able to create a possible solution for your application (see attached VI). Just to clarify your issue, to make sure I have the right mindset, you have a 3D array and you want to access the X-Z values (while holding Y constant) to create an intensity graph from. If this is the case, the attached VI creates a subset of the 3D array by holding the Y value constant and then auto-indexing the array into a 1-D array and then back out to a 2-D array skipping the addition of the Y components. It is definitely hard to conceptualize, so free feel to play with the attached file and let me know if you have any questions.
Thanks!
Cheers,
Jonah
Applications Engineer
National Instruments
05-27-2008 08:44 PM
Jonah
Applications Engineer
National Instruments
I have some enquiry regarding your array subset. by setting y length as 1. How could u fix it as constant? I dun really get it after
reading thru context help and playing with the vi
Moreover, previously i hoped that i could have some control over the constant. However, i set some other values but it apppeared that output array has no changes.
I hope i could get a 2D graph(X vs Z) at an adjustable constant(y).
thanks
05-28-2008 03:40 AM
furthermore,
i would like to plot another graph with x vs y axis? how shall this be done?
please reply..
05-28-2008 08:55 AM