-
Start: Inicializa un monitor.
Para dibujar mapas o gráficos en GRASS, el usuario debe inicializar
(start) y seleccionar (select ) un monitor gráfico.
Por defecto, la opción start ejecuta también la opción
select., por tanto inicializar un monitor significa también seleccionarlo
a no ser que la opción -s haya sido activada.
When a monitor is started, it is therefore also (automatically)
selected
for output, unless the
-s flag is set by the user; the user can
also explictly select a monitor that has been started (see (3) below).
After a monitor is started, a blank graphics frame should appear on whatever
terminal the user is using to display graphics.
The desired monitor should be started once and need not be restarted
unless it is stopped (option 2) for some reason. A monitor may continue
to run for any length of time, even when no GRASS session is being run.
The monitor program runs in the background.
Using the nlev parameter the user can define the number of color
levels to be used. nlev can be a value between 1 and 256. nlev=256 means
8bit for each R, G, B color channel equal to 24bit truecolor (16.7 million
colors). The calculation of number of colors (ncolors) is performed by
calculating:
ncolors = nlev^3
Un número de colores elevado puede ralentizar la inicialización
del monitor
-
Stop a Monitor.
Sometimes the monitor program needs to be stopped (terminated). Choosing
option 2 will terminate a user-specified monitor program. A graphics monitor
has two different types of status: monitor program not running,
and monitor running. A monitor that has been started and/or selected
will be listed as running; a monitor that has been stopped (or not started)
will be listed as not running. The -L (list status) flag will list the
status of each monitor connected to the system.
-
Select a Monitor.
When the user starts a monitor, it is also (automatically) selected
for graphics output unless the user sets the -s flag. In order to
use (direct graphics output to) a monitor, the user must
select
that monitor for use, either by simply starting the monitor without the
-s flag or by explictly selecting the monitor for output using option 3.
Only running monitors can be selected for graphics output. Once the user
has selected a monitor for output, no other user can use this monitor
for graphics output until the monitor driver is either released
(by the user) or unlocked (by any user on the system).
The user can run multiple graphics monitors by simply starting each
of the graphics monitors drivers he wishes to direct output to.
-
Release a Monitor.
Once a user has selected a monitor for graphics output, it is
locked for use by that user until either: (1) the user voluntarily releases
control of the monitor for use by another (option 4), or (2) another GRASS
user unlocks the user's control of the monitor. Menu option 4 appears
only to the person who has selected the monitor (since only that user can
release control of his selected graphics monitor.) If another user wishes
to
unlock the user's control of the monitor, that user must run
d.mon
from the command line and set the unlock=name parameter.
Pueden ejecutarse diversas opciones a la vez