Skip to content

Instantly share code, notes, and snippets.

View drf5n's full-sized avatar

drf5n drf5n

View GitHub Profile
@drf5n
drf5n / recoil.html
Created December 19, 2025 22:20
recoil_pendulum_graph.html
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>recoil</title>
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.holoviz.org/panel/1.8.4/dist/images/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://cdn.holoviz.org/panel/1.8.4/dist/images/favicon.ico"><link rel="apple-touch-icon" href=""> <style>
html, body {
display: flow-root;
box-sizing: border-box;
height: 100%;
@drf5n
drf5n / hycom_salinity_nctoolbox
Last active November 26, 2018 18:49
Using nctoolbox to access and plot a slice of Hycom Reanalysis
% This uses the Matlab NCToolbox to access HYCOM data and plot a salinity field
%
% NCToolbox is available from https://github.com/nctoolbox/nctoolbox
% HYCOM is available from https://hycom.org/
%
% Dig down from HYCOM to find a DODS Data URL
%
% This is setup to look for the 2012 GOFS 3.0 Reanalysis
%
% Google for Hycom opendap
@drf5n
drf5n / index.html
Created October 16, 2015 16:04
Scatterplot
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='//ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
@drf5n
drf5n / index.html
Created October 16, 2015 04:59
Scatterplot
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='//ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;