Skip to content

Add heatmap for plotting data #6431

Description

@Rot127

It would be nice if we had a heatmap implementation in RzUtil.

Something which can be updated dynamically to show some progress.

For example, if an analysis loop starts covering more and more of all sections, it could show the progress of each memory block.

Here is an AI generated mock up image.

Image

It is important that the implementation does not assume or know anything about the underlying data it represents.
The only thing it should do is printing the blocks in a proper layout for the current terminal width and height.
Managing color and legend.

It probably needs to get callbacks passed which:

  • RzIterator to_update_cell_coord(user_data) to let the callback decide which cell nedds to be updated.
  • float cell_progress(cell, user_data) to return the value of the cell (0.0-1.0) to choose the correct color for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions