Versions Compared

Key

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

Sample OPJ to download to try: Multi breaks and Other Axis Related.opj

ORG-298ORG-7708)(star)

Multiple Axis Breaks

 

How to:

  1. Double click the axis you want to add breaks on to open Axis Dialog.
  2. In Breaks node in left panel, choose the Number of Breaks you want to put on the axis (up to 7 breaks each axis). They are uniformly distributed by default.
  3. Modify each break's detailed setting, include Region From/To, Position, etc..Can use LabTalk command to modify the size of break gap. Both X/Y axis break would be effected by layer.x.breaks.gap
ExampleDescription
layer.x.breaks.gap = 100;When value is bigger than 30, means percent of one percent of the axis length. In this case, total width 1% of axis length.
layer.x.breaks.gap = 15;Value between 1-30 is used to expressed in 1/10 of major tick length. 15 means 1.5 times tick length.
layer.x.breaks.gap = 0;Follow @AB
layer.x.breaks.gap = -120;When value is negative, means unit is in 1/10 of point size. -120 means the gap will have 12 point size.

...

  1.  You can also use Labtalk command to enable the axis breaks.
ExampleDescription
layer.x.breaks.enable = 1;1 to turn on axis breaks on x axis, 0 to turn it off.
layer.x.breaks.count = 2;It means Number of Breaks = 2.
layer.x.break#.from = 5;

# could be numerical value. layer.x.break1.from=5 means Region From of the first break is 5.

layer.x.break#.to = 10;# could be numerical value. layer.x.break1.to=10 means Region To of the first break is 10.

...

Control Axis Break Gap Width

User can use the following property to control the axis break gap widthCan use LabTalk command to modify the size of break gap. Both X/Y axis break would be effected by layer.x.breaks.gap

ExampleDescription
layer.x.breaks.gap = 100;When value is bigger than 30, means percent of one percent of the axis length. In this case, total width 1% of axis length.
layer.x.breaks.gap = 15;Value between 1-30 is used to expressed in 1/10 of major tick length. 15 means 1.5 times tick length.
layer.x.breaks.gap = 0

...

;Follow @AB
layer.x.breaks.gap = -120;When value is negative, means unit is in 1/10 of point size. -120 means the gap will have 12 point size.