Re: Decimals from the "Get Coordinates" Tool
- To: mathgroup at smc.vnet.net
- Subject: [mg94701] Re: [mg94679] Decimals from the "Get Coordinates" Tool
- From: "David Park" <djmpark at comcast.net>
- Date: Sun, 21 Dec 2008 05:50:37 -0500 (EST)
- References: <4423664.1229772973597.JavaMail.root@m02>
It seems to be a deficiency in the design of Get Coordinates. With the Presentations package you can display the coordinates of one or more points by using a temporary LocatorDraw or LocatorLine[n]. This displays to the normal 6 places, and allows you to copy and paste to full precision. This also allows you to adjust the points to your satisfaction before copying. Needs["Presentations`Master`"] LocatorDraw@Draw2D[ {Draw[Sin[x], {x, 170000, 170005}]}, PlotRange -> All, Axes -> True, ImageSize -> 400] This displays at the bottom of the plot: Locator[{170003.,-0.636968}] And when the coordinates are copied and pasted gives: {170003.4673024523`,-0.6369681833972594`} David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ From: ADL [mailto:alberto.dilullo at tiscali.it] I have a difficulty with the "Get Coordinate" tool, which can be easily seen with a plot like the following: Plot[Sin[x], {x, 170000, 170005}] When I call the tool and click on the plot, all the x coordinates assume the same value, i.e. there appears to be a truncation to a predefined accuracy which is not compatible with the scale. E.g. I might get: {{1.7*^5, -0.9755}, {1.7*^5, -0.4589}, {1.7*^5, 0.5653}} $Version = "7.0 for Microsoft Windows (32-bit) (November 10, 2008)" Are you aware of any way to specify the accuracy of the output coordinates, thus avoiding this problem? (Of course, in my context it is not possible to subtract 170000 from the x-axis !) Al