manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.1.5 Zooming (MGL)

These commands control the overall zooming of the picture or the sub-picture. Normally you can use these variables and commands for removing “white” spaces around a plot.

MGL command: plotfactor val

The factor of plot size. It is not recommended to set it lower then 1.6. This is some analogue of command zoom but applied not to overall image but for each inplot. Use negative value to enable automatic plotfactor selection.

MGL command: zoom x1 y1 x2 y2

The command changes the scale of graphics that correspond to zoom in/out of the picture. After command call the current plot will be cleared and further the picture will contain plotting from its part [x1,x2]*[y1,y2]. Here picture coordinates x1, x2, y1, y2 changes from 0 to 1. Use zoom 0 0 1 1 to return default view.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.