Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
21 lines (16 loc) · 524 Bytes

File metadata and controls

21 lines (16 loc) · 524 Bytes
Copy raw file
Download raw file
Edit and raw actions
Title F# Quickstart
description How to plot data using ScottPlot in a F# .NET application
date 2023-12-13

F# Quickstart

Step 1: Install the ScottPlot NuGet package

Step 2: Plot some data and save the figure as an image file

let dataX = [| 1.0 .. 5.0 |]
let dataY = [| for x in dataX -> x * x |]
let plt = Plot();
plt.Add.Scatter(dataX, dataY);
plt.SaveFig("quickstart.png", 400, 300);

Morty Proxy This is a proxified and sanitized view of the page, visit original site.