6.1.8 Error Bars with Fill Area


This graph displays three datasets with error bars. The error bars have been set to draw as lines with fill areas. Transparency has been set for all three curves so that data in overlapping regions can be clearly seen.

Error Bars with Fill Area 01.png

Minimum Origin Version Required: Origin 8.5.1 SR0

What you will learn

  • Plot the error bar with fill area
  • Set transparency for error bar
  • Set and save custom color


This tutorial is associated with <Origin EXE Folder>\Samples\Tutorial Data.opj.
Also, you can refer to this graph in Learning Center. (Select Help: Learning Center menu or press F11 key , and then open Line and Symbol)

  1. Open Tutorial Data.opj and browse to the Error Bars with Fill Area folder in Project Explorer (PE).
  2. Highlight all columns in the worksheet. In the main menu, select Plot > Basic 2D : Line.
    Error Bars with Fill Area 02.png
  3. Double-click on the plot to open the Plot Details dialog. Select the first plot node under Layer1 in the left panel. In the right panel activate the Group tab. Choose Independent in Edit Mode.
    Error Bars with Fill Area 03.png
  4. On the Line tab set Width as 3. To set a custom color click on the button right to Color and select Custom from the drop list.
    Error Bars with Fill Area 04.png
    Right-click on the Custom button to bring up Color dialog. Click on Define Custom Colors to expand the right panel. For further use save the custom color in the Custom colors: palette:
    1. Select an blank box under the Custom colors: palette.
    2. Set Red, Green, Blue as 155, 187, 89 respectively in the right panel.
    3. Click Add to Custom Colors to save this color to the Custom colors palette.
    Error Bars with Fill Area 07.png
    Click OK to close the dialog. Set Transparency as 50
  5. Repeat the step 3 for the other two plots. Except, set the colors of the second plot and the third plot as RGB(192, 80, 77), RGB(79, 129, 189) respectively.
  6. In the left panel, select the first of the three error plots. On the Error Bar tab, set Connect as Straight, then the Fill Area Under Curve option will show up in Style section. Check the box before it and the Pattern tab should now be available.
    Error Bars with Fill Area 05.png
    Set Color as Automatic.
  7. On the Pattern tab, change the fill color to the custom color saved before to match the line color, and set Transparency to 50.
    Error Bars with Fill Area 06.png
  8. Repeat the last two steps for the other two error plots. Click OK to complete the graph.