Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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
==============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690