{"id":122,"date":"2007-10-22T12:06:50","date_gmt":"2007-10-22T17:06:50","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2007\/10\/22\/tiling-without-a-wet-saw\/"},"modified":"2007-10-22T12:06:50","modified_gmt":"2007-10-22T17:06:50","slug":"tiling-without-a-wet-saw","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2007\/10\/22\/tiling-without-a-wet-saw\/","title":{"rendered":"Tiling without a Wet Saw"},"content":{"rendered":"<p>The various desktop tools that contain documents (the Editor, Array Editor, Figures container, etc) display one document at a time by default.   Tiling allows you to see more than one document at a time.  For example, in the Editor you might want to see two files side-by-side as shown below.<\/p>\n<p><img decoding=\"async\" id=\"image123\" alt=\"Left\/Right Editor Tiling\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/LeftRightEditorTiling.png\" \/><\/p>\n<p>To achieve this, choose \u201cLeft\/Right Tile\u201d from the Window menu or the Editor toolbar.  Alternatively, you can choose \u201cTop\/Bottom Tile\u201d to view one file above another.  If you have more than two files open, the tiles will be populated with the file that was showing, plus the one that appears after it on the document bar.  Once you have create the tiles, you can make any file appear in a particular tile simply by dragging from its document bar button into the tile.  Alternatively, you can use the Tile dialog, displayed by choosing Window->Tile&#8230; from the menu bar, to select which files should appear in advance.<\/p>\n<p>You can tile documents into an arbitrary n x m grid by using the tiling widget depicted below.<\/p>\n<p><img decoding=\"async\" id=\"image129\" alt=\"Choosing a 2 x 2 Tile Grid\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/ChoosingTileGrid1.png\" \/><\/p>\n<p>It\u2019s not clear why you would want to display more than two text files at a time but if you do, have at it.  On the other hand, it\u2019s easy to envision situations where you would like to see more than two MATLAB figures at once.  The following shows the result of selecting a 2 x 2 grid when there are three figures open.<\/p>\n<p><img decoding=\"async\" id=\"image125\" alt=\"Three Figures in 2 x 2 Grid\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/ThreeFiguresIn2x2.png\" \/><\/p>\n<p>When you specify a new grid, the open figures are dealt into the tiles by row and then column according to their order of appearance on the document bar, starting with the currently selected document.  In the above case there was one less figure than the number of tiles so the last tile remained empty.  You can tailor the tiling for three documents by removing the divider in the bottom half of the grid.  To do this, hover of the small dot at the center of the divider.  An [x] button appears.  Click the [x] and the bottom tiles will merge into one.<\/p>\n<p><img decoding=\"async\" id=\"image126\" alt=\"Three Figures in Three Tiles\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/ThreeFiguresIn3Tiles.png\" \/><\/p>\n<p>Removing a divider never closes a document.  For example, if you remove the divider between the two figures in the upper half of the Figures container depicted above, both figures remain open, one on top of the other.  You can also subdivide any tile by right clicking on the title bar of the document it contains (or on the background if it doesn\u2019t contain a document).  The right click context menu offers options to subdivide the tile left\/right or top\/bottom.<\/p>\n<p>You can carry this subdividing and merging business well beyond the point of utility.  Witness the following tile arrangement:<\/p>\n<p><img decoding=\"async\" id=\"image127\" alt=\"Useless Tiling\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/DeeplyNestedTiling.png\" \/><\/p>\n<p>You can even turn it into a bit of a game; How many subdivisions and merges do you need to arrive at this arrangement?<\/p>\n<p><img decoding=\"async\" id=\"image128\" alt=\"Tiling Puzzle\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/TilingPuzzle.png\" \/><\/p>\n<p>Clearly this post has now gone beyond the limit of utility.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The various desktop tools that contain documents (the Editor, Array Editor, Figures container, etc) display one document at a time by default.   Tiling allows you to see more than one document at a&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2007\/10\/22\/tiling-without-a-wet-saw\/\">read more >><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/122"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}