Ramesh:
> So I really need help. My question is actually illustrated better
following your
> suggested modification. All the contours are filled, but why is there
a huge boundary
> surrounding the image. Is there any way the image could occupy the
entire space. I was
Since you're already using ProjectionControl, you can do something like
the following (taken from subs.py in Jython-land) to adjust the
percentage of space in the display you want the 'box' to occupy. The
default is ~ 65% (.65).
pc=self.getProjectionControl()
if (not snap) or (self.pcMatrix == None):
self.pcMatrix=pc.getMatrix()
if len(self.pcMatrix) > 10: # 3-D case
self.pcMatrix[0]=percent
self.pcMatrix[5]=percent
self.pcMatrix[10]=percent
else: # 2-D case
self.pcMatrix[0]=percent/.64
self.pcMatrix[3]=-percent/.64
pc.setMatrix(self.pcMatrix)
Hope that helps.
tom
--
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Phone/VoiceMail: 608.262.2759