Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CountryData Shape and Graphical objects

9 views
Skip to first unread message

Rob325

unread,
Oct 10, 2008, 4:37:04 AM10/10/08
to
I'm Trying to create LambertAzimuthal world plots with some graphics
object overlayed (mainly polylines defined from {lat, long} lists.

I couldn't find any hint on wolfram documentation. Is there anybody
who knows if it is possible and in case how?

I tried thinks like:

Show[Graphics[
CountryData["World", {"Shape", {"LambertAzimuthal", {41,12 }}}],
{Red, Line[{{0, 0}, {1000, 5000}}]}
]]

but it results in the world plot alone (it even lacks antarctica...)

Thank you

Roberto

sjoerd.c...@gmail.com

unread,
Oct 11, 2008, 6:46:10 AM10/11/08
to
Several things are wrong here:

1 The CountryData function generates a Graphics structure. That itself
should not be put inside another Graphics as you do.
2. The range in the Line function is much too large

Try something like:

Show[
CountryData["World", {"Shape", {"LambertAzimuthal", {-30, 0}}}],
Graphics[
{
{Red, Line[{{0, 0}, {1, 1}}]}
}]
]

0 new messages