2.1.6 Object Manager
Object Manager Overview
Object Manager helps you
- manage the data plots in the active graph window.
- It is a one panel window showing what are contained in the graph window -- layers, plot groups (if any), plots and special points (if any), in a tree-node structure.
- (a). Every plot item consists of a symbol icon (a color scale thumbnail if contour or colormap surface) and the plot name that follows.
- (b). The plot name is programmatically linked to the source data like Graph Legend.
- manage the sheets in the active workbook and matrix window.
- It is a one panel window showing what are contained in the workbook/matrix window -- booksand sheets, in a tree-node structure.
- The short name of the book and its sheets will be listed.
To open the Object Manager
- Select View: Object Manager from the main menu.
To hide, dock/undock the Object Manager
- Right-click the Object Manager title bar to auto float, dock, hide or auto hide the window.
Interaction between Object Manager and Graph Window
Switch the View Mode
Right-click on the white space under the plots, you can choose View in Order of Appearance or View in Drawing Order to change the view mode of plots in current graph:
- View in Order of Appearance: View the plots in the order of appearance in graph.
- View in Drawing Order: View the plots in the drawing order.
Select a graph element
- Select an element (layer, group, plot or special point) in the Object Manager to select the corresponding element in the graph window and vice versa. Note: If a plot is part of a plot group, clicking once on the plot selects the group; clicking a second time selects the individual plot.
For a graph layer with Scatter, Line or Line+Symbol plots, selecting a single plot in Object Manager as shown below, will fade the other plots in the layer. Conversely, if you select a single plot in the graph window, other plots in the layer will be faded (see the Note below on @PSFF).
- In the Object Manager, you can move the selection using the up and down arrow keys; in the graph, move plot selection using the left and right arrow keys.
- You cannot select error bars separately, and if you select a plot which has error bars, the error bar fade will follow the parent plot.
- When there are multiple layers, Origin will check if the layers are overlapped. When you select a plot, Origin will fade out all other plots, including plots in the overlapped layer(s). Plots in layers that are not overlapped will not be faded.
- When you select a plot, this plot becomes the active plot.
- You are only allowed to select single one plot at one time, even though you are using the hot keys "Ctrl+click" and "Shift + Arrow key" like in the Object Manager panel of a workbook window.
- When you select a group in Object Manager (denoted by gN in the Object Manager), all plots within it will be highlighted by showing a sampling of data points in bold. You can use the system variables @DTB to set the number of highlighted data points of each plot.
|Note: You can use the system variable @PSFF to set the degree(in %) of fading out for the unselected plots. The default value is 25, setting to a negative value will turn off the fade-out selection mode and go back to the old selection behavior (showing a sampling of data points in bold) as below:
- Hide/Show an element (layer, group, plot and special point) by deselecting/selecting the checkbox before the item.
- Hide/Show a set of plots with the same name by right-clicking on one of the plots and selecting Hide/Show Plots with Same Name.
- Show a set of plots with the specific name only and hide all others by right-clicking on one of the plots and selecting Show Plots with Same Name Only.
- Show all plots in the graph by right-clicking on any of the plots and selecting Show All Plots.
- Hide all plots in the graph by right-clicking on any of the plots and selecting Hide All Plots.
When working with imported shapefiles (.shp), you can make shapefile features (points, polylines, polygons) selectable in the graph window and in the Object Manager by right-clicking on a component and placing a check mark beside Selectable. To prevent a component from being selected, clear the check mark.
Rename Matrix Object / Virtual Matrix Z title
The Long Name of Matrix Object / Virtual Matrix Z title can be customized by Object Manager for the graph.
Create a Contour / 3D plot by Matrix or Virtual Matrix. When the graph window is active, right-click on the plot in the Object Manager and select Rename from the context menu, then you can enter the Long Name for the Matrix Object or Virtual Matrix.
Note: Here rename the Long Name of Matrix Object or Virtual Matrix, but not the Graph Long Name.
To rename the Matrix Object , you also can use Matrix Properties dialog
To rename the Virtual Matrix, you also can use Virtual Matrix Manager dialog
Moving plots within the group
The drawing order in the layer is determined by the order of the plots in the Layer Contents - Plot Setup - Object Manager list. The plots are drawn following the list order; the first plot at the top of the list is plotted first and the bottom one plotted last. Thus, drawing order has implications for overlapping plots as well as assignment of plot styles by increment list in grouped plots.
- Select a plot, right-click and select Move up or Move Down to move the plot up and down in the list, including within a group (i.e. beneath a gN element). To keep the symbol/line color of a plot when moving it up or down inside a group, right-click on the group node (e.g. g1) to select Edit Mode: Independent before re-ordering the plots.
Moving plots in or out of the group
Use the following Object Manager shortcut commands to create groups or to remove plots from a group:
- Set as Group Begin: This sets the selected plot as the first plot in the plot group. Plots above this plot will be excluded from the group.
- Set as Group End: This sets the selected plot as the last plot in the plot group. Plots below this plot will be excluded from the group.
- Move out of Group: This removes the selected plot from the plot group. This does not remove the plot from the graph window; to do that use Remove.
- To move plots between groups (within or between layers), simply drag plots in the Object Manager. Note that you cannot drag a plot to an empty layer (see Moving plots to other axes or layers).
Moving plots between layers
- Move Plot to 2nd Y Axis: Use this Object Manager shortcut command to simultaneously create a second axis and move the selected plot to that axis (layer). This is particularly handy for moving plots to another layer when the axis scale range is too wide to accommodate all plots in the layer. Of course, if the second layer have existed, you can right-click on the plot in the first layer and select this command to move the plot to the second layer.
- Move Plot(s) to Other Layer: Use this Object Manager shortcut command to move the selected plot to another layer. Selecting this shortcut menu will open the Move Plot : laymplot dialog. In this dialog, you can specify the plot(s) you want to move, the target layer and settings of new layer.
Note that in some situations, you can simply drag plots between layers but when this is not supported, you can use this menu command to add the selected plot to the layer.
Remove a plot or Remove Special Points
- You can remove a plot from the graph by right-clicking on the plot and selecting Remove from the context menu. The plots below the removed plot will move up and be assigned new plot indexes. Note that Remove removes the plot from the graph. If you only wish to hide a plot temporarily, choose Hide Data Plot in the graph window or clear the check box beside the plot in Object Manager.
- You can remove all special data points in a plot by selecting Remove All Special Points from the context menu.
- To remove special points individually, right-click on one special point and choose Remove from the context menu; or simply select the special point in the plot or in Object Manager and press DELETE.
Change plot type quickly
- To quickly change a plot type, select the target plot item, right click and select Change Plot To: desired plot type.
Go to the source workbook
- To activate the source workbook of a plot, select the target plot item, right click and select Go to source workbook.
Open the Plot Details, Layer Content, and Plot Setup dialog
- Context menus at graph, layer and plot levels provide options to open the Plot Details, Layer Content and Plot Setup dialog. The active level/plot in the dialog that opens varies depending on the level/plot item you have right-clicked at.
To open the Plot Details dialog, you can also double click on a item to open the dialog with that item selected.
Do specific operations on a group
There are some specific operations for a group.
Show all plots
Right-click on a group to select Show All Plots to make all plots under current group visible in graph window.
If you have done some selections to just show a few plots under a group in advance, you can use this menu item to show all plots back.
Hide all plots
Right-click on a group to select Hide All Plots to make all plots under current group invisible in graph window.
Rename a group
Right-click on a group to select Rename. The group name (Long Name) is in edit mode. You can then enter a new name. This group name will show in the plot list at the bottom of Data main menu and also show as tool-tip in the Layer Content dialog when mouse hovers over the group column.
Ungroup the plots
Right-click on a group to select Ungroup to ungroup all plots under current group.
To re-group these plots or group some sequential plots, right-click on the first plot you want to group, select Set as Group Begin context menu, then all the subsequent plots will be grouped up with this first plot.
Reorder the grouped plots
Although the plots under a group are treated as a unit, you are allowed to reorder them by right-clicking on a plot and selecting Move Up and Move Down context menu.
Remove a group
Right-click on a group to select Remove to remove the whole group pf plots from current layer. You can select Edit: Undo main menu or press Ctrl+Z hotkey to undo the deletion.
Change the edit mode for grouped plots
Right-click on a group to select Edit Mode: Dependence or Edit Mode: Independence to change the edit mode of the plots under this group.
Change plot type for grouped plots
Right-click on a group to select Change Plot to: ### to change the plot type of current group.
Go to other relative dialogs
Right-click on the group to select Plot Details... or Layer Contents... or Plot Setup... context menu to switch to other relative dialog.
Reverse Plot Order in a layer
Once you plotted multiple plots in a layer, you can right-click on the Layer node in Object Manager to select Reverse Plor Order to reverse order for all plots in current layer.
Please note, Origin will keep plot properties for grouped plots when reverse order. So when the increment property of the grouped plots is not none, we should update the increment list so each plot has the same style after the plot order has been reversed.
Change Layer Order and Drawing Order
When you click on a layer in Object Manager, the layer will be selected in the graph (selection handles in graph not shown for clarity). You can use the context menus, Bring to Front, Bring Forward, Push Backward or Push to Back, to adjust the drawing order of the layers.
A couple of things to note:
- Reordering linked layers may produce an attention message about breaking links to parent layers. For purposes of reordering layers, you can safely break existing links as long as you do not subsequently change things such as relative layer positions or axis scales.
- Apart from layer order, drawing order can be affected by the Drawing order setting on the Layers tab of Plot Details. See this page for more information.
Interaction between Object Manager and Book Window
Since Origin 2020, Object Manager also lists all sheets in current workbook/matrix, and supports to interact with a workbook or matrix window at the sheet-level.
Right-click on any sheet, you can perform the basic operations on the sheet from the context menu, like the basic operations performed by selecting the context menu items on the worksheet tab itself.
- Select a Sheet.
- You can click a tree node to select a sheet in the workbook or matrix window. Click on the Book node to activate the first sheet. Please note, double-clicking on the book node can open the Window Properties dialog.
- Select multiple sheets
- You can make multiple selection by pressing Ctrl key and clicking sheets one by one. And, you can select multiple sheets by pressing Shift key meanwhile using the Arrow (up or down) key.
- Insert, Add and Delete a Sheet
- Right-click on any sheet node, you can insert a new sheet above, delete current sheet or add a new sheet at the last.
- Add Other Windows as a Sheet
- Add Graph as Sheet, Add Matrix as Sheet or Add Notes as Sheet.
- Copy and Paste a Sheet
- Right-click on the sheet tab and selecting Copy Sheet and Paste as New Sheet context menu item.
- Duplicate a Sheet
- You can select Duplicate Without Data or Duplicate to duplicate the current worksheet with data or without data
- Move and Reorder the Sheets
- You can drag&drop the sheets to reorder them, or use the Move menu items to re-arrange them.
- Comment a Sheet
- You can open the Name and Comments dialog to set the short name, long name and comments for current sheet.
- Exclude a Sheet from Plotting Dialog and Excel Export
- You can exclude some sheet to prevent them from being included in Plotting dialog and Excel Export dialog