ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
09-20-2007 01:23 PM
09-20-2007 02:42 PM
IN reply #7 of this thread I started a series of posts that are intended to demo most of the 3d-graph stuff.
In post #10 of that same thread I mention the VI ilustrated below.
I hope that helps,
Ben
09-20-2007 08:39 PM
Hi Ben,
It helps me change the range of the axes on the 3D surface graph, but it doesn't help me change the indicated scale with respect to the data. I need the x and y axes to indicate something other than the dimensions of the z-array. Is this possible for the surface graph? However, I note with interest that your example uses a parametric surface plot. Would this be the only way I'll be able to configure the x and y scales?
Thanks,
Slowpoke
09-21-2007 07:48 AM
Hi Slowpoke,
I have been answering 3d- graph Q's for years and I have found that these are best answered if the questioner posts an example with some interesting data. This prevents us from having to guess at what you want or having to generate our own data.
So....
Please post an example that includes some representative data and you attempts at plotting same.
Also let us know what the data represents (thise will get the scientists amoung us curious).
And if neccessary an image of what you are after.
Once you post that, someone should be able to give you the psuh you need.
Ben
09-21-2007 10:25 AM
09-24-2007 07:39 AM
Hi slowpoke,
Posting the coe will let us "poke" at it without having to re-build ti from scratch.


So based on the images alone.
I'd first suggets you squence the scale property such that it happens before the loop starts.
I'd also go with a parameteric plto since this let explicitly efine all of your point.
Trying to help,
Ben
09-24-2007 08:03 AM
Hi Ben,
*Sheepish grin* Sorry about that. At any rate, I figured it out. I needed to scale the graph using the x and y vectors, but I was thrown off a bit by the fact that they are optional inputs, forgetting that they have default values based on the size of the z-matrix. All I needed to do was apply the appropriate scaling factor to each member of the x and y vector arrays, and voila.
Thank you very much for your help! This n00bian moment brought to you by...
Slowpoke