grid:set-display-interval
List of: Scheme Extensions
Subjects: Grids
Contents: Graphic Interaction

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)

;; ()
PDF/GI/02SCG.PDF
HTM/DATA/GI/GI/02SCG/0008.HTM