Re: how to make a text to show on the top of display?

Hi-

It will depend on the ScalarMaps that you use for
your vertical axis, but if you have RealType.ZAxis mapped
to DisplayRealType.ZAxis, you could add a ConstantMap
of some value to DisplayRealType.ZAxis to move the
text up in the display.  You can add the ConstantMap
in the addReferenceCall with your data.

Don

Wang Lizhi wrote:
> Hi, all,
> 
> A little question: how to make a text on the top of display?
> 
> I just have a IsoContour with setContourFill( true ) and a Display.Text, but 
> the text is show below the IsoContour. How can make the text on the top of 
> this display?
> 
> thanks
> 
> ==============================================================================
> To unsubscribe visad, visit:
> http://www.unidata.ucar.edu/mailing-list-delete-form.html
> ==============================================================================

-- 
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************


==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


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