{"id":3863,"date":"2012-09-28T09:00:06","date_gmt":"2012-09-28T13:00:06","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=3863"},"modified":"2016-05-10T08:38:59","modified_gmt":"2016-05-10T12:38:59","slug":"matlab-planisphere","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2012\/09\/28\/matlab-planisphere\/","title":{"rendered":"MATLAB Planisphere"},"content":{"rendered":"<div class=\"content\">\r\n\r\n<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\">Jiro<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/38147-looking-up\">Looking Up<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/64393\">Matt Tearle<\/a>.\r\n\r\nSome of you may know my fellow MathWorker, Matt, from other parts of <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/\">MATLAB Central<\/a>, especially from <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/answers\/\">MATLAB Answers<\/a>. Today, I'd like to highlight one of his cool <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/creating_guis\/apps-overview.html\">MATLAB Apps<\/a> that he created just recently. BTW, stay tuned for a post on MATLAB Apps on <a href=\"https:\/\/blogs.mathworks.com\/loren\/\">Loren's Art of MATLAB blog<\/a>. Apps are one of the new features of <a href=\"https:\/\/www.mathworks.com\/products\/matlab\/whatsnew.html\">R2012b<\/a>.\r\n\r\nGetting an app is as easy as <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/index?term=type%3Aapp\">finding an app<\/a>, downloading the app,\r\n\r\n<center>\r\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/download_app_button.PNG\" alt=\"\" \/><\/center>and installing the app.\r\n\r\n<center>\r\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/app_install_file.PNG\" alt=\"\" \/>\r\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/install_app_dialog.PNG\" alt=\"\" \/><\/center>Matt's app is a MATLAB <a href=\"http:\/\/en.wikipedia.org\/wiki\/Planisphere\">planisphere<\/a>. Punch in your location and enjoy the view of the sky, even on a cloudy day! You need R2012b or newer to install this app.\r\n\r\n<center>\r\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/potw_planishpere_animation.gif\" alt=\"\" \/><\/center>One of the nice things about MATLAB Apps is that it allows you to package all the necessary files into a single installer\r\nfile. Matt's app consists of many helper functions, custom data types, and a data file, and they're all included in the single\r\ndownloadable file.\r\n\r\n<b>Comments<\/b>\r\n\r\nLet us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=3863#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/38147-looking-up#comments\">comment<\/a> for Matt.\r\n\r\n<script>\/\/ <![CDATA[\r\nfunction grabCode_e009632bf7ca4dc2af9e4041097753e8() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='e009632bf7ca4dc2af9e4041097753e8 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' e009632bf7ca4dc2af9e4041097753e8';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Jiro Doke';\r\n        copyright = 'Copyright 2012 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('\r\n\r\n<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\r\n\r\n\r\n\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }\r\n\/\/ ]]><\/script>\r\n<p style=\"text-align: right; font-size: xx-small; font-weight: lighter; font-style: italic; color: gray;\">\r\n<a><span style=\"font-size: x-small; font-style: italic;\">Get\r\nthe MATLAB code\r\n<noscript>(requires JavaScript)<\/noscript><\/span><\/a>\r\n\r\nPublished with MATLAB\u00ae R2012b<\/p>\r\n\r\n<\/div>\r\n<!--\r\ne009632bf7ca4dc2af9e4041097753e8 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007 % Jiro>'s pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/38147-looking-up Looking Up> by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/64393 Matt % Tearle>.\r\n%\r\n% Some of you may know my fellow MathWorker, Matt, from other parts of\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/ MATLAB Central>, especially from\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/answers\/ MATLAB Answers>. Today,\r\n% I'd like to highlight one of his cool\r\n% <https:\/\/www.mathworks.com\/help\/matlab\/apps.html MATLAB Apps> that he\r\n% created just recently. BTW, stay tuned for a post on MATLAB Apps on\r\n% <https:\/\/blogs.mathworks.com\/loren\/ Loren's Art of MATLAB blog>. Apps are\r\n% one of the new features of\r\n% <https:\/\/www.mathworks.com\/products\/matlab\/whatsnew.html R2012b>.\r\n%\r\n% Getting an app is as easy as\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/index?term=type%3Aapp % finding an app>, downloading the app,\r\n%\r\n% <html>\r\n% <center>\r\n% <img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/download_app_button.PNG\">\r\n% <\/center>\r\n% <\/html>\r\n%\r\n% and installing the app.\r\n%\r\n% <html>\r\n% <center>\r\n% <img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/app_install_file.PNG\">\r\n% <img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/install_app_dialog.PNG\">\r\n% <\/center>\r\n% <\/html>\r\n%\r\n% Matt's app is a MATLAB <http:\/\/en.wikipedia.org\/wiki\/Planisphere % planisphere>. Punch in your location and enjoy the view of the sky, even\r\n% on a cloudy day! You need R2012b or newer to install this app.\r\n%\r\n% <html>\r\n% <center>\r\n% <img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_planishpere\/potw_planishpere_animation.gif\">\r\n% <\/center>\r\n% <\/html>\r\n%\r\n% One of the nice things about MATLAB Apps is that it allows you to package\r\n% all the necessary files into a single installer file. Matt's app consists\r\n% of many helper functions, custom data types, and a data file, and they're\r\n% all included in the single downloadable file.\r\n%\r\n% *Comments*\r\n%\r\n% Let us know what you think\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=3863#respond here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/38147-looking-up#comments % comment> for Matt.\r\n\r\n##### SOURCE END ##### e009632bf7ca4dc2af9e4041097753e8\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n\r\nJiro's pick this week is Looking Up by Matt Tearle.\r\n\r\nSome of you may know my fellow MathWorker, Matt, from other parts of MATLAB Central, especially from MATLAB Answers. Today, I'd like to... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2012\/09\/28\/matlab-planisphere\/\">read more >><\/a><\/p>","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3863"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=3863"}],"version-history":[{"count":8,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3863\/revisions"}],"predecessor-version":[{"id":6918,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3863\/revisions\/6918"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=3863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=3863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=3863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}