Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plotting on an image

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97776] Re: Plotting on an image
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Sat, 21 Mar 2009 05:18:20 -0500 (EST)
  • References: <gpvhd8$gus$1@smc.vnet.net>

Hi Daniel,

If you try the following:

AbsoluteOptions[world, PlotRange]

you get the coordinate range of the figure. In this case:

{PlotRange -> {{-176.599, 176.117}, {-62.5631, 88.2896}}}

which looks like lat and long coordinate ranges. It should not be too
difficult to fit your plot within these confines. If you want to
identify landmarks in your figure you could use the coordinate picker
in the Graphics Inspector (ctrl-G) or select the figure and press
'.' .

Cheers -- Sjoerd


On Mar 20, 9:42 am, Daniel <jan... at gmail.com> wrote:
> I would like to plot values on an image. Let's say I use the following
> image of the world which imports as a Graphics object:
>
> world = CountryData["World", "Shape"]
>
> How do I specify the coordinate system for this graphics object?
> Later, when I combine the world picture with a plot using Show, I want
> the plot points to end up at the right place.



  • Prev by Date: DirectSum (feature request)
  • Next by Date: Re: Incompatible units?
  • Previous by thread: Re: Plotting on an image
  • Next by thread: Re multiple points in WorldPlot