Unkown Blogger Pursues a Deranged Quest for Normalcy

  • Logo

    ubpdqn
  • Unknown Blogger

  • January 2011
    M T W T F S S
    « Dec   Feb »
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31  
  • Recent Posts

  • Pages

  • Categories

  • Archives

  • Meta

  • Blog Stats

    • 10,594 hits

Tooltips

Posted by ubpdqn on January 23, 2011

The above graphic is the life expectancy in countries of the world. The color coding shows maximum life expectancy in red. The other colors are code for fraction of the maximum life expectancy. Place the cursor over country of interest and a tooltip will display country name and life expectancy (in years) if data is available.

This graphic illustrates Mathematica’s export capabilities with respect to Tooltips. It also allows hyperlinks to be exported. The concentration of small countries makes some of the tooltips problematic, however, it is illustrative of the capability.

Some manipulation was required to get this to work on WordPress. The suppression of alternate text and graphic caption were required.

Advertisements

One Response to “Tooltips”

  1. ubpdqn said

    The tooltips are activated when the cursor is over a rectangular area defined by coordinates of two corners (image rectangular coordinate system). Rectangles for some countries that overlap others completely effectively suppress the other country, e.g. Afghanistan (the relatively green country) next to Pakistan is suppressed, similarly for Ecuador in South America, and Portugal.

    The tool tips within Mathematica are activated when the cursor is within the enclosing polygon.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: