{"id":835,"date":"2014-01-15T11:15:40","date_gmt":"2014-01-15T16:15:40","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/?p=835"},"modified":"2014-01-15T11:15:40","modified_gmt":"2014-01-15T16:15:40","slug":"cool-graphics-and-graphical-user-interfaces","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2014\/01\/15\/cool-graphics-and-graphical-user-interfaces\/","title":{"rendered":"Cool Graphics and Graphical User Interfaces"},"content":{"rendered":"<div class=\"content\"><!--introduction--><p>Today, <a href=\"mailto:david.garrison@mathworks.com\">David Garrison<\/a> and <a href=\"<mailto:sarah.zaranek@mathworks.com\">Sarah Wait Zaranek<\/a>, today's guest bloggers, would like to ask for your help in tracking down interesting examples using MATLAB graphics and UI building capabilties.<\/p><!--\/introduction--><h3>Contents<\/h3><div><ul><li><a href=\"#55c719c6-63d5-4aee-9080-e84fa5c4d0de\">Looking For Your Graphics and GUIs<\/a><\/li><li><a href=\"#5c4d393d-c8c5-49a9-a4c8-5d82be4187d9\">Some Examples of Interesting Graphics and GUIs<\/a><\/li><li><a href=\"#666bc1a1-558a-44cd-a059-e95e070b97b9\">For Those New to Making Graphics in MATLAB<\/a><\/li><li><a href=\"#8b68b06c-55c0-4332-8cb9-5c804b071cb3\">Conclusion (or How to Send Us Your Examples)<\/a><\/li><\/ul><\/div><h4>Looking For Your Graphics and GUIs<a name=\"55c719c6-63d5-4aee-9080-e84fa5c4d0de\"><\/a><\/h4><p>We are always looking for interesting MATLAB code.  Your examples help us understand all the things people do in MATLAB and they help us plan for future enhancements.  With that in mind, we'd like to ask you to think about interesting graphics or UIs you've produced with MATLAB.  We are looking for highly customized UIs or complicated graphics that show off the power of MATLAB.<\/p><p>Any code that you send us will be used for internal purposes only.<\/p><p>However, we may contact you to see if you are interested in letting us use your example as inspiration for an addition to the <a href=\"https:\/\/www.mathworks.com\/products\/matlab\/plot-gallery.html\">MATLAB Plot Gallery<\/a> or as a part of a follow-up guest blog post.  If you don't want to be contacted, please let us know.<\/p><h4>Some Examples of Interesting Graphics and GUIs<a name=\"5c4d393d-c8c5-49a9-a4c8-5d82be4187d9\"><\/a><\/h4><p>To help inspire you, here are some complex visualizations from the MATLAB File Exchange<\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/7747-moody-diagram\">Moody Diagram<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/moody2.jpg\" alt=\"\"> <\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/33201-gpu-julia-set-explorer\">GPU Julia Set Explorer<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/GPUJulia2.jpg\" alt=\"\"> <\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/18363-flight-visualization\">Flight Visualization<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/flightviz2.jpg\" alt=\"\"> <\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26508-notboxplot\">notBoxPlot<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/notboxplot2.jpg\" alt=\"\"> <\/p><p>and here are some interesting applications examples.<\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/15803-robot-simulator\">Robot Simulator<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/screenshotsimulator2.jpg\" alt=\"\"> <\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/35657-transducer-array-calculation--tac--gui\">Transducer Array Calculation<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/TAC_GUI_Screenshot_both2.jpg\" alt=\"\"> <\/p><div><ul><li><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/24111-codis\">CODIS<\/a><\/li><\/ul><\/div><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/CODIS___Paternity_Assessment_by_Giuseppe_Cardillo_0032.jpg\" alt=\"\"> <\/p><h4>For Those New to Making Graphics in MATLAB<a name=\"666bc1a1-558a-44cd-a059-e95e070b97b9\"><\/a><\/h4><p>And...if you are just getting started using graphics or making applications in MATLAB, here are some of our favorite resources to help get you up and running in no time:<\/p><div><ul><li>Jiro's guest blog post: <a href=\"https:\/\/blogs.mathworks.com\/loren\/2007\/12\/11\/making-pretty-graphs\/?s_tid=Blog_Loren_Category\">Making Pretty Graphs<\/a><\/li><li>Doug's video series: <a href=\"https:\/\/blogs.mathworks.com\/videos\/2009\/10\/23\/basics-volume-visualization-19-defining-scalar-and-vector-fields\/?s_tid=Blog_Videos_Category\/\">Basics of Volume Visualization<\/a><\/li><li>A video introduction to <a href=\"https:\/\/www.mathworks.com\/videos\/creating-a-gui-with-guide-68979.html?s_tid=mlg_a_guid\">creating a GUI with GUIDE<\/a><\/li><li>Dave's article on how to  <a href=\"https:\/\/www.mathworks.com\/company\/newsletters\/articles\/writing-apps-in-matlab.html?s_tid=mlg_a_appswr\">write apps using object oriented programming<\/a><\/li><li>Ben's <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/27758-gui-layout-toolbox\">GUI Layout Toolbox<\/a><\/li><\/ul><\/div><h4>Conclusion (or How to Send Us Your Examples)<a name=\"8b68b06c-55c0-4332-8cb9-5c804b071cb3\"><\/a><\/h4><p>So please look for graphics or GUI examples that you are really proud of and that show off the power of MATLAB.  Please email them to us at <a href=\"mailto:david.garrison@mathworks.com\">david.garrison@mathworks.com<\/a> or post a link in the comments <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=835#respond\">here<\/a>.  If possible, try to include all the code and data required to run your application or to create your special plot or graphic.<\/p><p>Thanks to Loren for letting us make our request on her blog.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_d6611e832c3540579ed262103976deb6() {\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='d6611e832c3540579ed262103976deb6 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' d6611e832c3540579ed262103976deb6';\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        copyright = 'Copyright 2014 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_d6611e832c3540579ed262103976deb6()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2013b<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2013b<br><\/p><\/div><!--\r\nd6611e832c3540579ed262103976deb6 ##### SOURCE BEGIN #####\r\n%% Cool Graphics and Graphical User Interfaces\r\n% Today, <mailto:david.garrison@mathworks.com David Garrison> and\r\n% <<mailto:sarah.zaranek@mathworks.com Sarah Wait Zaranek>, today's guest\r\n% bloggers, would like to ask for your help in tracking down interesting\r\n% examples using MATLAB graphics and UI building capabilties.\r\n% \r\n%% Looking For Your Graphics and GUIs\r\n%\r\n% We are always looking for interesting MATLAB code.  Your examples help us\r\n% understand all the things people do in MATLAB and they help us plan for\r\n% future enhancements.  With that in mind, we'd like to ask you to think\r\n% about interesting graphics or UIs you've produced with MATLAB.  We are\r\n% looking for highly customized UIs or complicated graphics that show off\r\n% the power of MATLAB.\r\n%\r\n%% \r\n% Any code that you send us will be used for internal purposes only.\r\n% \r\n% However, we may contact you to see if you are interested in letting us use your example as\r\n% inspiration for an addition to the \r\n% <https:\/\/www.mathworks.com\/products\/matlab\/plot-gallery.html MATLAB Plot Gallery> or\r\n% as a part of a follow-up guest blog post.  If you don't want to be\r\n% contacted, please let us know. \r\n% \r\n%% Some Examples of Interesting Graphics and GUIs\r\n% \r\n% To help inspire you, here are some complex visualizations from the MATLAB\r\n% File Exchange\r\n% \r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/7747-moody-diagram Moody Diagram>\r\n%%\r\n% <<moody2.jpg>>\r\n%%\r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/33201-gpu-julia-set-explorer GPU Julia Set Explorer>\r\n%%\r\n% <<GPUJulia2.jpg>>\r\n%%\r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/18363-flight-visualization Flight Visualization>\r\n%%\r\n% <<flightviz2.jpg>>\r\n%%\r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26508-notboxplot notBoxPlot>\r\n%%\r\n% <<notboxplot2.jpg>>\r\n%%\r\n%\r\n% and here are some interesting applications examples.\r\n%\r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/15803-robot-simulator Robot Simulator>\r\n%%\r\n% <<screenshotsimulator2.jpg>>\r\n%%\r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/35657-transducer-array-calculation--tac--gui Transducer Array Calculation>\r\n%%\r\n% <<TAC_GUI_Screenshot_both2.jpg>>\r\n%%\r\n% * <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/24111-codis CODIS>\r\n%%\r\n% <<CODIS___Paternity_Assessment_by_Giuseppe_Cardillo_0032.jpg>>\r\n%%\r\n%\r\n%% For Those New to Making Graphics in MATLAB\r\n% And...if you are just getting started using graphics or making\r\n% applications in MATLAB, here are some of our favorite resources to help\r\n% get you up and running in no time:\r\n%\r\n% * Jiro's guest blog post:\r\n% <https:\/\/blogs.mathworks.com\/loren\/2007\/12\/11\/making-pretty-graphs\/?s_tid=Blog_Loren_Category Making Pretty Graphs>\r\n% * Doug's video series: \r\n% <https:\/\/blogs.mathworks.com\/videos\/2009\/10\/23\/basics-volume-visualization-19-defining-scalar-and-vector-fields\/?s_tid=Blog_Videos_Category\/ Basics of Volume Visualization>\r\n% * A video introduction to <https:\/\/www.mathworks.com\/videos\/creating-a-gui-with-guide-68979.html?s_tid=mlg_a_guid creating a GUI with GUIDE>\r\n% * Dave's article on how to  <https:\/\/www.mathworks.com\/company\/newsletters\/articles\/writing-apps-in-matlab.html?s_tid=mlg_a_appswr  write apps using object oriented programming>\r\n% * Ben's <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/27758-gui-layout-toolbox GUI Layout Toolbox>  \r\n%\r\n%% Conclusion (or How to Send Us Your Examples)\r\n% \r\n% So please look for graphics or GUI examples that you are really proud of\r\n% and that show off the power of MATLAB.  Please email them to us at\r\n% david.garrison@mathworks.com or post a link in the comments\r\n% <https:\/\/blogs.mathworks.com\/loren\/?p=835#respond here>.  If possible, try\r\n% to include all the code and data required to run your application or to\r\n% create your special plot or graphic.\r\n%\r\n% Thanks to Loren for letting us make our request on her blog.\r\n##### SOURCE END ##### d6611e832c3540579ed262103976deb6\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2014\/moody2.jpg\" onError=\"this.style.display ='none';\" \/><\/div><!--introduction--><p>Today, <a href=\"mailto:david.garrison@mathworks.com\">David Garrison<\/a> and <a href=\"<mailto:sarah.zaranek@mathworks.com\">Sarah Wait Zaranek<\/a>, today's guest bloggers, would like to ask for your help in tracking down interesting examples using MATLAB graphics and UI building capabilties.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2014\/01\/15\/cool-graphics-and-graphical-user-interfaces\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/835"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=835"}],"version-history":[{"count":6,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/835\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/835\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}