4.3.2 Scrolling and Simple Data Selection in the Worksheet


Contents

Plotting and analysis operations are generally performed on selected data in the active worksheet.

Note: Many of Origin's X-Function-based dialog boxes have one or more interactive range selection controls that, when activated, allow the "hunt" for data in the Origin project. Use of this control is covered under Specifying Your Input Data.

Unused Worksheet Cells, Shaded Background and Missing Values

Beginning with Origin 2019, "unused" worksheet cells have a shaded background. This was added to clarify which column data are being counted in plotting and analysis operations. In the following image, you can see that in column A(X), there are three unused cells, followed by a sequence of seven used cells, followed by another sequence of unused cells.

Window Properties Unused Cells i1i2.png


A few things to note:

  • The (middle) sequence of used cells contains data-containing cells, empty cells, and cells showing the missing value symbol ("--").
  • Within a given column, those cells of index number less than the first used (unshaded) are considered to be "<i1" -- that is, less than the index of the first used cell in the column. Additionally, those cells of index number greater than the last used cell are considered to be ">2" -- that is, greater than the index of the last used cell in the column.
  • Index numbers "i1" and "i2" are two values that Origin uses internally to define a column row range to be considered in plotting and analysis operations. We say "considered" because, depending on the operation, empty cells or cells containing missing values may be counted or they may not be counted (consult documentation for individual tools to determine how empty cells and missing values are handled). For the most part, the user needn't bother with quantities "i1" and "i2". The background shading of worksheet cells will be your visual indicator of "unused cells."
  • Prior to Origin 2019, if you skipped over cells while entering data manually into a column, or you clicked on a cell and chose Clear from the Edit or shortcut menus, a missing value symbol ("--") was placed into the worksheet cell. Beginning with Origin 2019, those skipped cells will display as empty, by default. To revert to the pre-2019 behavior, set LabTalk System Variable @CDB = 0 (for information on changing the value of a system variable, see this FAQ).

You can manually add the missing value symbol ("--") to worksheet cells in 2019 without changing the value of @CDB. See Missing values in the worksheet or matrixsheet for information.

Selecting cells (contiguous or non-contiguous selection)

MT extend wks selection to last row.png

Note: Pressing the CTRL key, you can make non-contiguous selections within a single column of worksheet data. Each selection creates a separate plot. Multiple non-contiguous selections, when plotted, will create a plot group, with a Group tab being added to the graph's Plot Details dialog box.

Selecting columns (contiguous or non-contiguous selection)

Selecting rows (contiguous or non-contiguous selection)

Selecting the entire worksheet

To select all the columns in the worksheet, do one of the following:

Scrolling to a specified column or row number

To find a specific column or row in the worksheet:

  1. Choose Edit: Go to or right-click inside the worksheet window (but to the right of the worksheet grid) and select Go to from the shortcut menu.
  2. In the Data Exploration dialog, type the column/row number in the Go to Column/Go to Row text box and click OK. Specifying both the column and row number, will find the intersecting cell.