NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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
visad
archives: