Help for this page

Select Code to Download


  1. or download this
      my ($xlock,$ylock);      # These keep track of the first coordinate 
    +clicked on
      $PLOT->CanvasBind("<ButtonPress-1>", 
    ...
                            plot($plot_f_ref,\$canv,$data_ref);
                            }, Ev('x'), Ev('y')]);
    
  2. or download this
      $PLOT->CanvasBind("<ButtonPress-3>", 
                       [sub {
    ...
                              $MOVING_IN_PROGRESS=0;
                            }                                             
                       }, Ev('x'), Ev('y')]);
    
  3. or download this
      $PLOT->CanvasBind("<Double-Button-3>",
                       [sub {
    ...
                            }, Ev('x'), Ev('y')]);