Exemple #1
0
        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;
        }
Exemple #2
0
            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);
            }
Exemple #3
0
        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;
        }
Exemple #4
0
        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);
 }
Exemple #6
0
 public void ExecuteRecipe(Plot plt)
 {
     double[,] imageData = DataGen.SampleImageData();
     plt.AddHeatmap(imageData);
 }
Exemple #7
0
 public void Render(Plot plt)
 {
     double[,] imageData = DataGen.SampleImageData();
     plt.PlotHeatmap(imageData);
 }