Back Home Up Next

Subchapters:

Plots

Cursor

When plotting plots or images, you can access the values of the coordinates with the cursor.

        IDL> cursor , x , y

Click on the mouse.

        IDL> print , x , y
                    58.7409      92.1171

The procedure moncurs allows to use the left button to pick coordinates and
the right one to exit (be careful to call add_path before to calling moncurs):

        IDL> add_path,/mo
        IDL> moncurs
                     x    y
                    2.97027    -0.141388
                    3.46532   -0.0680892
                    3.44881   -0.0366757
        IDL> moncurs,image
                   x     y    I
                   192.249      5.33696      5.44292
                    92.1179      92.1171     -5.60535
                    97.4582      49.3946     -1.63481

 

IDL courses C. Morisset 2004 IA/UNAM V 2.2

Back Home Up Next