d.colortable(1grass)


NAME

   d.colortable   -  Displays the color table associated with a raster map
   layer.

KEYWORDS

   display, raster, color table

SYNOPSIS

   d.colortable
   d.colortable --help
   d.colortable    [-n]    map=name     [color=name]       [lines=integer]
   [columns=integer]   [--help]  [--verbose]  [--quiet]  [--ui]

   Flags:
   -n
       Do not draw a collar showing the NULL color in FP maps

   --help
       Print usage summary

   --verbose
       Verbose module output

   --quiet
       Quiet module output

   --ui
       Force launching GUI dialog

   Parameters:
   map=name [required]
       Name of raster map whose color table is to be displayed

   color=name
       Color of lines separating the colors of the color table
       Either a standard color name or R:G:B triplet
       Default: white

   lines=integer
       Number of lines to appear in the color table
       Options: 1-1000

   columns=integer
       Number of columns to appear in the color table
       Options: 1-1000

DESCRIPTION

   d.colortable  is  used  to  display  the  color table associated with a
   raster map in the active frame on the graphics monitor.  The  map  name
   should  be  an available raster map in the user's current mapset search
   path and location.

   If the values of both lines and columns are not specified by the  user,
   d.colortable  divides  the  active  frame  equally  among the number of
   categories present in the named raster map. If one option is specified,
   the  other is automatically set to accommodate all categories.  If both
   are specified, as many categories as possible are displayed.

   If the user specifies the name of a map on the command  line  but  does
   not  specify  the  values of other parameters, parameter default values
   will be used.  Alternately, if the user types  simply  d.colortable  on
   the command line without any program arguments, the program will prompt
   the user  for  parameter  settings  using  the  standard  GRASS  parser
   interface.

EXAMPLE

   The user running the command:
   d.colortable map=soils color=red lines=1 columns=3
   would  see  the  active  graphics  frame  divided  into  three  columns
   extending the full frame height. The lines  dividing  the  color  table
   associated with the soils map would be displayed in red. The user would
   see, at most, only three of the  colors  from  the  soils  color  table
   displayed  in  the  active  frame (because the user requested that this
   frame be divided into three sections).

NOTES

   If the user wishes to display the entire color table associated with  a
   map,  the  user  should  either  stipulate a number of lines (rows) and
   columns (cols) sufficient to accommodate the number  of  categories  in
   the map's color table, or fail to assign values to one or both of lines
   and/or columns.  If the user runs d.colortable using the default number
   of lines and columns (the full graphics frame), all categories from the
   map's color table will be displayed. However, if the user requests that
   the  color  table associated with a map which has 10 data categories be
   displayed in a graphics frame with only 3 lines (rows) and 2 columns (a
   total  of  six  cells),  only  six  of  the  ten map categories will be
   displayed.

   The user should run d.erase  between  runs  of  d.colortable  to  avoid
   confusion.

SEE ALSO

    d.erase, d.legend, d.rast

AUTHOR

   James   Westervelt,   U.S.   Army   Construction  Engineering  Research
   Laboratory

   Last changed: $Date: 2015-02-02 04:27:58 +0100 (Mon, 02 Feb 2015) $

SOURCE CODE

   Available at: d.colortable source code (history)

   Main index | Display index | Topics index | Keywords index |  Graphical
   index | Full index

    2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.