OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

Bar and Scatter Plot with Error Bar

Summary

Below graph is made of bar chart and scatter plot.

Image:Bar_and_scatter_plot.png

Minimum Origin Version Required: Origin 8.0 SR0

What will you learn

Steps

This tutorial is associated with the 2D and Contour Graphs: Column, Bar?Bar Plot with Errors folder in the 2D and Contour Graphs project (\Samples\2D and Contour Graphs.opj) which can be opened by selecting File: Open Sample Projects? 2D and Contour Graphs from the main menu.

  1. Active the workbook Book2N, right-click the col(C) to select Set as: Y Error from the context menu.
  2. 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.
    Image:Bar and scatter plot image1.png
  3. Active the graph window, and then select Graph: Exchange X-Y Axes.
    Image:Bar and scatter plot image2.png
  4. Highlight the col(D) in the worksheet and then active 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.
    Image:Bar and scatter plot image3.png
  5. 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.
    Image:Bar and scatter plot image4.png
  6. Select the scatter plot in the left panel, then set the Symbol as below. Then click OK button to close the dialog.
    Image:Bar and scatter plot image6.png
  7. Active the graph window, hold the Ctrl key and select the first bar to set its pattern as Dense as below from the Style toolbar.
    Image:Bar and scatter plot image5.png
  8. Delete the legend, then select Graph: New Legend from the main menu to add a new legend for graph.
  9. 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.
    Image:Bar and scatter plot.png