Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Get Graphics Coordinates accuracy

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92608] Re: Get Graphics Coordinates accuracy
  • From: John Jowett <John.M.Jowett at gmail.com>
  • Date: Wed, 8 Oct 2008 06:24:39 -0400 (EDT)
  • References: <gbflnv$682$1@smc.vnet.net>

Thanks (belatedly - I've been  away from the newsgroup for a couple of
weeks) to David, Jens and Maxim for these interesting solutions.

I was surprised to learn from Maxim that Plot appears to have
undocmented options like CoordinatesToolOptions.  I found some more
about this interesting option at

http://blog.wolfram.com/2008/03/11/get-coordinates-new-in-602/

John



On Sep 25, 11:30 am, John Jowett <John.M.Jow... at gmail.com> wrote:
> I came across a limitation in the mechanism for copying coordinates of
> points in 2D graphics (the Get Coordinates button in the Drawing Tools
> palette) in V6.03.
>
> Consider the following plot of a sine wave
>
> Plot[Sin[2 x], {x, 20270, 20275}]
>
> When I try to select and paste the coordinates of the two crests of
> the wave, I typically get two points with the same x-coordinate
>
> {{2.027*^4, 0.99}, {2.027*^4, 0.99}}
>
> whereas I would expect the two x-coordinates to be around
> 20270.3 and 20273.5, values which are well separated on the plot.
>
> This seems to happen because the Get Coordinates function only returns
> the first 4 digits of the coordinates.
>
> Does anyone know of a way to fix this ?  Obviously, in this
> demonstration example, I could change variables to x1=x-20270 but in
> the more complicated problem I am working on, this is not so easy.
>
> John Jowett



  • Prev by Date: Overlapping binning of differences of two lists
  • Next by Date: Re: Why is Mathematica assuming k==l and how do I make it not to?
  • Previous by thread: Re: Overlapping binning of differences of two lists
  • Next by thread: Finite difference method with mathematica