Skip to content

Instantly share code, notes, and snippets.

@samfiechter
samfiechter / iGNUPlot.swift
Last active June 20, 2021 15:20 — forked from tib/swiftui-script.swift
Edited Tibor Bödecs's swiftui-script to allow for some GNUPlot automation...
#! /usr/bin/swift
// to compile: swiftc -o window window.swift
// Forked from from https://gist.github.com/tib/183b2f5e4ac1d5afba5d69155ec11025
// Making a 3d graph with GNUPlot... Idea is to use w/ an automator service script to add a 3d plot to Numbers
import Foundation
import AppKit
import SwiftUI