-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
What can we do to make ScottPlot better?
For now PlottableHeatmap binds to coordinate system in simple way x = heatmap_x_index, y = heatmap_y_index.
Zooming and panning works fine.
It would be useful to set the boundaries for the map along the x and y axes.
Let's say Xmin, Xmax, Ymin, Ymax.
Coordinate step will be calculated using heatmap dimensions and provided boundaries.
For example i want to plot heatmap from x=-100 to x = 200, from y = 100 to y = 101;
Heatmap size is 300x1000.
double[,] intensities = new double[300, 1000];
plt.PlotHeatmap(intensities, xmin:-100, xmax: 200, ymin: 100, ymax:101);xStep will be 300 / 300 = 1,
yStep will be 1 / 1000 = 0.001.
At first glance, this does not look like a difficult task for the Heatmap developer, but it is quite difficult for me since I need to understand the existing code...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels