{"id":388,"date":"2014-06-12T09:04:06","date_gmt":"2014-06-12T09:04:06","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=388"},"modified":"2015-08-30T03:10:22","modified_gmt":"2015-08-30T03:10:22","slug":"how-do-i-do-interactive-picking","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2014\/06\/12\/how-do-i-do-interactive-picking\/","title":{"rendered":"How do I do interactive picking?"},"content":{"rendered":"<p>While interactive picking is generally discouraged because of its non-reproducibility, occasionally it might be useful. Using <strong>interact=<\/strong> option with <strong>xtpen<\/strong> outputs mouse-click coordinates in a text file. However, they are Vplot coordinates, not easily related to physical coordinates of the image. Joe Dellinger has a more <a href=\"\/wiki\/Code_Projects#Interactivity\">comprehensive plan<\/a> for adding interactivity to Vplot graphics.<\/p>\n<p><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2015\/08\/ipick1.png\" alt=\"\" title=\"\" \/><\/p>\n<p><a href=\"https:\/\/github.com\/ahay\/src\/blob\/master\/user\/fomels\/Mipick.py\">sfipick<\/a> is a simple <a href=\"http:\/\/wiki.python.org\/moin\/TkInter\">Tkinter<\/a> script which allows for interactive picking. The interface is straightforward. Use left-button mouse clicks to add picks, right-button mouse clicks to remove wrong picks, middle-button to drag picks. The picks are written in a plain text file and can be processed later. <\/p>\n<p>See also:<\/p>\n<ul>\n<li><a href=\"\/blog\/2010\/07\/19\/is-there-a-graphical-user-interface-to-madagascar\/\">Is there a Graphical User Interface to Madagascar?<\/a><\/li>\n<li><a href=\"\/blog\/2013\/04\/17\/zooming-in-vplot\/\">Zooming in Vplot<\/a><\/li>\n<li><a href=\"\/blog\/2012\/08\/01\/program-of-the-month-sfpick\/\">Program of the month: sfpick<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>While interactive picking is generally discouraged because of its non-reproducibility, occasionally it might be useful. Using interact= option with xtpen outputs mouse-click coordinates in a text file. However, they are Vplot coordinates, not easily related to physical coordinates of the image. Joe Dellinger has a more comprehensive plan for adding interactivity to Vplot graphics. sfipick [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-faq"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":3,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":14293,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/388\/revisions\/14293"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}