/[escript]/trunk/pyvisi/py_src/scalarbar.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/scalarbar.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1193 by jongui, Thu Jun 7 05:31:25 2007 UTC revision 1194 by jongui, Thu Jun 14 05:53:49 2007 UTC
# Line 29  class ScalarBar: Line 29  class ScalarBar:
29          # Set the default color of the scalar bar's title and label to black.          # Set the default color of the scalar bar's title and label to black.
30          self.setTitleColor(Color.BLACK)          self.setTitleColor(Color.BLACK)
31          self.setLabelColor(Color.BLACK)          self.setLabelColor(Color.BLACK)
32            self.titleBoldOff()
33            self.labelBoldOff()
34    
35      def _setScalarBarLookupTable(self, lookup_table):        def _setScalarBarLookupTable(self, lookup_table):  
36          """          """
# Line 78  class ScalarBar: Line 80  class ScalarBar:
80    
81          self.__vtk_scalar_bar.SetOrientationToHorizontal()          self.__vtk_scalar_bar.SetOrientationToHorizontal()
82          self.setWidth(0.8)          self.setWidth(0.8)
83          self.setHeight(0.14)          self.setHeight(0.10)
84          self.setPosition(LocalPosition(130,5))          self.setPosition(LocalPosition(130,5))
85    
86      def setOrientationToVertical(self):      def setOrientationToVertical(self):

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.26