Examples of Desktop Arrangements

About These Examples

Scan the illustrations in the following examples for a desktop arrangement similar to what you want, and then follow the brief instructions to achieve the arrangement. There are many different ways to accomplish the result; these instructions present just one way. The instructions might not apply exactly, depending on how your desktop looks before you start.

Tool Outside of Desktop and Other Tools Grouped Inside Desktop Example

This example shows two ways you can increase the size of a tool. One way is to move a tool outside of the desktop to increase its size. Here, the Help browser was moved outside of the desktop and made larger. To move a tool outside of the desktop, click the Undock button in the tool's title bar when the tool is in the desktop.

Another way to increase the size of a tool is by grouping tools together inside the desktop, and then accessing a tool via the tool's name in the title bar. Here the Command Window, Command History, Workspace browser, and Current Directory browser are grouped together. To achieve this, drag the title bar of one tool on top of the title bar of the tool(s) you want to group it with.

Image of MATLAB desktop showing Current Directory browser, Workspace browser, and Command History tabbed together, with the Command Window undocked from the desktop.

Maximized Tool in Desktop Example

This example shows a way you can temporarily increase the size of a tool so that it occupies the entire area of the desktop. In this example, the Command Window in the default desktop layout is temporarily maximized by clicking the Maximize button in the tool's title bar.

Image of MATLAB desktop with default layout showing the Maximize button in the Command Window being clicked.

In this example, the maximized Command Window is being returned to its size and position in the default desktop layout by clicking the Restore button in the title bar.

Image of MATLAB desktop showing Command Window maximized.

Minimized Tools in Desktop Example

Minimize a tool in the desktop to give the remaining desktop tools more space in the desktop. Minimizing is available on Microsoft® Windows® and The Open Group UNIX® platforms. In this example, the Command History in the default layout is being minimized to the left edge of the desktop.

Image of MATLAB desktop with default layout showing the Minimize button in the Command History being clicked.

In this illustration, the Command History has been minimized and appears as a button along the left edge.

Image of MATLAB desktop with default layout and the Command History minimized.

This illustration shows the minimized Command History being temporarily opened, as a result of clicking or hovering over the button.

Image of MATLAB desktop with default layout and the minimized Command History temporarily opened.

After using the Command History and clicking the button, or moving on to another tool, the Command History again becomes minimized as a button along the left edge.

This illustration shows the Command History being returned to the position and size it occupied in the desktop prior to being minimized by clicking the Restore button .

Image of MATLAB desktop with default layout and the minimized Command History being restored.

Tiled Documents in Desktop Example

When you open a document (for example, an M-file), it also opens the tool (for example, the Editor) if the tool is not already opened. Subsequent documents of the same type open in the tool and you can then arrange the documents within the tool. You can move a document on top of another document, so that the one on top hides the one(s) beneath it, or you can show multiple documents at once. This example shows two M-files side-by-side, as a result of selecting Window > Left/Right Tile (or the toolbar button).

When tools and documents are docked, you might want to save space by hiding toolbars and document bars. In this illustration, the desktop shortcuts toolbar is hidden. Select Desktop > Toolbar name to hide (or show) a toolbar. To see or move the document bar, select Desktop > Document Bar > Bar Position, and choose its location, for example, Top.

Image of MATLAB desktop with two M-files side-by-side in the Editor and the Command Window below it.

No Empty Document Tiles Example

To see more than two documents at once, select the Tile button and move the pointer across the gird that appears to select the number of tiles you want. The following "Before" illustration has four tiles, but only three documents are open. (The empty tile is gray.) You can move a document to any empty tile by dragging its title bar to the new location. To close an empty tile, position the pointer over the handle on the separator bar. It becomes a Close box, as shown here, which you click to close the empty tile. After clicking the Close box, the empty tile closes and the neighboring document expands as shown in the following "After" illustration. Similarly, click the Close box between two tiles containing documents, and one document becomes hidden. Note that preferences to show line numbers and M-Lint indicators have been cleared to provide more horizontal space.

Image of Editor showing three open documents arranged in a grid. The fourth tile in the grid is empty before, but after, the third document occupies it.

Maximized Documents Outside of the Desktop Example

This example illustrates a way to provide a large area for multiple documents, in this case, M-files maximized in the undocked Editor.

Image of Editor undocked from the desktop, showing two M-files open, at a maximum size. Only one M-file is in view at any given time. Use the document bar to access the M-file that is not in view.

Some common actions for working with documents outside of the desktop are

Floating (Cascaded) Figures in Desktop Example

This example illustrates multiple figures in the desktop. By default, figures open outside the desktop. Click the Dock button in each figure's menu bar to move the figures into the desktop.

You can float (also called cascade) the figures by selecting Window > Float, or clicking the Float button . To get even more screen area for the figures, hide the document bar as shown in this example — select Desktop > Document Bar > Bar Position > Hide.

Image of MATLAB desktop showing Workspace browser and Command Window in it, along with two figure windows. The figure windows float, that is, you arrange them freely within the Figure window area.

Undocked Tools and Documents Example

You can use tools and documents outside of the desktop. One way to achieve this is to first undock the tool from the desktop by selecting Desktop > Undock Toolname. Then undock documents from the undocked tool by selecting Desktop > Undock Documentname from the tool. If you undock all documents from a tool, an "empty" tool window remains.

In this example, one of the Editor documents, collatz.m, includes the name of the tool with it; the other Editor document, lengthofline.m, does not. Contrast this with the Variable Editor documents, where neither document window includes the name of the tool. This is because the Variable Editor was undocked from the desktop, the variables were undocked from the Variable Editor, and the "empty" Variable Editor window was closed. The tool's undocked documents remain open. If you closed the Editor, the lengthofline.m document would remain open. To close all undocked documents and their tools at once, select Window > Close All Documents from an undocked document window.

Image of MATLAB desktop and two Editor documents and two Variable Editor arrays open outside of the desktop. The two Editor documents are separate from each other, as are the Variable Editor variables.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS