PHPackages                             macocci7/php-scatterplot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. macocci7/php-scatterplot

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

macocci7/php-scatterplot
========================

PHP-Scatterplot is a simple PHP library to create scatter plot easily.

1.2.5(3mo ago)212[1 issues](https://github.com/macocci7/PHP-Scatterplot/issues)MITPHPPHP &gt;=8.1

Since Jun 7Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/macocci7/PHP-Scatterplot)[ Packagist](https://packagist.org/packages/macocci7/php-scatterplot)[ RSS](/packages/macocci7-php-scatterplot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (13)Used By (0)

PHP-Scatterplot
===============

[](#php-scatterplot)

1. Features
-----------

[](#1-features)

`PHP-Scatterplot` is a PHP library for creating scatter plots easily.

You can also retrieve parsed data:

`Mean`, `Variance`, `Standard Deviation`, `Covariance`,

`Correlation Coefficient` and `Regression Line Formula`.

`Reference Line` and `Specification Limits` are supported.

`Multiple Layers (Data Sets)` are supported.

[![](examples/img/AdjustDisplayByMethods.png)](examples/img/AdjustDisplayByMethods.png)

Contents
--------

[](#contents)

- [1. Features](#1-features)
- 2. Contents
- [3. Requirements](#3-requirements)
- [4. Installation](#4-installation)
- [5. Usage](#5-usage)
    - [5.1. Basic Usage](#51-basic-usage)
    - [5.2. Using Layers](#52-using-layers)
    - [5.3. Adjusting the Display By Methods](#53-adjusting-the-display-by-methods)
    - [5.4. Adjusting the Display By Neon File](#54-adjusting-the-display-by-neon-file)
    - [5.5. Adjusting the Display By Array](#55-adjusting-the-display-by-array)
    - [5.6. Transparent Background](#56-transparent-background)
    - [5.7. Parsed Data](#57-parsed-data)
- [6. Examples](#6-examples)
- [7. License](#7-license)

3. Requirements
---------------

[](#3-requirements)

- PHP 8.1 or later
- Imagick PHP Extension

    Check with commands:

    ```
    php -i | grep imagick
    ```
- Composer

4. Installation
---------------

[](#4-installation)

```
composer require macocci7/php-scatterplot
```

5. Usage
--------

[](#5-usage)

- [5.1. Basic Usage](#51-basic-usage)
- [5.2. Using Layers](#52-using-layers)
- [5.3. Adjusting the Display By Methods](#53-adjusting-the-display-by-methods)
- [5.4. Adjusting the Display By Neon File](#54-adjusting-the-display-by-neon-file)
- [5.5. Adjusting the Display By Array](#55-adjusting-the-display-by-array)
- [5.6. Transparent Background](#56-transparent-background)
- [5.7. Parsed Data](#57-parsed-data)

### 5.1. Basic Usage

[](#51-basic-usage)

- PHP: [examples/BasicUsage.php](examples/BasicUsage.php)

    ```
