OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 
Skip Navigation Links
All BooksExpand All Books
TutorialsExpand Tutorials
GraphingExpand Graphing
StatisticsExpand Statistics

6.10.5 Overlapping Box Chart


Summary

All Origin graphs are created from a graph template. Templates serve to recall previous customizations but they also serve as a starting point for new customizations. This tutorial will show you how to create the following highly-customized box chart:

Overlapped Box Chart 01.png

Minimum Origin Version Required: 2016 SR0

What you will learn

  • Customize box plot settings
  • Customize the axis dialog for box plots
  • Merge and link several graphs
  • Exchange X-Y axis

Steps

This tutorial is associated with <Origin EXE Folder>\Samples\Tutorial Data.opj.

Create the First Box Chart

  1. Open the Tutorial Data.opj and browse to folder Overlapped Box Chart.
  2. Activate workbook Book1B and Sheet1. Highlight columns B through F, then click Plot>2D: Box: Box Chart. A box chart is created.
  3. Select and delete the legend object from the graph.
  4. Double-click on any box in the plot to open the Plot Details dialog box. Go to the Group tab and set the Increment for Border Color to None (other elements should already be set to None).
    Overlapped Box Chart 02.png
  5. Go to the Pattern tab and duplicate settings as shown below.
    Overlapped Box Chart 03.png
  6. Go to the Spacing tab and set Gap Between Boxes (in%) to be 40.
    Overlapped Box Chart 04.png
  7. Go to Box tab and duplicate settings as shown below.
    Overlapped Box Chart 05.png
  8. Go to Percentile tab and clear all symbols. Click OK to close the dialog.
    Overlapped Box Chart 06.png

Create the Overlapped Box Chart

  1. Right click the graph window title bar and select Duplicate. Repeat twice more. You should now have four identical graph windows.
    Overlapped Box Chart 07.png
  2. Double-click any box in Graph2 to open Plot Details. Go to the Box tab and set the Coef value to be 0.95, Box Width (%) to be 15 and no Whisker.
    Overlapped Box Chart 08.png
  3. Repeat step2 for Graph3 with Coef = 0.75, Box Width (%) = 40 and no whiskers .
  4. Repeat step2 for Graph4 with Coef = 0.5, Box Width (%) = 70 and no whiskers.
    Overlapped Box Chart 09.png
  5. Select Graph: Merge Graph Windows to open the merge_graph dialog box. Duplicate the settings as shown below and click OK.
    Overlapped Box Chart 10.png
  6. Select Graph: Layer Management from the menu to open the dialog box.
  7. Select Layer2 and go to the Link tab. Duplicate settings as shown below and click Apply.
    Overlapped Box Chart 11.png
  8. Go to the Axes tab, clear all checkboxes and click Apply.
    Overlapped Box Chart 12.png
  9. Repeat Steps 7~8 for layer3 and Layer4. Click OK to close the dialog box.
    Overlapped Box Chart 13.png

Do Further Customizations

  1. Double-click the Y axis to open Axis Dialog box. Go to the Scale tab and duplicate settings as shown below for the Y axis (Vertical).
    Overlapped Box Chart 14.png
  2. Go to the Tick labels tab and duplicate settings as shown below.
    Overlapped Box Chart 15.png
    Overlapped Box Chart 15b.png
  3. Go to the Grids tab and duplicate settings as shown below.
    Overlapped Box Chart 16.png
  4. Go to the Line and Ticks tab, hold Ctrl key to select both Bottom and Left icons, then select Use Same Options for Bottom and Top, and change the line and ticks setting as below.
    Overlapped Box Chart 17.png
  5. Go to the Tick labels tab again. Duplicate settings as shown below for X axis, after this, click OK to close the Axis dialog and apply all settings:
    Overlapped Box Chart 19.png
    Overlapped Box Chart 19b.png
  6. Right-click the Y axis title and select Properties.... Duplicate settings as shown below and click OK.
    Overlapped Box Chart 20.png
  7. Activate Layer1 by clicking on the layer icon at the upper-left corner of the graph window. Select Graph: Exchange X-Y Axes.
  8. Resize and/or reposition the graph layer as needed, so that everything fits comfortably within the graph window.
Overlapped Box Chart 01.png
 

© OriginLab Corporation. All rights reserved.