Action:
|
Sets the grid display interval.
|
|
Filename:
|
gi/gi_scm/grid_scm.cxx
|
|
APIs:
|
api_gi_set_grid_display_intervals
|
|
Syntax:
|
(grid:set-display-interval nx=10 ny=10)
|
|
Arg Types:
|
nx
|
integer
|
|
ny
|
integer
|
|
Returns:
|
unspecified
|
|
Description:
|
nx specifies the
x-direction factor grid spacing and its default value is 10.
ny specifies the
y-direction factor grid spacing and is initialized at 10. If
nx or
ny is 1, every grid point displays. If
nx or
ny is 2, every other or every second grid point displays. The system automatically blanks the grid if the user tries to display an excessive amount of grid intervals.
|
|
Example:
|
; grid:set-display-interval
|
|
; Turn the grid on.
|
|
(grid:set-display #t)
|
|
;; ()
|
|
; Set the grid display interval.
|
|
(grid:set-display-interval 1 1)
|
|
;; ()
|