LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the dimensions of a 3D surface plot


@moi maker wrote:

I'm having the same problem. (Or what I think is the same problem...)

I want the x and y axes on a 3D graph to have the same scale, but I can't just have a fixed scale, I want it to vary with the size of the data.

There is a control for whether to autoscale the axes, but I would like a control which sets the scale of an axis to a particlular value depending on some input data.

 

Not sure if it's possible...


 

 

Did you try it?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 13
(552 Views)

Thanks Ben, I downloaded your package, but I can't get it working.

 

I only need the "Set Axis Range.VI", but I'm not sure what to wire to the x, y and z inputs. It wants a 2D array for each....

I am making a 3D plot from z data only, and want the x and y axes to grow or shrink in length to fit the size of this data. Basically, I'm plotting greysacale values from an image as a 3D surface, and I want to maintain the aspect ratio of the image.

0 Kudos
Message 12 of 13
(542 Views)

For others trying to plot a 2D contour from z data with the x and y axes corresponding to real space:

I can't remember if I made or downloaded this VI.... but it works! 😛

Just wire the z data to the regular 3D surface VI, then the same data to this VI along with the 3D graph reference.

0 Kudos
Message 13 of 13
(480 Views)