added experiments with geom

This commit is contained in:
didier amyot committed 2017-12-07 07:37:28 -05:00
1 parent 0dc1740eba
commit 551594ce63
4 files changed
+163 -14

No files matched your search

+8 -8
View File
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
@@ -14,7 +14,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 5,
"metadata": {},
"outputs": [
{
@@ -23,7 +23,7 @@
"<script src=\"https://code.highcharts.com/highcharts.js\"></script>"
]
},
"execution_count": 2,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
@@ -34,7 +34,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
@@ -43,7 +43,7 @@
"#'user/plot-highchart"
]
},
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
@@ -59,16 +59,16 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><div id=\"129fcd9b-cfbd-401c-b7f9-77e47fd4f966\" style=\"{:background-color &quot;red&quot;}\"></div><script>Highcharts.chart('129fcd9b-cfbd-401c-b7f9-77e47fd4f966', {\"chart\":{\"type\":\"line\"},\"title\":{\"text\":\"Plot of random data\"},\"series\":[{\"data\":[600.0802979890468,2785.389013339901,3724.857367908388,5985.603555749925,7334.329136017631,9634.43331036138,11632.424414838628,13018.046919330196,15172.278849084434,16677.0498215185,17290.266503995434,19078.072943776962,21724.92199871079,22962.62705156953,25315.96671303604,26112.54713621363,27657.440724070628,30699.038945326236,32369.193700334374,33800.485225470016,35039.08390962823,36238.560829416725,38805.617181208894,40104.18852326288,41966.927104944974,43760.35168683501,45669.52593257159,47931.241112593685,48093.765596453944,50552.68151757262,52618.13615096416,54538.862198847004,55615.1462957035,57871.24117925703,60018.393676455045,61546.8274448606,62934.42181064036,64203.15835133128,66802.0157215116,68506.02318771144,69307.71473189823,70771.75262450769,72162.58316457798,74740.667794496,76496.80905874955,78838.59832917634,80633.68714609183,80983.33352077876,83923.23898835508,85569.12361322394,86795.44888396862,88001.12441201405,89269.22491499192,92113.7597909834,92790.17378098961,94500.71366886036,97738.60992715358,98378.56480669587,100698.46713859537,102815.41587097303,103409.57936985882,105849.27978517415,107018.83014312397,108751.06825660712,110312.69934168007,112906.93810487595,114570.57091913065,115347.21684707148,117804.689622244,119055.43125265592,121297.80780759195,122091.95129344838,124428.34994479611,126671.84646485707,127587.40691682795,129068.70534824175,131420.18775991932,132236.92506452746,135537.88888293534,137003.43670163985,137921.54901857846,140369.65232777552,142233.6553969074,144016.82320462874,144410.43318324172,146924.77310759202,148097.32729688473,150552.46003021477,151975.67671430882,153102.93908702018,155900.55332082295,156276.51504561372,158898.81925531253,160254.2275697256,161574.33887326877,164538.89650848432,166259.71920510373,166666.93233835528,169365.7615223026,170834.71186683056,173187.8658416879,173712.8125296444,175870.88080361387,178355.64126395562,179766.3378204997,181339.39533205217,182641.71651831255,185045.8247083939,185895.48754249187,187563.46293919458,189850.36096992894,191515.95763821038,192610.6843525983,195219.51571283897,197155.6074146366,198190.5135883966,199486.8287302667,200924.78706435143,204168.9176838454,205478.35877356748,206195.8533434571,209294.29741799936,211049.11896027403,212090.4981462157,213100.05579731677,215611.46776711097,216572.91097622126,218260.2881355831,221295.8619141015,221963.97534362215,223987.080865147,225923.1748711948,227597.49725282824,228538.8184004026,230556.26524805411,233216.86497525012,234036.04805990995,236654.9663552744,237405.16424354212,239104.80682147868,241586.52267442486,242540.50873655992,243788.30471087137,245445.96005074945,247339.77737184407,249949.8739846094,251999.7659242527,252516.05176973974,255335.5501955527,257237.4768932571,258655.7217215005,260657.8671907037,260927.34958132735,263597.061474925,264692.2210935054,267352.59377282223,269051.57441553235,270665.04256238055,271891.31873620406,273076.83654297964,275453.9950288818,276675.3090468854,278024.4849221397,281312.6443705342,283006.6043241753,283326.23708383326,286491.1647689781,287242.73497592163,288458.8518022821,290122.0710574523,292472.4236559113,294274.0786791017,295417.40227119497,298484.3665774888,298602.806605945,300842.09925871535,303125.81444980117,304782.84850132786,305787.8562678689,308586.97206032113,309855.914838043,311220.8231255287,313740.1755967167,315418.8478073935,316374.14428555383,318592.19305214763,319885.48675533297,321548.3031816897,323212.78560680087,325545.1597709014,326989.83084999095,328987.9163546938,330445.7325888522,332357.8570826954,333911.86791193986,335510.588982341,337737.3411823799,339745.4454620149,341298.1788232182,342224.0834709178,343352.9069063556,346592.60684583866,347178.5372581809,349729.2169637244,350158.44062886795,352135.91462266137,354214.31068336725,355415.25128121587,358063.6711835985,359723.2131403899,361750.46599925746,363690.24076733785,363983.578819666,365999.9278991995,367444.097645974,369834.44721695094,371794.2704588695,373287.1355312797,374909.96076036216,377473.40444566775,378838.6348978555,379819.25933932234,381336.1849918871,383589.8121593502,384427.9703985433,386132.41627653106,388181.15992709546,390578.16122243693,391791.6561035207,393925.7252631345,395193.52521181235,396464.8411838699,398583.94282875146,401249.29853455117,401685.26409821084,404501.45208438905,406565.06725671684,406796.1711420384,408993.09137441183,411234.1416370062,413461.1474529966,414379.0854772839,416221.6422610484,417625.01016691845,419513.69739297393,420972.83168222406,422525.4108995704,424516.9749457561,427023.10056539567,427762.75530465116,429862.95333748753,432286.95631412824,434043.0133414028,434404.079648369,436974.56048738456,438411.8475435063Line truncated
"<div><div id=\"09acf154-e0ec-416f-b29e-e8c162d46a43\" style=\"{:background-color &quot;red&quot;}\"></div><script>Highcharts.chart('09acf154-e0ec-416f-b29e-e8c162d46a43', {\"chart\":{\"type\":\"line\"},\"title\":{\"text\":\"Plot of random data\"},\"series\":[{\"data\":[313.2395113147347,2504.7009852781107,4152.821102377371,5376.196615612254,8464.254219582623,9768.094838951929,11113.198348809794,12067.601243941033,14143.979022171661,16386.912132556674,18360.067655516305,20376.763144753553,22093.032303331147,23204.727540625605,24040.973452088074,26028.95976392403,28755.172578540987,30496.66801988258,31856.66218625194,33034.12453701488,35239.096444381954,37544.19473349313,38724.90069792185,40343.2025343159,42347.257647426246,43137.785124283364,44849.91082974311,46694.8639565556,49341.70606096406,50721.93665814907,52922.740732123275,53772.835738316,55006.246408445484,56815.49533837548,58867.00727873466,60277.004753854635,61818.141527049294,63828.52016455682,65852.18180700757,68349.96599181883,68761.13607398554,71646.7257731006,73262.95526183411,74614.83419042394,75850.7530237446,78678.00295078671,79214.20672950803,81345.90580857164,83386.61501531962,84460.59876859782,87020.7124535066,88475.15399350673,90290.9690108852,92007.24484232735,94368.97120990983,95658.55771257218,96269.64359688805,98743.85471212097,99683.38493054196,101518.9112809803,103953.34346714313,105403.36813874221,106582.52125885527,109478.03006806974,109939.4871698227,111546.9013934005,114267.2994550725,116171.16243139985,117521.71936571384,119005.57143888187,121715.67741451785,122023.93760164388,123833.77970500365,126263.1922534394,128273.78227698358,129075.32368232148,130446.58683070935,132368.4988052163,135355.4149434654,135948.83990407235,138782.19581078793,139379.637704625,142246.47210656657,142704.6608400633,144369.71388880225,147131.36820544547,148666.06717063586,149443.27107824053,151638.30983304715,154400.75155851687,155689.99603975247,157776.97205025022,159301.1281206123,159702.062076412,161818.68035318877,164110.81352674446,165967.2197442986,166754.23629170927,168642.83563929368,171039.41589723443,173226.52739486875,173778.3831685787,175517.8485193912,176766.6690070837,179917.51386752137,180602.7103240123,183602.2121971517,184543.43869224098,185956.1973633656,187453.67883572326,190390.35600968602,190666.1801654455,193487.15912590205,195363.2801571708,196063.81898236135,198638.7536402417,199875.51442393617,201031.0368897575,203008.95612831457,204878.75563862003,207465.88803306452,208273.66043329868,210416.22800376246,211108.32511893273,214118.1119956714,214879.25578898354,216629.613808851,218171.6519222628,221085.66369036087,221428.54559228558,223978.8006388775,226419.3111817297,227987.78813599292,228276.7931618709,230237.54053581183,232717.06477541503,234123.79971172006,235274.93550973767,237372.929108563,240025.91758208224,240712.23281685793,242038.89483376459,243714.34956633512,246796.98401154246,247620.3142019931,250452.1188842069,252033.43734324622,252321.11621367402,255632.65280021,256140.10793669574,259023.65993701178,260429.2639218104,261232.09546361805,264255.017023758,265859.9698696644,266019.1810464599,268190.3725705906,269417.3812797348,271469.4765199665,273651.36314249964,275971.45721509866,277600.59140428784,278437.19579362136,281239.99505401275,282708.48894539487,283719.95608700806,284978.67544430855,286799.20676204574,289197.6623641349,291054.0181994101,291941.6569040192,294415.08086693066,295287.6580124654,298141.2497821939,299987.9219808421,300535.6238531297,303478.9925435666,304936.3325278433,306294.0877280068,307564.3084559974,309264.0920282911,312000.9367832274,313892.3493751183,315527.81357050413,316459.942082197,318372.2460911695,319557.0354501911,322317.2329506197,323122.8449392918,324786.4285129783,326394.32722258824,328670.2930639095,329653.1142962725,332861.84083283396,332994.60812665586,334666.01575559675,337580.4640188181,338851.9565257045,340803.6465284919,342054.77992485114,344148.3983517749,345796.84199719393,346912.1791706609,348581.88187996636,351760.0863718422,352226.461402528,354485.4504937239,356701.462864075,357993.00474950916,359239.1736158276,361278.87627227866,363564.0670628953,365143.0580684601,367062.49058697926,368117.2387190761,369827.1132745863,371844.9375680767,373080.49968484405,374972.68286947446,377419.20718844736,378386.15392942395,379627.3086448944,382069.2729357773,382842.4911597019,385907.48152950243,387042.45407319267,388212.98021782405,391086.1236381219,391670.47650472156,393670.422442097,394983.71255563496,396812.4980937629,399037.28231666464,400370.2621060802,402878.35844486346,404465.9576994709,406541.11207664455,406766.72514605813,409760.8079824908,410293.5308100678,412767.5977086731,413945.4571319846,415836.5242910624,418386.6063883836,418749.62172973895,420907.46137876145,423417.4800422221,424595.4885311342,426257.298308546,427960.3956694186,430014.1340384843,430803.4141457908,432940.4459711254,434660.21728632785,436056.6134602157,437920.8864979652,439493.1952886935Line truncated
]
},
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}