Skip to content

Heatmap: Incorrect colors when using custom scale #1485

@ZPYin

Description

@ZPYin

Bug Report

Issue:

The custom scale for Heatmap was not right. It can be noticed from the example in the Cookbook 4.1 (winform). Below is the screenshot of the example showing in the cookbook

image

The max/min of the intensities are 200/-200. However, based on the colors after setting the scale, it shows the min value was somewhere close 100.

System Details

  • ScottPlot Version: 4.1.27
  • Operating System: ( Windows 10)
  • Application Type: (WinForms)
  • .NET Version: (.NET 5.0?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGunexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions