public void ExecuteRecipe(Plot plt) { double[,] imageData = DataGen.SampleImageData(); var hm = plt.AddHeatmap(imageData, lockScales: false); hm.XMin = -100; hm.XMax = 100; hm.YMin = -10; hm.YMax = 10; }
public void Render(Plot plt) { double[,] imageData = DataGen.SampleImageData(); //This could be applied more usefully to an image pertinent to the data //For example a map of the world, if your data is about geographic phenomenon Bitmap background = new Bitmap("Images/niceBackground.bmp"); plt.PlotHeatmap(imageData, transparencyThreshold: 20, backgroundImage: background); }
public void ExecuteRecipe(Plot plt) { double[,] imageData = DataGen.SampleImageData(); var heatmap = plt.AddHeatmap(imageData); heatmap.Update(imageData, min: 75, max: 125); var cb = plt.AddColorbar(heatmap); // configure the colorbar to display inequality operators at the edges cb.MaxIsClipped = true; cb.MinIsClipped = true; }
public void ExecuteRecipe(Plot plt) { double[,] imageData = DataGen.SampleImageData(); var hm = plt.AddHeatmap(imageData, lockScales: false); hm.ClippingPoints = new Coordinate[] { new Coordinate(30, 15), new Coordinate(55, 40), new Coordinate(60, 45), new Coordinate(80, 60), new Coordinate(40, 95), new Coordinate(15, 90), new Coordinate(5, 50), }; }
public static void PlotHeatmapImage(Plot plt, Colormap cmap) { double[,] intensities = DataGen.SampleImageData(); plt.Clear(); plt.PlotHeatmap(intensities, cmap); }
public void ExecuteRecipe(Plot plt) { double[,] imageData = DataGen.SampleImageData(); plt.AddHeatmap(imageData); }
public void Render(Plot plt) { double[,] imageData = DataGen.SampleImageData(); plt.PlotHeatmap(imageData); }