{"id":2715,"date":"2025-06-24T08:08:10","date_gmt":"2025-06-24T12:08:10","guid":{"rendered":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/?p=2715"},"modified":"2025-06-24T14:04:05","modified_gmt":"2025-06-24T18:04:05","slug":"introducing-the-tabbed-figure-container","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/2025\/06\/24\/introducing-the-tabbed-figure-container\/","title":{"rendered":"Introducing the Tabbed Figure Container"},"content":{"rendered":"<table style=\"background-color: #e2f0ff\">\n<tbody>\n<tr>\n<td style=\"width: 120px;padding: 3px;vertical-align: middle\"><img decoding=\"async\" class=\"alignleft size-medium wp-image-487\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/BrianKnolhoff.jpg\" alt=\"Brian Knolhoff\" \/><\/td>\n<td style=\"vertical-align: middle;padding: 3px\"><strong>Guest Writer: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/4370177\" target=\"_blank\" rel=\"noopener\">Brian Knolhoff<\/a><br \/>\n<\/strong>Brian is a software engineer on the Figure Infrastructure and Services team at MathWorks. \u00a0After first encountering MATLAB while calibrating radar systems, he now enjoys building and modernizing the tools that support engineers and scientists in their daily work. \u00a0Outside of the office, Brian enjoys playing guitar, hockey, and board games, and maintains a collection of vintage and modern pinball machines.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"rtcContent\">\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Okay everybody, let's all hop in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/DeLorean_time_machine\" target=\"_blank\" rel=\"noopener\">DeLorean<\/a>, and set the time controls for July 2002. <a href=\"https:\/\/en.wikipedia.org\/wiki\/PlayStation_2_online_functionality\" target=\"_blank\" rel=\"noopener\">Online gaming<\/a> has finally come to the PS2, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Star_Wars:_Episode_II_%E2%80%93_Attack_of_the_Clones\" target=\"_blank\" rel=\"noopener\">Attack of the Clones<\/a> is out (but everyone is really just waiting for <a href=\"https:\/\/en.wikipedia.org\/wiki\/The_Lord_of_the_Rings:_The_Two_Towers\" target=\"_blank\" rel=\"noopener\">The Two Towers<\/a> to come out in December), and here in Massachusetts where I live, everyone is still arguing about <a href=\"https:\/\/en.wikipedia.org\/wiki\/Tuck_Rule_Game\" target=\"_blank\" rel=\"noopener\">The Tuck Rule<\/a>, whatever that is.<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Also, MATLAB R13 just hit the shelves. After installing from your CD-ROM, you run a script that creates figures and captures a screenshot to bring with you back to the future.<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Now, back in 2025, you run a similar script in MATLAB R2023b, and compare.<\/div>\n<div style=\"background-color: #f5f5f5;margin: 10px 15px 10px 0;min-width: 100%\">\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 4px 4px 0px 0px;padding: 6px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">for n = 1:6<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">\u00a0\u00a0\u00a0\u00a0figure;<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">\u00a0\u00a0\u00a0\u00a0ord = n+8;<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">\u00a0\u00a0\u00a0\u00a0m = magic(ord);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">\u00a0\u00a0\u00a0\u00a0imagesc(m);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">\u00a0\u00a0\u00a0\u00a0title(num2str(ord));<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">\u00a0\u00a0\u00a0\u00a0axis <span style=\"color: #a709f5\">equal<\/span>;<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px 0px 4px 4px;padding: 0px 45px 4px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">end<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Here's what you see:<\/div>\n<div><em><strong>MATLAB R13 (2002) &#x1f447;<\/strong><\/em><\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">\n<p><img decoding=\"async\" class=\"imageNode\" style=\"vertical-align: baseline;width: 100%;height: auto\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figureContainer_R2025a.mlx-06-23-25_1.png\" alt=\"\" \/><em><strong>MATLAB R2023b &#x1f447;<\/strong><\/em><\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"imageNode\" style=\"vertical-align: baseline;width: 100%;height: auto\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figureContainer_R2025a.mlx-06-23-25_2.png\" alt=\"\" \/><\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">R2025a: Bringing Figures into the Future<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Despite significant changes over the last 20 years, including faster computers and larger widescreen monitors that look great for watching The Two Towers, figures in MATLAB have the same look and feel as they did 20 years ago:<\/div>\n<ul style=\"margin: 10px 0px 20px;padding-left: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-size: 14px\">\n<li style=\"margin-left: 56px;line-height: 21px;min-height: 0px;text-align: left\">They are small relative to most monitor sizes<\/li>\n<li style=\"margin-left: 56px;line-height: 21px;min-height: 0px;text-align: left\">They all launch on top of one another<\/li>\n<li style=\"margin-left: 56px;line-height: 21px;min-height: 0px;text-align: left\">They lack modern UI elements as seen in the MATLAB Desktop, such as a toolstrip<\/li>\n<\/ul>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">With MATLAB R2025a, we have redesigned how figures look and feel to take advantage of modern computing resources.By default, figures now launch into an undocked Figure Container:<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><img decoding=\"async\" class=\"imageNode\" style=\"vertical-align: baseline;width: 100%;height: auto\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figureContainer_R2025a.mlx-06-23-25_3.png\" alt=\"\" \/><\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Figure Container Features<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">The Figure Container has a variety of new features designed to make data exploration and organization of your figures easier.<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">New Figure Default Size<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Figures launch at a larger default size than in previous releases, calculated dynamically based on your screen size. The aspect ratio is different as well, designed with modern widescreen monitors in mind.<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Enhanced Persistence<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">When you interactively resize the Figure Container, that new size is remembered throughout your MATLAB session. So, if you close all your docked figures and then open a new one, that interactive position and size is restored.<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Figures as Tabs for Organization<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">By default, figures launch as tabs in a Figure Container. This organizes all your data exploration figures into one place. Figures can still be easily undocked \u2013 you can either drag &amp; drop them out of the Figure Container or launch them stand-alone programmatically:<\/div>\n<div style=\"background-color: #f5f5f5;margin: 10px 15px 10px 0;min-width: 100%\">\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 4px;padding: 6px 45px 4px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">f = figure(<span style=\"color: #a709f5\">'WindowStyle'<\/span>,<span style=\"color: #a709f5\">'normal'<\/span>);<\/div>\n<\/div>\n<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Tiling Figures<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Figures can be easily tiled within the Figure Container for visual comparisons. You can do this either from the toolstrip, interactively via drag and drop, or through our context menu! Watch this video to see these tips in action.<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><div class=\"row\"><div class=\"col-xs-12 containing-block\"><div class=\"bc-outer-container add_margin_20\"><videoplayer><div class=\"video-js-container\"><video data-video-id=\"6374741644112\" data-video-category=\"blog\" data-autostart=\"false\" data-account=\"62009828001\" data-omniture-account=\"mathwgbl\" data-player=\"rJ9XCz2Sx\" data-embed=\"default\" id=\"mathworks-brightcove-player\" class=\"video-js\" controls><\/video><script src=\"\/\/players.brightcove.net\/62009828001\/rJ9XCz2Sx_default\/index.min.js\"><\/script><script>if (typeof(playerLoaded) === 'undefined') {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== 'undefined') {videojs(\"mathworks-brightcove-player\").on('loadedmetadata', function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined, 10);}})();<\/script><\/div><\/videoplayer><\/div><\/div><\/div><\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Toolstrip and Side Panels<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">By default, all figures generated by the <span style=\"font-family: monospace\">figure()<\/span> command now launch with an integrated toolstrip and side panel tools. Stay tuned to the Graphics and App Building Blog for my colleague Travis's article on these new features!<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figureContainer_R2025a.mlx-06-23-25_4.png\" alt=\"\" width=\"100%\" height=\"auto;\" \/><\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Some Frequently Asked Questions<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Another quick trip in the DeLorean, and I'm back with some commonly asked questions when using the new workflow\u2026<\/div>\n<h3 style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><span style=\"font-weight: bold;font-style: italic\">What About App Workflows? Will Apps Launch Docked?<\/span><\/h3>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Many users use figures for app workflows, either using AppDesigner, or building them manually using the <span style=\"font-family: monospace\">uifigure <\/span>command. We automatically detect these workflows, and the apps launch undocked, without a toolstrip.<\/div>\n<h3 style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><span style=\"font-weight: bold;font-style: italic\">How About Scripts That Set Figure Position?<\/span><\/h3>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Many users also use scripts to launch figures and place them at a particular position on the screen using the <span style=\"font-family: monospace\">Position <\/span>property. How does that work for a docked figure?<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Previously, MATLAB would issue a warning if you tried to set <span style=\"font-family: monospace\">Position<\/span> on a docked figure. However, now in these circumstances, we do as you say! No need to worry about warnings; the figure will automatically undock and render at the specified position.<\/div>\n<div style=\"background-color: #f5f5f5;margin: 10px 15px 10px 0;min-width: 100%\">\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 4px 4px 0px 0px;padding: 6px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">f1 = figure(<span style=\"color: #a709f5\">\"Position\"<\/span>, [25 81 600 445]);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">colormap(f1,<span style=\"color: #a709f5\">\"nebula\"<\/span>);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">surf(peaks);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">[x,y] = meshgrid(-7:0.1:7);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">z = sin(x) + cos(y);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">contourLevels = 50;<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\"><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">f2 = figure(<span style=\"color: #a709f5\">\"Position\"<\/span>, [626 81 600 445]);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px;padding: 0px 45px 0px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">colormap(f2,<span style=\"color: #a709f5\">\"lines\"<\/span>);<\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 0px 0px 4px 4px;padding: 0px 45px 4px 13px;line-height: 18.004px;min-height: 0px;font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;font-size: 14px\">contour(x,y,z, contourLevels, <span style=\"color: #a709f5\">\"LineWidth<\/span>\", 2);<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><img decoding=\"async\" class=\"imageNode\" style=\"vertical-align: baseline;width: 100%;height: auto\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figureContainer_R2025a.mlx-06-23-25_5.png\" alt=\"\" \/><\/div>\n<h3 style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><span style=\"font-weight: bold;font-style: italic\">Are There Other Auto-Undock Features?<\/span><\/h3>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Like setting <span style=\"font-family: monospace\">Position<\/span>, some other Figure name-value argument combinations will automatically undock your figures. These properties include <span style=\"font-family: monospace\">Position<\/span>, <span style=\"font-family: monospace\">OuterPosition<\/span>, <span style=\"font-family: monospace\">Resize<\/span>, <span style=\"font-family: monospace\">WindowState<\/span>, <span style=\"font-family: monospace\">MenuBar<\/span>, <span style=\"font-family: monospace\">Toolbar<\/span>, and <span style=\"font-family: monospace\">DockControls<\/span>. This behavior occurs because certain values for these properties are inconsistent with the nature of a docked figure. We recognize that users\u2019 existing scripts may set these values, so to preserve script compatibility, figures are automatically undocked when any of these property-value combinations are applied.<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Similarly, setting a figure\u2019s <span style=\"font-family: monospace\">MenuBar <\/span>property to \u2018<span style=\"font-family: monospace\">figure<\/span>\u2019 will convert the figure from containing a toolstrip to containing a MenuBar instead. This will also undock the figure since all the figures docked into the Figure Container have a toolstrip.<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">More information on specific properties can be found on our <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/ref\/matlab.ui.figure.html\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline\">Figure Properties help page<\/span><\/a>.<\/div>\n<h3 style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><span style=\"font-weight: bold;font-style: italic\">Why is WindowStyle still \u201cDocked?\u201d<\/span><\/h3>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Okay, okay, but why is the <span style=\"font-family: monospace\">WindowStyle <\/span>still \u2018<span style=\"font-family: monospace\">docked<\/span>\u2019 if the figures are all in an undocked container?<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">We understand; these figures <span style=\"font-style: italic\">feel<\/span> a bit undocked. The key thing to be aware of is that the <span style=\"font-family: monospace\">WindowStyle<\/span> property applies to the <span style=\"font-style: italic\">figure itself<\/span>, not the container the figure is docked into. So, the Figure is docked, but the container is not. I know \u2013 \u201cheavy, Doc!\u201d<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">In this case, we are prioritizing compatibility with previous releases; documents docked into floating windows have historically been considered \u201cdocked\u201d for the figure\u2019s <span style=\"font-family: monospace\">WindowStyle <\/span>property!<\/div>\n<h3 style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><span style=\"font-weight: bold;font-style: italic\">What if I Want the Figure Container Docked in the Desktop?<\/span><\/h3>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">The tabbed container itself can also be docked into the desktop! To do so, click on the dock button in the Figure Container here:<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline;width: 985px;height: 148px\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figureContainer_R2025a.mlx-06-23-25_6.png\" alt=\"\" width=\"985\" height=\"148\" \/><\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">As You Try It Out, We Would Love Your Feedback!<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">While we may still be waiting on hoverboards, flying cars, and self-sizing sneakers, we\u2019re thrilled to bring you a more modern and flexible figure experience in MATLAB. We hope you\u2019ll take the new Figure Container out for a spin and see how it can enhance your workflows. (Just keep it under 88 MPH.)<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">We\u2019d love to hear what you think\u2014feel free to leave a comment below or use the feedback button on the \u201cHome\u201d tab of the MATLAB Desktop toolstrip.<\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><img decoding=\"async\" loading=\"lazy\" width=\"992\" height=\"206\" class=\"size-full wp-image-2446 alignnone\" src=\"http:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/R2025aIntro_3.png\" alt=\"\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">And be sure to check back soon when my colleague Travis dives into the evolution of the new Figure Toolstrip.<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px;padding: 0px;line-height: 25px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 20px;font-weight: bold;text-align: left\">Help Shape the Future of MATLAB&#x1f52c;<\/h2>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\">Much of what we build is inspired by how you use our products. If you'd like to help guide future development, consider becoming a UX research participant. <a href=\"https:\/\/www.mathworks.com\/products\/usability\/sign-up.html?s_tid=ux_blog\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: bold\">Sign up here. <\/span><\/a><\/div>\n<div style=\"margin: 2px 10px 9px 4px;padding: 0px;line-height: 21px;min-height: 0px;font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-style: normal;font-size: 14px;font-weight: 400;text-align: left\"><\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<p><script type=\"text\/javascript\">\n{ let css = '';\nlet head = document.head || document.getElementsByTagName('head')[0];\nlet style = document.createElement('style');\nhead.appendChild(style);\nstyle.type = 'text\/css';\nif (style.styleSheet) {\n    style.styleSheet.cssText = css;\n} else {\n    style.appendChild(document.createTextNode(css));\n}<\/p>\n<p>}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/graphics-and-apps\/files\/2025\/06\/figContainer_0.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div>\n<p>Guest Writer: Brian Knolhoff<br \/>\nBrian is a software engineer on the Figure Infrastructure and Services team at MathWorks. \u00a0After first encountering MATLAB while calibrating radar systems, he now... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/graphics-and-apps\/2025\/06\/24\/introducing-the-tabbed-figure-container\/\">read more >><\/a><\/p>\n","protected":false},"author":198,"featured_media":2751,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,20,1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/posts\/2715"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/users\/198"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/comments?post=2715"}],"version-history":[{"count":26,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/posts\/2715\/revisions"}],"predecessor-version":[{"id":2802,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/posts\/2715\/revisions\/2802"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/media\/2751"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/media?parent=2715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/categories?post=2715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/graphics-and-apps\/wp-json\/wp\/v2\/tags?post=2715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}