this is for holding javascript data
Ashley Campbell added file figures/ordination_all1/scatter.ipynb
about 10 years ago
Commit id: fc36fab18c512e7350cf8e8dc201df01db8d9ce7
deletions | additions
diff --git a/figures/ordination_all1/scatter.ipynb b/figures/ordination_all1/scatter.ipynb
new file mode 100644
index 0000000..66f8cd4
--- /dev/null
+++ b/figures/ordination_all1/scatter.ipynb
...
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "raw",
"metadata": {},
"source": [
"This IPython Notebook contains simple examples of the scatter function. \n",
"\n",
"To clear all previously rendered cell outputs, select from the menu:\n",
"\n",
" Cell -> All Output -> Clear"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import numpy as np\n",
"from bokeh.plotting import *"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"N = 100"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"x = np.linspace(0, 4*np.pi, N)\n",
"y = np.sin(x)"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"output_notebook()"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Configuring embedded BokehJS mode.
\n",
" \n",
" "
],
"metadata": {},
"output_type": "display_data"
}
],
"prompt_number": 4
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"scatter(x,y, color=\"#FF00FF\", tools=\"pan,zoom,resize\")\n",
"scatter(x,y, color=\"red\", tools=\"pan,zoom,resize\")\n",
"scatter(x,y, type=\"rect\", color=\"green\", tools=\"pan,zoom,resize\")\n",
"scatter(x,y, type=\"square\", color=\"blue\", tools=\"pan,zoom,resize\")"
],
"language": "python",
"metadata": {},
"outputs": [
{
"html": [
"\n",
" \n",
" \n",
" \n",
" \n",
" Plots
\n",
"\n",
" \n",
" "
],
"metadata": {},
"output_type": "display_data"
},
{
"html": [
"\n",
" \n",
" \n",
" \n",
" \n",
" Plots
\n",
"\n",
" \n",
" "
],
"metadata": {},
"output_type": "display_data"
},
{
"html": [
"\n",
" \n",
" \n",
" \n",
" \n",
" Plots
\n",
"\n",
" \n",
" "
],
"metadata": {},
"output_type": "display_data"
},
{
"html": [
"\n",
" \n",
" \n",
" \n",
" \n",
" Plots
\n",
"\n",
" \n",
" "
],
"metadata": {},
"output_type": "display_data"
},
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 5,
"text": [
""
]
}
],
"prompt_number": 5
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}