# How can I fix the length of z-axis in 3D graph?

0

Hi everyone~ I'm trying to overlap two 3D graphs with two "window" command. But as the data varies, the graphs deform sometimes. I've tried to fix the z-axis by fixing ztics, but it didn't works. "_plotsiz" is designed for 2D graph, so it didn't help either.

Here is the link to the graph:

https://skydrive.live.com/#cid=B5DC697972392640&id=B5DC697972392640%21181

Is there actually a way to fix the length of z-axis in 3D graph? ?

0
accepted

The axmargin function can give you some control. It will allow you to narrow the x and y axes pretty easily. You can then turn off the second frame box and set of axes with _pframe and _paxes.

However, I think it will be much simpler and more straightforward to scale your final set of z data than it will be to fiddle with the axes.

0

Unless I am misunderstanding something, I think it would be much easier to add the new data for your 4th plot as an extra column and just draw one graph. Is there a reason that would not work?

0

Well. Because the data values of the deformed graph, which is called "N", is much smaller than the data of the other graph. If I put them on the same graph, the N data points will be all on the floor, and I wouldn't be able tell the difference among them.

In this simulation, the purpose is to see the distribution of "N"(green dots), and see if the green dots chase  those blue & red  dots. The relative value of green to blue dots is not relevant.

0

Did you mean multiplying "N" with a scaler? You'er absolutely right!! I didn't think of that because I was trying to plot "N" with "xyz", and blue & red data with "surface" before.

Thanks a lot!! ^^

I still need to control the length of z-axis, though. They got deformed from time to time even when there is only one layer of graph. Narrowing down the margin doesn't guarantee to give the right height of Z axis.

GAUSS staff should give user real control over the length of axes of 3D graph, instead of letting us struggle with it. That should have been a basic function!!!!

Looks like I need to write to them.

• ### Aptech Systems, Inc. Worldwide Headquarters

Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286

Phone: 360.886.7100
FAX: 360.886.8922

• ### Training & Events

Want more guidance while learning about the full functionality of GAUSS and its capabilities? Get in touch for in-person training or browse additional references below.

• ### Tutorials

Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.

• ### Have a Specific Question?

Get a real answer from a real person

• Need Support?
• ### Support Plans

Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.

• ### User Forums

Join our community to see why our users are considered some of the most active and helpful in the industry!