Skip to content

Exporting a heatmap as SVG outputs a smoothed svg. #4950

@MRC-Karel

Description

@MRC-Karel

Issue: Exporting as a SVG smoothes the output, while the image format does not.

ScottPlot Version: Nuget Scottplot version 5.0.55

Code Sample:

            ScottPlot.Plot myPlot = new ScottPlot.Plot();

            double[,] data = {
                { 1, 2, 3 },
                { 4, 5, 6 },
                { 7, 8, 9 },
            };

            // add a heatmap to the plot

            myPlot.Add.Heatmap(data);

            myPlot.SavePng("demo.png", 400, 300);
            myPlot.SaveSvg("demo.svg", 400, 300);

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions