There is no documentation of the details of the plotting program.
It is possible to change colors by using a python handler file.
something like:
Code:
HAL_GREMLIN_NAME.colors['overlay_background'] = (0.0, 0.0, 0.57) # blue
HAL_GREMLIN_NAME.colors['back'] = (0.0, 0.0, 0.75) # blue
I agree a fit-to-screen function would be good but you also have to agree what fit-to-screen is. If you reload the screen it fits to screen, but it includes the limit box -so the plot looks small.
Anyways here is where to look at the code:
hal_gremlin sub classes gremlin
hal_gremlin is in lib/python/gladevcp
gremlin is in src/emc/usr_intf
gremlin imports lots of libraries but glnav and glcannon are the most interesting
lib/python/rs274/glcannon.py
lib/python/glnav.py
In glnav, the function: set_eyepoint_from_extents() is probably the zoom-to-fit code.
Chris M