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: contour labels upside-down

Hi Stu,

> I have just produced a VisAD display which
> includes a 2D contour plot on the bottom. The contour
> labels are facing down, to the bottom of the VisAD
> cube. You have to turn the cube over to read the labels.
> 
> How does this happen, and, how can I turn the labels over?

There is logic in the default VisAD DataRenderers to
try to orient labels correctly.  If you send me a test
case where it doesn't work, I'll look into it.

> By the way I submit another vote for contour labels
> with the labels along the center of the contour line,
> rather than across it. When the contour lines are
> densely packed it is sometimes impossible
> to tell which line the present labels are associated with.
> I know you are already planning on this improvement.

Absolutely.  VisAD is designed so that things like this
can be changed by extensions.  It may be awhile before we
add a new option for contour labels.  If you want to take
a crack at it, that would be great.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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