Skip to content

Instantly share code, notes, and snippets.

View msund's full-sized avatar
🦾

Matthew Sundquist msund

🦾
View GitHub Profile
{
"metadata": {
"name": "mpl double examples"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / 9 mpl examples
Last active August 29, 2015 13:58
9 matplotlib figures in Plotly
{
"metadata": {
"name": "mpl double examples"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / MPL graphs
Created April 7, 2014 19:13
9 matplotlib graphs
{
"metadata": {
"name": "mpl double examples"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / RPub draft
Created April 10, 2014 09:04
RPub draft
Ggplotly: Interactive, online, and shareable plots
========================================================
[Ggplotly](https://github.com/ropensci/plotly) and [Plotly's R API](https://plot.ly/api/r) let you write ggplot2 syntax, add `py$ggplotly()`, and get an interactive, online, shareable Plotly graph. You can embed it in an iframe, save and share your data and graphs together online, and collaboratively graph and analyze your data. Here is an example:
In this RPub, we'll show you how it works. The package is being developed by [Toby Hocking](http://cbio.ensmp.fr/~thocking/), and is on [GitHub](https://github.com/ropensci/plotly), where we eagerly await your thoughts, issues, and pull requests. The project is the result of suggestions from the community and inspiration from Hadley Wickham and ggplot2.
## I. Getting Started
```
@msund
msund / AQ NB
Created April 12, 2014 02:02
Anscombe's Quartet NB
{
"metadata": {
"name": "Untitled1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / Ggplots
Created April 16, 2014 07:02
Ggplots
Make your ggplots shareable, collaborative, and with D3
========================================================
[Ggplotly](https://github.com/ropensci/plotly) and [Plotly's R API](https://plot.ly/api/r) let you make ggplot2 plots, add `py$ggplotly()`, and make your plots interactive, online, and drawn with D3. Let's make some.
```{r echo=FALSE}
options(bitmapType="cairo")
#see: http://cran.r-project.org/web/packages/opencpu/NEWS
library(knitr)
@msund
msund / rOpenSci Post on ggplotly
Created April 17, 2014 14:22
rOpenSci Post on ggplotly
Make your ggplots shareable, collaborative, and with D3
========================================================
[Ggplotly](https://github.com/ropensci/plotly) and [Plotly's R API](https://plot.ly/api/r) let you make ggplot2 plots, add `py$ggplotly()`, and make your plots interactive, online, and drawn with D3. Let's make some.
```{r echo=FALSE}
options(bitmapType="cairo")
#see: http://cran.r-project.org/web/packages/opencpu/NEWS
library(knitr)
@msund
msund / gist:11255918
Last active August 29, 2015 14:00
MPL gallery
{
"metadata": {
"name": "Three new matplotlib plots"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / MPL from SWC
Created April 25, 2014 16:19
SWC NB
{
"metadata": {
"name": "SWC"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@msund
msund / Graphing
Last active June 6, 2016 12:08
All of 'em
{
"metadata": {
"name": "Three new matplotlib plots"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{