Skip to content

Instantly share code, notes, and snippets.

View chriddyp's full-sized avatar

Chris Parmer chriddyp

View GitHub Profile
@chriddyp
chriddyp / Math scores.m
Last active December 21, 2015 11:28
MATLAB code to generate the "Math Score Improvement" (https://plot.ly/~chris/1010/) graph using the Plotly MATLAB API. To run, follow the Plotly-MATLAB API installation instructions on Plotly's API page (https://plot.ly/api) where you can also find the formal Plotly graphing syntax and more MATLAB examples. Questions? Email chris [at] plot [dot] ly
% Math score improvement - Box plot with line chart
% Script generates a graph in your browser that looks like this: https://plot.ly/~chris/1010/
username = 'xxxxxx' % your plotly username
api_key = 'xxxxxx' % your plotly api key
signin(username, api_key) % sign-in to plotly
% mean scores
means = [80, 85, 81, 89, 94, 96];
N = 6; % Number of trials
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@chriddyp
chriddyp / gist:8429514
Last active January 3, 2016 07:29
view here:
{
"metadata": {
"name": "This notebook has moved"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{