Skip to content

Instantly share code, notes, and snippets.

View msund's full-sized avatar
🦾

Matthew Sundquist msund

🦾
View GitHub Profile
install.packages("devtools") # windows users install Rtools. Also: for mac and linux.
library("devtools")
install_github("ropensci/plotly") # Plotly is part of the super cool rOpenSci.
library(plotly) # install libraries we’ll be using
library(ggplot2)
library(reshape)
py <- plotly("ggplot2examples", "3gazttckd7") # sign up (https://plot.ly/ssi/) and get a key or use our public key to initiate a graph object
@msund
msund / Polars
Created June 27, 2014 08:32
NB for polar charts
{
"metadata": {
"name": "Untitled0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / gist:2ca48d4b1824ba58ae7e
Last active August 29, 2015 14:02
LaTeX draft
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "Untitled0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "",
"signature": "sha256:0066d7751e4802e747a189c766f68718da3fe272e314ebd5e4c27d43535c1cf9"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "Reproducible figures"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / gist:21be3e818625c309e3c8
Last active August 29, 2015 14:01
LaTeX Graphs
{
"metadata": {
"name": "Untitled0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / First draft
Last active August 29, 2015 14:01
R Notebook
{
"metadata": {
"name": "",
"signature": "sha256:4abc3bda22c03a05e4c028a06c0fdb0efbd5a6220ac512d85f9529fe8f08d9b7"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"language": "Julia",
"name": "Julia Benchmark Plotly Barchart"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@msund
msund / python
Last active August 29, 2015 14:01
Test Post
{
"metadata": {
"name": "Reproducible figures"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / Blog
Created May 13, 2014 09:30
Post
<a href = "https://plot.ly/">Plotly</a> is an online graphing and analytics platform. It's a place where you can analyze data, make and share beautiful graphs, and discover content you love. It's also a community. In this post, we'll be highlighting a few of our favorite user graphs, and showing some of the key features available in Plotly. We'd love to hear your thoughts, suggestions and feedback. We're at <a href = "http://twitter.com/plotlygraphs">@plotlygraphs</a>.
<br>
<br>
First up we'll show a histogram from <a href = "http://www.alexharrisonparker.com/">Alex Parker</a>. The graph shows the number of Google results for the word "space" with different numbers of a's. 55 and 96 are popular, with Google showing 2,970 results for space spelled with 96 a's. If you hover your mouse over a point or click and drag to zoom in, you can learn more.
<br>
<br>
<div class = "iframe_container">
<iframe src="https://plot.ly/~alexhp/61/650/550" width="650" height=550" frameBorder="0" seamless="seamless" scrolling="no"