6.5.7 Symbol Plot with Color Transparency



Video Image.png Video Text Image.png Website blog icon circle.png Blog Image 33x33px.png


Summary

This tutorial will show you how to create a symbol plot with color transparency, categorical legend and bubble scale. This graph displays a symbol plot of XY data where the size of the symbol and its color have been mapped to two other data columns in the worksheet: Mass and Type. The categorical legend can be utilized to identify Type via color and the bubble scale can be used to check Mass via symbol size. Color transparency has been applied to the plot so that overlapping data points are visible.

Symbol Plot with Color Transparency 15.png

Minimum Origin Version Required: Origin 2015 SR0

What you will learn

This tutorial will show you how to:

  • How to control the size and color of plot symbols using values in worksheet columns.
  • How to add a legend from categorical values
  • How to add a bubble scale and customize it
  • How to set the transparency to the symbol plot
  • How to add a frame to the graph

Steps

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 Graph Sample: Line and Symbol)

  1. Open Tutorial Data.opj and browse to the Bubble with Transparency folder in Project Explorer (PE).
  2. Go to Book2G, highlight Col(A)~Col(C) in the worksheet and select Plot > Basic 2D : Bubble from the main menu.
  3. Select Format: Plot... in the main menu to open the Plot Details dialog. Then go to the Symbol tab and set the symbol format as in the following:
    • Set Scaling Factor to 3.
    • Click the down arrow next to the Preview box to open the symbol gallery and select the filled circle symbol.
    • In the Symbol Color drop-down list, select Indexing: Col("Type")
    • Set Transparency to 50%.
    Symbol Plot with Color Transparency 02.png
  4. Click OK to save settings and close the dialog. The graph should now look like this:
    Symbol Plot with Color Transparency 03.png
  5. To update the axes scales and title, select Format: Axes: X Axis... to open the Axis dialog box. Modify the following settings:
    • In the Scale tab for X Axis, choose the following setting:
    Symbol Plot with Color Transparency 04.png
    • Click Vertical icon on the left panel and go to Scale tab for Y Axis and set the following:
    Symbol Plot with Color Transparency 06.png
    • Go to Title tab, and change Y axis title as Sample Y-Dimension (cm) and set font and size as following:
    Symbol Plot with Color Transparency 07.png
    • Then click Bottom icon on the left panel and change X axis title as Sample X-Dimension (cm) and set and size as following:
    Symbol Plot with Color Transparency 05.png
    • Click OK to apply the settings.

  6. Double click on the bubble scale to bring up Bubble Scale Control dialog. Select Nested from Layout drop-down list and check Half Circle and Show Leader Line boxes and click Apply as shown in following:
    Symbol Plot with Color Transparency 09.png
  7. Click on the left panel to go to Levels page, set From as 20 and To as 50 and change increment Value to 10 as shown in following:
    Symbol Plot with Color Transparency 10.png
  8. Click Title on the left panel, check Show box and change content in Title to be Mass, then set the Size to be 28 and check Bold box. Click OK to close dialog as shown in following:
    Symbol Plot with Color Transparency 11.png
  9. The graph is as following now:
    Symbol Plot with Color Transparency 13.png
  10. Go to Graph:Legend:Categorical Values... to bring up Graph Manipulation:legendcat dialog. Uncheck Size box and click OK to close the dialog and move the generated legend to a proper position in top-left corner.
    Symbol Plot with Color Transparency 12.png
  11. Right click on the legend and select Properties from shortcut menu, customize the text as shown in the following:
    Symbol Plot with Color Transparency 14.png
  12. Click OK to close dialog.
  13. Select the Text Tool Button Text Tool.png button on the Tools toolbar and click once to the left side of the page just above the frame. Type the following into the text object: Agate Cross-Section by Type and Location. Customize the font. Select and re-position the text object as needed.

    The final graph should look something like this:
    Symbol Plot with Color Transparency 15.png