Skip to content

Instantly share code, notes, and snippets.

View erikhuizinga's full-sized avatar
🤖
Testing droids...

Erik Huizinga erikhuizinga

🤖
Testing droids...
View GitHub Profile
/*
* Copyright (C) 2017 The Android Open Source Project & Erik Huizinga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@erikhuizinga
erikhuizinga / dataCursorAllTheThings.m
Last active January 19, 2018 11:13
Demo of how to add data cursor labels to any point in a graph
% Demo of how to add data cursor labels to any point in a graph
clear
close all
x = 1 : 10;
y = randn(size(x));
f = figure;
dcm = datacursormode(f);
l = plot(x, y);

Keybase proof

I hereby claim:

  • I am erikhuizinga on github.
  • I am erikhuizinga (https://keybase.io/erikhuizinga) on keybase.
  • I have a public key ASAXnl_5gUu7v5WZzCpnYwSrQXJMMUnBxwXjUeyU5Ga8Jwo

To claim this, I am signing this object:

@erikhuizinga
erikhuizinga / fisheriris_nomogram.m
Created February 12, 2017 11:03
MATLAB: Fisher's Iris data set nomogram
%% Load data
clear
close all
load fisheriris
selection = 51:length(meas);
length = meas(selection, 1); % sepal length