2017 © Pedro Peláez
 

library heatmap

A library to create colorful png-images from 2D-Grid arrays

image

rabbl/heatmap

A library to create colorful png-images from 2D-Grid arrays

  • Tuesday, May 2, 2017
  • by rabbl
  • Repository
  • 1 Watchers
  • 1 Stars
  • 575 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

HeatMap

Software License Build Status Code Coverage Scrutinizer Code Quality SensioLabsInsight, (*1)

Features

This library generates pixel images (png) from 2D-Grid values. You can setup a custom color spectrum for the interpolation., (*2)

Installation

Composer is used for installation. Add the following lines to your composer.json file:, (*3)

"require": {
    "rabbl/heatmap": "^1.1"
}

Or install it on the command line: composer require rabbl/heatmap, (*4)

Usage

$heatMap = new HeatMap();
$heatMap->setData(array(
    [0,1,2,3,5,6,7,8,9],
    [0,1,2,3,5,6,7,8,9],
    [0,1,2,3,5,6,7,8,9],
    [0,1,2,3,5,6,7,8,9],
    [0,1,2,3,5,6,7,8,9],
    [0,1,2,3,5,6,7,8,9]
));
$heatMap->setSpectrum('blue', 'green', 'yellow', 'red');
$fileName = $heatMap->createWithAbsoluteLimits($data, 0, 9);

Returns the temporary filename of the generated image., (*5)

The Versions

02/05 2017

dev-master

9999999-dev

A library to create colorful png-images from 2D-Grid arrays

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

by Ralf Junghanns

image heatmap gradient

02/05 2017

v1.1.1

1.1.1.0

A library to create colorful png-images from 2D-Grid arrays

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

by Ralf Junghanns

image heatmap gradient

02/05 2017

v1.1.0

1.1.0.0

A library to create colorful png-images from 2D-Grid arrays

  Sources   Download

MIT

The Development Requires

by Ralf Junghanns

image heatmap gradient

26/10 2016

v1.0.0

1.0.0.0

A library to create colorful png-images from 2D-Grid arrays

  Sources   Download

MIT

The Development Requires

by Ralf Junghanns

image heatmap gradient