diff scripts/plot/util/ginput.m @ 19969:c040bed12b2e

* ginput.m: Fix botched search and replace in previous change.
author John W. Eaton <jwe@octave.org>
date Thu, 19 Feb 2015 02:16:48 -0500
parents 3fc946d5e91f
children 6e5365ee200a
line wrap: on
line diff
--- a/scripts/plot/util/ginput.m
+++ b/scripts/plot/util/ginput.m
@@ -125,7 +125,7 @@
 endfunction
 
 function ginput_keypressfcn (src, evt)
-  point = get (ax, "currentpoint");
+  point = get (gca (), "currentpoint");
   key = evt.Key;
   if (key == "return")
     ## Enter key stops ginput.