{"id":15823,"date":"2022-03-18T09:00:09","date_gmt":"2022-03-18T13:00:09","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=15823"},"modified":"2022-03-31T22:28:46","modified_gmt":"2022-04-01T02:28:46","slug":"boxplots-made-easy","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2022\/03\/18\/boxplots-made-easy\/","title":{"rendered":"Boxplots made easy"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871\"><span>Jiro<\/span><\/a><span>'s Pick this week is <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/88733\"><span>BoxPlotPro<\/span><\/a><span> by <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/17341273\"><span>Carlos Borau<\/span><\/a><span>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I'm a big fan of apps, since using apps simplifies tasks for common use cases and increases efficiency. As you may know, many MATLAB products come with <\/span><a href = \"https:\/\/www.mathworks.com\/help\/matlab\/creating_guis\/apps-overview.html\"><span>Apps<\/span><\/a><span> and <\/span><a href = \"https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/add-live-editor-tasks-to-a-live-script.html\"><span>Live Editor Tasks<\/span><\/a><span> to help automate common tasks. While Apps are self-contained applications that launch windows of their own, Live Editor Tasks exist within live scripts and can be used within a larger workflow.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>BoxPlotPro by Carlos is an app to assist in creating boxplots. It lets you bring in table data from files, pick out data to plot, customize variety of options, compute some statistics, and more! You can \"export\" the plot as a separate figure window for further customization. Here's the app in action.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/pick\/files\/potw_boxplot_app_1-2.gif\" width = \"800\" height = \"500\" alt = \"boxplot_app_animation.gif\" style = \"vertical-align: baseline; width: 800px; height: 500px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>This is quite a comprehensive app. As there are always room for improvement in anything in life, I have a couple of enhancement requests.<\/span><\/div><ol  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>You have to click \"PLOT\" to have the plot options reflected. It would be nice if the graph updated immediately after an option is changed.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>In addition to creating a separate figure window, it would be nice to have an option to generate MATLAB code that would recreate the visualization. This way, one can embed the code into a larger program.<\/span><\/li><\/ol><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Thank you, Carlos, for making it easy for people to create custom box plots!<\/span><\/div><h3  style = 'margin: 15px 10px 5px 4px; padding: 0px; line-height: 18px; min-height: 0px; white-space: pre-wrap; color: rgb(60, 60, 60); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 17px; font-weight: 700; text-align: left; '><span>Comments<\/span><\/h3><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Let us know what you think<\/span><span> <\/span><a href = \"https:\/\/blogs.mathworks.com\/pick\/?p=15823#respond\"><span>here<\/span><\/a><span> <\/span><span>or leave a<\/span><span> <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/88733#comment\"><span>comment<\/span><\/a><span> <\/span><span>for Carlos.<\/span><\/div>\r\n<\/div><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script><a href=\"https:\/\/blogs.mathworks.com\/pick\/files\/potw_boxplot_app-4.mlx\"><button class=\"btn btn-sm btn_color_blue pull-right add_margin_10\">Download Live Script<\/button><\/a>","protected":false},"excerpt":{"rendered":"<p>Jiro's Pick this week is BoxPlotPro by Carlos Borau.I'm a big fan of apps, since using apps simplifies tasks for common use cases and increases efficiency. As you may know, many MATLAB products come... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2022\/03\/18\/boxplots-made-easy\/\">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\/15823"}],"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=15823"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/15823\/revisions"}],"predecessor-version":[{"id":15838,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/15823\/revisions\/15838"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=15823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=15823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=15823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}