4,443 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
1
vote
5
replies
101
views
How to show values from one matrix while coloring using another matrix with MATLAB heatmap?
This is the code from my current heatmap:
N = 36;
Lat_extended = [Latency; zeros(N*N - length(Latency), 1)];
Lat_matrix = reshape(Lat_extended, N, N);
figure;
heatmap(Lat_matrix)
And the figure,
The ...
1
vote
0
answers
70
views
PSTH with numpy.histogram shows periodic "gaps" at bin boundaries even after integer time conversion—how to bin robustly?
I’m computing peristimulus time histograms (PSTHs) in Python. Each trial aligns spikes to a reach-start timestamp and bins them into fixed-width bins. I see vertical "gaps" (low counts) at exact bin ...
1
vote
1
answer
223
views
Continuous profiling with async-profiler. Generate heatmap for several JFRs
tl;dr: I'm trying to create a single daily heatmap by combining multiple hourly JFR files from async-profiler's continuous profiling feature. When I pass multiple files to jfrconv, the output only ...
0
votes
0
answers
91
views
How to standardise a range of color fill values for heat map in R
I have 20 years of data that I want to show the change in incidence over time by postcode. When I make a heatmap for a particular year, the fill scale shows just for that map and differs when I run ...
0
votes
0
answers
64
views
visualize interactive map with heatmap layer, color as a function of distance to points
I want to create an interactive map with a heatmap layer on it. The color should reflect a score which is calculated from the distance to coordinates. The coordinates are amenities (like public ...
1
vote
1
answer
118
views
Extracting colors used from ComplexHeatmap
I have mtx which has a range of values from 0 to 1 across 23 clusters which was generated using CellChat and I am trying to get the specific colors used in the output plots generated to use for other ...
0
votes
1
answer
37
views
Anychart AnyMap add dynamic table of legend
I want to use Anychart/Anymap in a dashboard, divided in two parts :
First part the dynamic heat map (choropleth)
Second part : generate a table of the map dataset (which are integrate in the script)...
3
votes
2
answers
120
views
Seaborn heatmap with a logarithmic colorbar with each color resembling one order of magnitude?
I ́m trying to plot some data in a heatmap. The expected data can be in the range between 1x100 and 1x109, so I ́d like to use a discrete logarithmic color scale where one color represents one order of ...
2
votes
1
answer
97
views
How to specify a color for missing data in R plotly heatmaps using colorscale
I have a series of heatmaps I'm displaying using plotly in R. Some of those heatmaps have cells with missing data, and I'd like those cells to show up grey, with the rest of the cells colored with a ...
1
vote
1
answer
88
views
reversing order of heatmap category labels [duplicate]
I'm trying to produce a heatmap with ordered categorical variables for both x- and y-axes. The problem I'm having is that I'm unable to have the y-axis levels print in descending order. Curiously (to ...
7
votes
2
answers
221
views
How can I exclude a column from a heatmap?
I have a pivoted dataframe and want to plot a heatmap in Plotly. I have a total column, making it hard to use a color scale.
import numpy as np
import pandas as pd
import plotly.express as px
...
0
votes
0
answers
30
views
How to customize cell size in altair heatmap?
I'm generating heatmaps with mark_rect(), but sometimes I need control over the height of the rows, otherwise the whole figure becomes too tall. Using width=whatever doesn't work in a desirable ...
1
vote
1
answer
65
views
Hover text for multiple heatmap traces in an R plotly plot
This is something of a follow-up question from this one. Ultimately, I have a plotly plot that seems to be treating separate traces as the same and producing unexpected behavior. I'm trying to figure ...
0
votes
1
answer
110
views
Using two separate custom color scales in a heatmap in R plotly
I've been trying to make a heatmap with different color scales for the upper and lower triangles, but I can't get it to work with anything other than the built-in named color scales. If I try to use a ...
1
vote
3
answers
374
views
How to create a heatmap from a tidy / long polars dataframe
I need to create a heatmap on the basis of a tidy/long pl.DataFrame. Consider the following example, where I used pandas and plotly to create a heatmap.
import plotly.express as px
import polars as pl
...