8.3.4 Graph with Browser Panel
Window-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.
You can right-click on the column header to add and remove the columns.
Click on any column header to reorder plots according to current data information in the ascending order or descending order.
Browser Window Controls
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.
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.
Once you have selected some plots, you can use this menu item to remove the selected plots or unselected plots.
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
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.
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.