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
Column, Bar and PieExpand Column, Bar and Pie

6.7.3 Bar and Scatter Plot with Error Bar

Summary

Below graph is made of bar chart and scatter plot.

Bar and scatter plot.png

Minimum Origin Version Required: Origin 8.0 SR0

What will you learn

  • How to add a scatter plot to a bar graph
  • How to set the Plus and Minus error bar

Steps

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

  1. Open the Tutorial Data project and browse to folder Bar Plot with Errors in Project Explorer.
  2. Activate the workbook Book2N, right-click the col(C) to select Set as: Y Error from the context menu.
  3. Highlight Col(A), col(B) and col(C), select Plot: Column/Bar/Pie: Column from the main menu to plot a column graph with Y error bar.
    Bar and scatter plot image1.png
  4. Activate the graph window, and then select Graph: Exchange X-Y Axes.
    Bar and scatter plot image2.png
  5. Highlight the col(D) in the worksheet and then activate the graph window again. Select Graph: Add Plot to Layer: Scatter from the main menu to add the col(D) as scatter to the column graph.
    Bar and scatter plot image3.png
  6. Double-click the column graph to open the Plot Details dialog. Set the Color and Pattern options in the Fill group of Pattern Tab as below.
    Bar and scatter plot image4.png
  7. Select the scatter plot in the left panel, then set the Symbol as below. Then click OK button to close the dialog.
    Bar and scatter plot image6.png
  8. Activate the graph window, hold the Ctrl key and select the first bar to set its pattern as Dense as below from the Style toolbar.
    Bar and scatter plot image5.png
  9. Select Graph: Legend: Reconstruct Legend from the main menu to update the legend for graph.
  10. Right-click the legend to select Properties from the context menu to open the Objects Properties dialog. Set Background as Black Line. Then edit and move the legend as below.
    Bar and scatter plot.png
 

© OriginLab Corporation. All rights reserved.