8.3.4 Graph with Browser Panel
Graph-BrowserWindow-view Graph with Browser can be used to selectively plot of datasets from worksheets containing a large number of columns. The Browser Graph has a panel on the left-side of the window that is used to select available data (chosen randomly or by pattern), control rescale on data change, set a common display range for all plots, or remove plots.
- Activate the source worksheet, highlight some columns or highlight nothing to select Plot> Browser: Black Lines/Color Lines/Histogram/Stack...
Listing Plots by Data Info
List the plots by data info, including Data Range, Short Name, Long Name, Comments, Units , Book , Sheet or Column Index. When columns in the sheet are > 26 and no Long Name exists, Column Index is shown in place of Short Name.
- Click on any column header to reorder plots according to current data information in the ascending order or descending order.
- Right-click on the column header to show or hide column headings; or to set the current configuration as default (Set as Default).
Listing all plots in the same matrix sheet
Create a Contour or Image plot from one matrix object, then all matrix objects in the same matrix sheet will be listed in the Browser panel. Click data info in the list to switch to different matrix object plot.
Browser Window Controls
Click on the button to show the Browser menu:
| For most graph type
|| For Contour and Image Plot created from matrix
Select or unselect plots. You can select one menu item to select all plots, unselect all plots or select every Nth plots. And, you can also flip through plots with specified steps in the Flip Through dialog.
Enter the step length in the Move By box and click the right-triangle or left triangle button to browse the plots. For example, when you enter 2, you can click the triangle button to browse the every second plot.
Auto Rescale Mode
Specify the auto rescale mode, do not auto-rescale, only auto-rescale the Y axis or auto-rescale all axes.
Directly Edit Column Labels
Check this option to allow direct editing of column labels in the Browser panel:
- Click the menu button and place a check mark beside Directly Edit Column Labels.
- Note that if you want to add comments and you do not see that column, you need to right-click in the column heading area and place a check mark beside Comments.
- Drag column headings to reorder.
Common Display Range
Specify whether uses the smallest data range in all plots as common display range to display all data points in this range for all plots.
This mini tutorial will show you how the Common Display Range works:
- Import the sample file "<Origin program folder>\Samples\Graphing\Waterfall.dat" into a new workbook.
- Select the first row and right-click to select "Set as Lone Name" context menu.
- Highlight all columns to select Plot> Browser: Color Lines to plot a browser graph.
- Click the arrow button at the left-top corner of the graph window to make sure the Common Display Range has been selected.
- Select the first plot "600" in the left panel and then select Data:Edit Range to set the range as below:
- Click other plots in the left panel, you will see the display range of all these plots have been set to the customized range above.
This menu item works same as the LabTalk command "layer.commonrange=1;".
Stack Lines by Y Offest
When you plot line/histogram browser, you can select this menu item to stack the selected lines by a Y offset. By default, the offset of the stacked lines is Auto as 8% of the current layer height.
Adding More Columns
Once you were browsing the plots, you can decide to add more relative columns into the first layer of graph in the browser:
- All Columns from Same Sheet: Add all columns in current worksheet into current graph layer; for stack graph, the columns will be added into layer 1 of the graph
- Similar Columns from Same Book: Add the similar columns from the same workbook into current graph layer; for stack graph, the columns will be added into layer 1 of the graph
- Similar Columns from Other Books: Add the similar columns from other selected workbook into current graph layer; for stack graph, the columns will be added into layer 1 of the graph
Panel Shortcut Menu
Right-click in the panel to produce a shortcut menu:
- Remove: Removes the selected plot(s).
- Remove Unselected: Removes all but selected plot(s).
- Go to ...: Go to the worksheet and select source column(s).
- Spawn New Graph: Create a new graph window of just the selected plot(s).
Choosing Go to ... activates source data for your current Browser plot(s). To isolate that data, (a) right-click in the column label row area of one of the selected worksheet columns and choose Copy (including label rows), (b) go to a fresh worksheet and select the entire sheet by clicking in the blank cell at the intersection of column and row labels, (c) then paste.
Common Z Range
This option is only for Contour and Image Plot created from matrix.
Creating a new Contour or Image graph, this option is checked by default. And the plots will use the minimum and maximum Z value of all plots as From and To for colormap level.
Rescale Z range
Active any plot in the plot list in left panel and click the Rescale button, the plots in the graph will use the minimum and maximum Z value of all plots as From and To for colormap level.
Active a plot in the plot list in left panel and click the Rescale button, the plots in the graph will use the minimum and maximum Z value of active plot as From and To for colormap level.
Plotting Multi-Panel Stacked Graph in the Browser
Since Origin 2021, Origin supports to plot stacked multi-panel graph with the browser panel:
- Select Plot> Browser: Stack... menu to open the Stack:plotstackbrowser dialog.
- Select a column label row as Group By, and select Bstack as Graph Template; set the gap between the layers and margin around the panels.
- Click OK button to plot the stacked graph.
You can specify a custom template to plot your Browser Stack graph. See Notes on this page for more information.
Once the stacked graph has been plotted, if the Group By row has N values, there will be N layers stacked in the graph. All Y columns grouped by the first grouping value will be plotted into the first panel and the other columns with same grouping value will be plotted into one graph layer according to the grouping values one by one.
In the Browser panel, all columns plotted in layer 1 will be listed there row by row,
- By default, the Show/Hide Plots with Same control has been set to Index. That means when you selected one or more columns at once, the other Y columns with same plot index in the other layers will show up.
- If you set the Show/Hide Plots with Same control to Name, when selected one or more columns at once, the other Y columns with same name(grouping value) in the other layers will show up .
General Operations on Graph/Layer/Plots
All graphing operations can be performed on the displaying plot(s) in the right graph panel, including customize the axes in the Axis dialog, set the plot styles for the plot(s) and do settings on the layer and graph level in the Plot Details dialog. And, the mini toolbars are also available for this kind of graph.
And, just like the general graphs, you can open the analysis dialogs/tools to perform further data exploration.
Two things need be noted are
- Once you done plot selection in the left panel, the Plot Details dialog will persisted the selection in the left panel tree.
- When you plotted a stack graph with browser panel, in the page-level Layers tab of Plot Details dialog,
- the Show/Hide Plots with Same control will be set to Index by default, which means when you select any plot in the browser panel, all plots in different layers but with same index will show up.
- the Layers radio box of the Apply to control will be selected and Exclude will be selected from the following drop-down list, then you can enter a layer number to exclude the layer when apply the common display settings above.
- The Object Manager will only show the graph and layer tree nodes, hide all plots.
Spawn New Graph
Use this to plot the current Browser selection(s) as a separate graph window in Window View Mode:
- Right-click on your plot selection in the Browser panel.
- Choose Spawn New Graph.