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.

Re: If and how to control the margin between canvas and plot borders

Hi Olav,

You may be able to adjust the margin by applying a scale
to the projection matrix. See the rotate() method of
visad/examples/Test58.java for an example, except that
you want to call make_matrix without rotation but with
scale other than 1.0:

  make_matrix(0.0, 0.0, 0.0, scale, 0.0, 0.0, 0.0)

You'll need to experiment with various scale values to
find one that works for you.

Good luck,
Bill

On Tue, 15 Nov 2005, rybatzki wrote:

> Hi,
>
> if a similar message from me is always on the list then it is a mistake,
> but as I can't see it, I will ask this question a second time.
> For my current project I have to compose pictures from different plots
> to generate a video from them. The off screen rendering works fine. The
> only problem is that the images from the off screen displays have a
> large empty border around the plots. So the question is, how can I
> reduce this border programmatically?
>
>
> Olav
>
>
> PS: I suggest to repackage the Javadoc jar file. I have noticed the
> email from tom that there is a new build of VisAD. The size of the docs
> jar file is far to high. It contains the documentation twice under a
> folder called docs. One time as the documentation itself ordered into
> different sub folders and the second time as a jar file of these  folders.
>
>


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: