MathGroup Archive 2007

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

Search the Archive

Re: 6.0 Get Graphics Coordinates...


On Jun 13, 1:14 pm, roby.no... at gmail.com wrote:
> hello, what happened to:
> 5.2  Get Graphics Coordinates...
>
> in version 5.2 you could click inside a graphic and when holding down
> the <Ctrl> key the coordinates of the cursor within the graphics would
> be displayed. you could then click with the mouse and every clicked
> position got saved in a buffer. then you could copy and paste the
> saved coordinates as a list of number pairs.
>
> regards robert

I regretted that omission as well. The following code creates a small
palette which will display the co-ordinates for. It will also show the
date if you are hovering over a DateListPlot.

CreatePalette[
 Dynamic[Replace[
   MousePosition[
    "Graphics"], {a_,
     b_} :> {DateString[
      a, {"DayShort", "-", "MonthNameShort", "-", "Year"}], a, b}]],
 WindowTitle -> "Graph Coordinates"]



  • Prev by Date: Re: Problems updating Graphics3D Polygons
  • Next by Date: Re: Problems updating Graphics3D Polygons
  • Previous by thread: Re: : 6.0 Get Graphics Coordinates...
  • Next by thread: Re: Re: 6.0 Get Graphics Coordinates...