[GRASS-SVN] r34732 - in grass/branches/develbranch_6/gui/tcltk: d.m gis.m

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 4 21:11:42 EST 2008


Author: hamish
Date: 2008-12-04 21:11:41 -0500 (Thu, 04 Dec 2008)
New Revision: 34732

Modified:
   grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl
   grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl
Log:
add r.colors.stddev, v.colors to tcltk gui menus

Modified: grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl	2008-12-05 02:07:34 UTC (rev 34731)
+++ grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl	2008-12-05 02:11:41 UTC (rev 34732)
@@ -241,6 +241,7 @@
 	}}
 	{cascad {[G_msg "Manage map colors"]} {} "" $tmenu {			
 		{command {[G_msg "Set colors to predefined color tables"]} {} "r.colors" {} -command {execute r.colors }}
+		{command {[G_msg "Set colors based on standard deviations"]} {} "r.colors.stddev" {} -command {execute r.colors.stddev }}
 		{command {[G_msg "Set colors using color rules"]} {} "r.colors.rules" {} -command {execute $env(GISBASE)/etc/gm/script/r.colors.rules }}
 		{separator}
 		{command {[G_msg "Blend 2 color maps to produce 3 RGB files"]} {} "r.blend" {} -command {execute r.blend }}
@@ -393,6 +394,7 @@
 		{command {[G_msg "Extrude 2D vector into 3D vector"]} {} "v.extrude" {} -command {execute v.extrude }}
 		{separator}
 		{command {[G_msg "Create text label file for vector features"]} {} "v.label" {} -command {execute v.label }}
+		{command {[G_msg "Assign colors from a numeric attribute column"]} {} "v.colors" {} -command {execute v.colors }}
 		{separator}
 		{command {[G_msg "Reproject vector from other location"]} {} "v.proj" {} -command {execute v.proj }}
 	}}

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl	2008-12-05 02:07:34 UTC (rev 34731)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl	2008-12-05 02:11:41 UTC (rev 34732)
@@ -248,6 +248,7 @@
 	}}
 	{cascad {[G_msg "Manage map colors"]} {} "" $tmenu {			
 		{command {[G_msg "Color tables"]} {} "r.colors: Set colors to predefined color tables or from another raster map" {} -command {execute r.colors }}
+		{command {[G_msg "Color tables (stddev)"]} {} "r.colors.stddev: Set color rules based on stddev from a map's mean value" {} -command {execute r.colors.stddev }}
 		{command {[G_msg "Color rules"]} {} "Set colors interactively by entering color rules" {} -command {GmRules::main "r.colors" }}
 		{separator}
 		{command {[G_msg "Blend"]} {} "r.blend: Blend 2 color maps to produce 3 RGB files" {} -command {execute r.blend }}
@@ -417,7 +418,7 @@
 		{command {[G_msg "Linear regression"]} {} "r.regression.line: Linear regression between 2 maps" {} -command {execute r.regression.line }}
 		{command {[G_msg "Mutual category occurences"]} {} "r.coin: Mutual category occurences (coincidence)" {} -command {execute r.coin }}
 	}}
- } 
+ }
  {[G_msg "&Vector"]} all options $tmenu {
 	{cascad {[G_msg "Develop map"]} {} "" $tmenu {			
 		{command {[G_msg "Digitize"]} {} "v.digit: Digitize/edit vector map" {} -command {execute v.digit }}
@@ -443,6 +444,7 @@
 		{command {[G_msg "Link to OGR"]} {} "v.external: Create new vector as link to external OGR layer" {} -command {execute v.external }}
 		{separator}
 		{command {[G_msg "Create labels"]} {} "v.label: Create text label file for vector objects" {} -command {execute v.label }}
+		{command {[G_msg "Assign colors"]} {} "v.colors: Set color rules using a numeric attribute column" {} -command {execute v.colors }}
 		{separator}
 		{command {[G_msg "Reposition vector"]} {} "v.transform: Reposition (shift, rotate, skew) vector file in coordinate space" {} -command {execute v.transform }}
 		{command {[G_msg "Reproject vector"]} {} "v.proj: Reproject vector from other location" {} -command {execute v.proj }}



More information about the grass-commit mailing list