Skip to content

additional options for WpfPlotViewer and FormsPlotViewer #308

@swharden

Description

@swharden

Interactive pop-up plot viewers were just added for WinForms and WPF. The ScottPlot Demo application has examples of their use.

var plt = new ScottPlot.Plot();
plt.PlotSignal(DataGen.Sin(50));

new ScottPlot.WpfPlotViewer(plt, 500, 300, "Custom Data").Show();

Currently the windows that are launched are full-window ScottPlots. It may be useful to add buttons or a menubar for easy access to common tasks. Perhaps options for:

  • auto-axis
  • set axis (launches a pop-up window)
  • save
  • help

Matplotlib (for Python) does this when you call plt.show() - see the buttons at the bottom:

image

... but maybe this is not necessary for ScottPlot if there is a rich right-click menu?

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