Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(ORG-79237803)(star)

...

Sample OPJ to download to try: Smart Labeling of Data Labels

...

In the past, for dense data, if user turned on labels, many labels would overlap with one another and hard to read. By Auto position feature in Origin9.1,

  • Origin automatically calculates data label positions to avoid overlapping in X, Y or both directions.
  • Leader lines are added to those data labels that will exceeds some offset threshold after reposition.

Image RemovedImage Removed

 

Image RemovedImage Removed

Attach Data Labels To top Y axis and Auto Position

On Labels tab, user can set Data Labels to be attached to a Horizontal Line (Y line), Vertical Line (X line) instead of default attachment to data point and auto reposition in the other direction to avoid overlapping. Leader Line can be set to Polyline type.

Image RemovedImage Removed

 

  • Attach: Y Line – So the Y position of the data label will be aligned to horizontal Y line. Y1 means bottom X, Y2 means Top Y, user can also use other Labtalk variables.
  • Y Offset to -500.
  • Position Below.
  • Rotate: 270 so text read from top to bottom.
  • Auto Reposition to Avoid Overlapping: X.
  • Leader Line Connect: Polyline Vert.

 

Smart Peak Labeling

Image RemovedImage Removed

 

Special Point Data Labeling

.opj

Table of Contents
maxLevel2
minLevel2

Attach Data Labels to Top Y axis and Auto RePosition

Image Added
Image Added

How to:

  1. Select col(K) in Label Form dropdown list.
  2. Select Position dragdown be Below to align all labels by top.
  3. Set Attach to and X/Y Value to attach labels to a fixed Horizontal or Vertical Line position.
    X1, X2, Y1, Y2 means start and end value of X/Y axis.
  4. Check Auto Reposition to Avoid Overlapping checkbox and set Reposition Direction to be X to specify only X offest in reposition calculation.
  5. Check Leader Line: Show Leader Line if Offset Exceed(%) checkbox and select Polyline-Vert in Connect dragdown to show vertical polynomial leader line.
    The value beside Connect specifies the percentage of diagonal part in horizontal/vertical direction.

Attach Data Label to a Fixed Y Line and Auto Position

Image Added
Image Added

How to:

  1. Select Position dropdown be Below to align all labels by top.
  2. Set Attach to and X/Y Value to attach labels to a fixed Horizontal or Vertical Line position. In this example, attach to Y = -0.017.
  3. Check Auto Reposition to Avoid Overlapping checkbox and set Reposition Direction to be Y to specify only Y offest in reposition calculation.

Special Point Data Labeling

Image Added
Image Added

How to:

By default, when click on data label and customize or move it, it will move all data labels.

User can click again to select a special label or Ctrl+click to select a single label text. User can drag it to new position.

...

Ctrl+Double click to open Plot Details dialog. Individual node will be created for special point. User can go to Labels tab to customize the special point's label.

Image RemovedImage Removed

 

 

 

 

...

Or double click the special label to customize it. An individual node 7(row index) will be created on the left panel for special point.

For Special label, if Auto Reposition to Avoid Overlapping is selected, it will change with all data labels. If it's clear, changing other labels will not affect the special label's position.