Skip to content

Allow the user to specify the color to be used with NaNs in imagesc #264

@ziotom78

Description

@ziotom78

Currently, Winston's imagesc uses black for those matrix elements which have NaNs or infinite values. I think it would be nice to have a keyword parameter for this. Sometimes I find useful to mark "unseen" pixels using NaNs, and these should be displayed using the background color (white).

If you agree, I can submit a PR for this. My idea is to add a keyword argument to data2rgb and imagesc itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions