Controlling angle and zoom in surface plot

After creating a surface plot using plotSurface, there are options next to the plot to change the angle and the zoom etc manually. How can I control angle and zoom in the underlying gauss program? I have searched in the plotSet* functions, but so far no luck.

1 Answer


You can modify the members of the plotControl struct directly to control this behavior from GAUSS code:

struct plotControl myPlot;

// Corresponds to 0-based index of dropdown items
// in the plot options. In this case, 
// 12 would be "Isometric Left", 
// 0 would be "Front Low", 
// 1 would be "Front", etc.
myPlot.surface.cameraAngle = 12;

// Percentage, range 0-100.
myPlot.surface.zoomLevel = 75;

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy