Skip to main content

首页 / Posts

[OriginPro] Draw a Correlation Analysis Heat Map

This article explains how to use OriginPro to draw a polished, information-rich correlation heat map and compares it with a Python heat map. The detailed steps help you quickly use the OriginPro plugin and improve your data-analysis visuals.

Rosetears·
··361 words·2 mins

Background
#

When I previously used Python to draw correlation analysis heat maps, I always felt that something was missing. The chart looked a little plain and not quite attractive enough. Today, I decided to try drawing one in OriginPro to see whether I could get a better result.

First, here is the heat map drawn with Python: (Python heat map code):

Python heat map

With OriginPro, I eventually obtained a heat map with more complete information and stronger visual impact:

Correlation heat map with white background.png

Steps
#

Here are the detailed steps for drawing a correlation heat map in OriginPro:

  1. Download the plugin First, open OriginPro, click Add Apps on the right side, then search for and install the Correlation Plot plugin.

  2. Prepare the data Copy the data that needs correlation analysis from SPSS and paste it into OriginPro.

  3. Draw the chart Click Correlation Plot, choose Select All to select all data, and then click Auto Preview for an automatic preview.

    image.png|400

    Next, you can fine-tune the chart. For example, choose the Pearson coefficient; under Method, you can choose mixed mode, text only, or image only; under Upper Triangular, you can choose filled colors or circular patterns; and under Label, you can choose whether the graphic labels display correlation text or significance levels.

  4. Adjust the chart

    1. Change colors Double-click the graph to enter the Color Map settings. Choose Levels to set the data range, and choose Fill to adjust the fill-color range.
    2. Change the legend Double-click the legend, choose Show Labels at, and check Inside End. This makes the legend clearer and more attractive.
    3. Remove border lines Double-click the outermost axis, enter the Grid settings, and uncheck Show for the Minor Grid Lines under both Vertical and Horizontal. This keeps the chart border from looking too cluttered.
  5. Export the image With the graph window open, choose File > Export Graph to export the finished heat map.


OriginPro’s chart output is indeed more refined and visually polished than Python’s in this case, especially because it presents richer details. If you have similar needs, you can definitely try OriginPro. It may bring a different kind of inspiration to your data analysis.

Click here to watch the video version of this article

Related

Regression Analysis — Differences Among Three Types of Logistic Regression

··453 words·3 mins
This article introduces three common logistic regression models: binary logistic regression, multinomial logistic regression, and ordered logistic regression. It explains their applications and differences for different dependent-variable types, helping readers understand when to use these statistical models in real analysis.

【SPSS】Regression Analysis — Linear Regression

··757 words·4 mins
This article introduces the main differences between linear regression and logistic regression, and explains the steps, result interpretation, and common statistics in regression analysis, such as R-squared, the Durbin-Watson value, and regression coefficients, helping readers understand how to use regression models for data analysis.

【SPSS】Correlation Analysis

··499 words·3 mins
This article introduces how to use SPSS for correlation analysis and how to interpret correlation matrices and heatmaps, helping readers quickly master correlation-analysis methods and result interpretation among scale dimensions.