Skip to content

Instantly share code, notes, and snippets.

@jpmarindiaz
Created April 25, 2013 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpmarindiaz/5457320 to your computer and use it in GitHub Desktop.
Save jpmarindiaz/5457320 to your computer and use it in GitHub Desktop.
Tributary inlet
{"description":"Tributary inlet","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12},"tipsy.js":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
Data = {
"xdata": [
{
"x": 2181400
},
{
"x": 839040
},
{
"x": 472300
},
{
"x": 437720
},
{
"x": 347060
},
{
"x": 282850
},
{
"x": 272980
},
{
"x": 251630
},
{
"x": 232260
},
{
"x": 226010
},
{
"x": 209610
},
{
"x": 183840
},
{
"x": 182580
},
{
"x": 177480
},
{
"x": 167820
},
{
"x": 156110
},
{
"x": 152340
},
{
"x": 151500
},
{
"x": 144550
},
{
"x": 144090
},
{
"x": 144020
},
{
"x": 142530
},
{
"x": 138990
},
{
"x": 138310
},
{
"x": 136940
},
{
"x": 136540
},
{
"x": 136470
},
{
"x": 136100
},
{
"x": 124440
},
{
"x": 117080
},
{
"x": 115330
},
{
"x": 113130
},
{
"x": 110510
},
{
"x": 110400
},
{
"x": 110250
},
{
"x": 107900
},
{
"x": 105470
},
{
"x": 102680
},
{
"x": 101590
},
{
"x": 99291
},
{
"x": 97952
},
{
"x": 97875
},
{
"x": 92454
},
{
"x": 92357
},
{
"x": 90347
},
{
"x": 88939
},
{
"x": 88776
},
{
"x": 88316
},
{
"x": 87549
},
{
"x": 84415
},
{
"x": 83903
},
{
"x": 82902
},
{
"x": 82351
},
{
"x": 82026
},
{
"x": 81600
},
{
"x": 77625
},
{
"x": 77196
},
{
"x": 75820
},
{
"x": 75214
},
{
"x": 74888
},
{
"x": 74863
},
{
"x": 74480
},
{
"x": 73506
},
{
"x": 72245
},
{
"x": 70828
},
{
"x": 70610
},
{
"x": 69849
},
{
"x": 69274
},
{
"x": 68838
},
{
"x": 66063
},
{
"x": 65713
},
{
"x": 65469
},
{
"x": 65263
},
{
"x": 64902
},
{
"x": 63723
},
{
"x": 62851
},
{
"x": 61471
},
{
"x": 61471
},
{
"x": 61344
},
{
"x": 61341
},
{
"x": 61151
},
{
"x": 60552
},
{
"x": 60053
},
{
"x": 58654
},
{
"x": 58547
},
{
"x": 58066
},
{
"x": 58004
},
{
"x": 57543
},
{
"x": 57187
},
{
"x": 57179
},
{
"x": 57162
},
{
"x": 56873
},
{
"x": 56792
},
{
"x": 56768
},
{
"x": 55608
},
{
"x": 55481
},
{
"x": 55007
},
{
"x": 54632
},
{
"x": 53941
},
{
"x": 53577
},
{
"x": 53311
},
{
"x": 53233
},
{
"x": 53079
},
{
"x": 52651
},
{
"x": 51997
},
{
"x": 51970
},
{
"x": 51817
},
{
"x": 51727
},
{
"x": 51600
},
{
"x": 51598
},
{
"x": 51537
},
{
"x": 51239
},
{
"x": 51233
},
{
"x": 51109
},
{
"x": 51106
},
{
"x": 51023
},
{
"x": 50863
},
{
"x": 50776
},
{
"x": 50717
},
{
"x": 50655
},
{
"x": 50571
},
{
"x": 50009
},
{
"x": 49661
},
{
"x": 49455
},
{
"x": 48842
},
{
"x": 48801
},
{
"x": 48712
},
{
"x": 48616
},
{
"x": 48487
},
{
"x": 48313
},
{
"x": 47806
},
{
"x": 47559
},
{
"x": 47488
},
{
"x": 46639
},
{
"x": 46534
},
{
"x": 46437
},
{
"x": 46318
},
{
"x": 46184
},
{
"x": 45433
},
{
"x": 45178
},
{
"x": 44745
},
{
"x": 44682
},
{
"x": 44406
},
{
"x": 44273
},
{
"x": 44197
},
{
"x": 43901
},
{
"x": 43577
},
{
"x": 43141
},
{
"x": 43054
},
{
"x": 43008
},
{
"x": 42981
},
{
"x": 42950
},
{
"x": 42852
},
{
"x": 42766
},
{
"x": 42743
},
{
"x": 42531
},
{
"x": 42426
},
{
"x": 42096
},
{
"x": 42090
},
{
"x": 42036
},
{
"x": 42015
},
{
"x": 41930
},
{
"x": 41556
},
{
"x": 41418
},
{
"x": 41312
},
{
"x": 41174
},
{
"x": 41127
},
{
"x": 40929
},
{
"x": 40920
},
{
"x": 40838
},
{
"x": 40746
},
{
"x": 40300
},
{
"x": 40183
},
{
"x": 40156
},
{
"x": 40147
},
{
"x": 40022
},
{
"x": 39943
},
{
"x": 39889
},
{
"x": 39847
},
{
"x": 39672
},
{
"x": 38939
},
{
"x": 38936
},
{
"x": 38919
},
{
"x": 38587
},
{
"x": 38496
},
{
"x": 38148
},
{
"x": 37729
},
{
"x": 37663
},
{
"x": 37646
},
{
"x": 37419
},
{
"x": 37333
},
{
"x": 37332
},
{
"x": 37259
},
{
"x": 37190
},
{
"x": 37088
},
{
"x": 37034
},
{
"x": 36233
},
{
"x": 36198
},
{
"x": 36126
},
{
"x": 35860
},
{
"x": 35687
},
{
"x": 35608
},
{
"x": 35592
},
{
"x": 35583
},
{
"x": 35340
},
{
"x": 35217
},
{
"x": 34891
},
{
"x": 34670
},
{
"x": 34546
},
{
"x": 34402
},
{
"x": 34325
},
{
"x": 34188
},
{
"x": 34171
},
{
"x": 34069
},
{
"x": 34024
},
{
"x": 34014
},
{
"x": 33968
},
{
"x": 33924
},
{
"x": 33804
},
{
"x": 33728
},
{
"x": 33707
},
{
"x": 33671
},
{
"x": 33618
},
{
"x": 33509
},
{
"x": 33479
},
{
"x": 33352
},
{
"x": 33187
},
{
"x": 33138
},
{
"x": 32988
},
{
"x": 32921
},
{
"x": 32723
},
{
"x": 32699
},
{
"x": 32634
},
{
"x": 32594
},
{
"x": 32565
},
{
"x": 32126
},
{
"x": 32110
},
{
"x": 32077
},
{
"x": 32067
},
{
"x": 31873
},
{
"x": 31539
},
{
"x": 31447
},
{
"x": 31252
},
{
"x": 31239
},
{
"x": 31213
},
{
"x": 30835
},
{
"x": 30632
},
{
"x": 30615
},
{
"x": 30610
},
{
"x": 30596
},
{
"x": 30509
},
{
"x": 30450
},
{
"x": 30428
},
{
"x": 30339
},
{
"x": 30230
},
{
"x": 30142
},
{
"x": 30092
},
{
"x": 30076
},
{
"x": 30076
},
{
"x": 29958
},
{
"x": 29859
},
{
"x": 29562
},
{
"x": 29558
},
{
"x": 29542
},
{
"x": 29529
},
{
"x": 29477
},
{
"x": 29472
},
{
"x": 29412
},
{
"x": 29385
},
{
"x": 29369
},
{
"x": 29315
},
{
"x": 28969
},
{
"x": 28738
},
{
"x": 28736
},
{
"x": 28674
},
{
"x": 28654
},
{
"x": 28572
},
{
"x": 28572
},
{
"x": 28543
},
{
"x": 28458
},
{
"x": 28442
},
{
"x": 28395
},
{
"x": 28339
},
{
"x": 28219
},
{
"x": 28147
},
{
"x": 28074
},
{
"x": 27906
},
{
"x": 27815
},
{
"x": 27716
},
{
"x": 27655
},
{
"x": 27652
},
{
"x": 27590
},
{
"x": 27577
},
{
"x": 27532
},
{
"x": 27451
},
{
"x": 27375
},
{
"x": 27370
},
{
"x": 27188
},
{
"x": 27151
},
{
"x": 27130
},
{
"x": 26972
},
{
"x": 26961
},
{
"x": 26934
},
{
"x": 26878
},
{
"x": 26690
},
{
"x": 26620
},
{
"x": 26535
},
{
"x": 26531
},
{
"x": 26522
},
{
"x": 26472
},
{
"x": 26436
},
{
"x": 26368
},
{
"x": 26333
},
{
"x": 26299
},
{
"x": 26261
},
{
"x": 26242
},
{
"x": 26226
},
{
"x": 26152
},
{
"x": 26121
},
{
"x": 26108
},
{
"x": 25981
},
{
"x": 25939
},
{
"x": 25915
},
{
"x": 25856
},
{
"x": 25824
},
{
"x": 25819
},
{
"x": 25694
},
{
"x": 25661
},
{
"x": 25621
},
{
"x": 25575
},
{
"x": 25567
},
{
"x": 25444
},
{
"x": 25199
},
{
"x": 25130
},
{
"x": 24962
},
{
"x": 24911
},
{
"x": 24836
},
{
"x": 24668
},
{
"x": 24606
},
{
"x": 24583
},
{
"x": 24568
},
{
"x": 24517
},
{
"x": 24508
},
{
"x": 24499
},
{
"x": 24456
},
{
"x": 24417
},
{
"x": 24357
},
{
"x": 24218
},
{
"x": 24052
},
{
"x": 24028
},
{
"x": 24018
},
{
"x": 23964
},
{
"x": 23914
},
{
"x": 23856
},
{
"x": 23813
},
{
"x": 23813
},
{
"x": 23813
},
{
"x": 23726
},
{
"x": 23659
},
{
"x": 23640
},
{
"x": 23622
},
{
"x": 23618
},
{
"x": 23466
},
{
"x": 23411
},
{
"x": 23343
},
{
"x": 23312
},
{
"x": 23302
},
{
"x": 23296
},
{
"x": 23171
},
{
"x": 23105
},
{
"x": 23073
},
{
"x": 22994
},
{
"x": 22988
},
{
"x": 22936
},
{
"x": 22843
},
{
"x": 22766
},
{
"x": 22753
},
{
"x": 22681
},
{
"x": 22681
},
{
"x": 22627
},
{
"x": 22568
},
{
"x": 22566
},
{
"x": 22410
},
{
"x": 22360
},
{
"x": 22299
},
{
"x": 22211
},
{
"x": 22208
},
{
"x": 22133
},
{
"x": 22132
},
{
"x": 22100
},
{
"x": 22071
},
{
"x": 22067
},
{
"x": 21956
},
{
"x": 21816
},
{
"x": 21778
},
{
"x": 21733
},
{
"x": 21717
},
{
"x": 21714
},
{
"x": 21642
},
{
"x": 21603
},
{
"x": 21545
},
{
"x": 21503
},
{
"x": 21436
},
{
"x": 21419
},
{
"x": 21418
},
{
"x": 21416
},
{
"x": 21410
},
{
"x": 21408
},
{
"x": 21293
},
{
"x": 21230
},
{
"x": 21230
},
{
"x": 21202
},
{
"x": 21199
},
{
"x": 21197
},
{
"x": 21162
},
{
"x": 21153
},
{
"x": 21101
},
{
"x": 21091
},
{
"x": 21062
},
{
"x": 21048
},
{
"x": 21032
},
{
"x": 21027
},
{
"x": 20944
},
{
"x": 20941
},
{
"x": 20926
},
{
"x": 20850
},
{
"x": 20838
},
{
"x": 20810
},
{
"x": 20672
},
{
"x": 20659
},
{
"x": 20599
},
{
"x": 20580
},
{
"x": 20339
},
{
"x": 20231
},
{
"x": 20204
},
{
"x": 20152
},
{
"x": 20086
},
{
"x": 20062
},
{
"x": 20041
},
{
"x": 20030
}
],
"pdf": [
{
"x": 1862.4,
"y": 0.045848
},
{
"x": 8070.5,
"y": 0.050926
},
{
"x": 14279,
"y": 0.055371
},
{
"x": 20487,
"y": 0.058945
},
{
"x": 26695,
"y": 0.061454
},
{
"x": 32903,
"y": 0.062765
},
{
"x": 39111,
"y": 0.062823
},
{
"x": 45319,
"y": 0.06165
},
{
"x": 51527,
"y": 0.059344
},
{
"x": 57736,
"y": 0.056068
},
{
"x": 63944,
"y": 0.05203
},
{
"x": 70152,
"y": 0.047465
},
{
"x": 76360,
"y": 0.042611
},
{
"x": 82568,
"y": 0.037691
},
{
"x": 88776,
"y": 0.032896
},
{
"x": 94984,
"y": 0.02838
},
{
"x": 101190,
"y": 0.024248
},
{
"x": 107400,
"y": 0.020566
},
{
"x": 113610,
"y": 0.017356
},
{
"x": 119820,
"y": 0.014612
},
{
"x": 126020,
"y": 0.012302
},
{
"x": 132230,
"y": 0.010381
},
{
"x": 138440,
"y": 0.008795
},
{
"x": 144650,
"y": 0.0074905
},
{
"x": 150860,
"y": 0.0064162
},
{
"x": 157070,
"y": 0.0055275
},
{
"x": 163270,
"y": 0.0047869
},
{
"x": 169480,
"y": 0.0041644
},
{
"x": 175690,
"y": 0.0036371
},
{
"x": 181900,
"y": 0.0031836
},
{
"x": 188110,
"y": 0.0027959
},
{
"x": 194310,
"y": 0.0024677
},
{
"x": 200520,
"y": 0.0021888
},
{
"x": 206730,
"y": 0.0019522
},
{
"x": 212940,
"y": 0.0017519
},
{
"x": 219150,
"y": 0.0015836
},
{
"x": 225350,
"y": 0.0014421
},
{
"x": 231560,
"y": 0.0013222
},
{
"x": 237770,
"y": 0.0012197
},
{
"x": 243980,
"y": 0.0011305
},
{
"x": 250190,
"y": 0.001051
},
{
"x": 256400,
"y": 0.00097849
},
{
"x": 262600,
"y": 0.00091042
},
{
"x": 268810,
"y": 0.00084535
},
{
"x": 275020,
"y": 0.00078238
},
{
"x": 281230,
"y": 0.00072142
},
{
"x": 287440,
"y": 0.00066235
},
{
"x": 293640,
"y": 0.00060561
},
{
"x": 299850,
"y": 0.00055166
},
{
"x": 306060,
"y": 0.00050152
},
{
"x": 312270,
"y": 0.00045561
},
{
"x": 318480,
"y": 0.00041415
},
{
"x": 324680,
"y": 0.00037714
},
{
"x": 330890,
"y": 0.00034439
},
{
"x": 337100,
"y": 0.00031568
},
{
"x": 343310,
"y": 0.00029058
},
{
"x": 349520,
"y": 0.00026895
},
{
"x": 355730,
"y": 0.00025047
},
{
"x": 361930,
"y": 0.00023503
},
{
"x": 368140,
"y": 0.00022273
},
{
"x": 374350,
"y": 0.00021382
},
{
"x": 380560,
"y": 0.00020859
},
{
"x": 386770,
"y": 0.0002072
},
{
"x": 392970,
"y": 0.00020981
},
{
"x": 399180,
"y": 0.00021635
},
{
"x": 405390,
"y": 0.00022635
},
{
"x": 411600,
"y": 0.00023909
},
{
"x": 417810,
"y": 0.00025369
},
{
"x": 424010,
"y": 0.00026896
},
{
"x": 430220,
"y": 0.00028358
},
{
"x": 436430,
"y": 0.00029624
},
{
"x": 442640,
"y": 0.00030578
},
{
"x": 448850,
"y": 0.00031123
},
{
"x": 455060,
"y": 0.00031183
},
{
"x": 461260,
"y": 0.00030722
},
{
"x": 467470,
"y": 0.00029736
},
{
"x": 473680,
"y": 0.00028261
},
{
"x": 479890,
"y": 0.00026361
},
{
"x": 486100,
"y": 0.00024122
},
{
"x": 492300,
"y": 0.00021649
},
{
"x": 498510,
"y": 0.00019049
},
{
"x": 504720,
"y": 0.00016428
},
{
"x": 510930,
"y": 0.00013882
},
{
"x": 517140,
"y": 0.00011495
},
{
"x": 523340,
"y": 0.000093232
},
{
"x": 529550,
"y": 0.000074041
},
{
"x": 535760,
"y": 0.000057564
},
{
"x": 541970,
"y": 0.000043803
},
{
"x": 548180,
"y": 0.000032617
},
{
"x": 554390,
"y": 0.000023762
},
{
"x": 560590,
"y": 0.000016934
},
{
"x": 566800,
"y": 0.000011803
},
{
"x": 573010,
"y": 0.0000080445
},
{
"x": 579220,
"y": 0.0000053608
},
{
"x": 585430,
"y": 0.0000034924
},
{
"x": 591630,
"y": 0.000002224
},
{
"x": 597840,
"y": 0.0000013413
},
{
"x": 604050,
"y": 0.000001
},
{
"x": 610260,
"y": 0.000001
},
{
"x": 616470,
"y": 0.000001
},
{
"x": 622670,
"y": 0.000001
},
{
"x": 628880,
"y": 0.000001
},
{
"x": 635090,
"y": 0.000001
},
{
"x": 641300,
"y": 0.000001
},
{
"x": 647510,
"y": 0.000001
},
{
"x": 653720,
"y": 0.000001
},
{
"x": 659920,
"y": 0.000001
},
{
"x": 666130,
"y": 0.000001
},
{
"x": 672340,
"y": 0.000001
},
{
"x": 678550,
"y": 0.000001
},
{
"x": 684760,
"y": 0.000001
},
{
"x": 690960,
"y": 0.000001
},
{
"x": 697170,
"y": 0.000001
},
{
"x": 703380,
"y": 0.000001
},
{
"x": 709590,
"y": 0.000001
},
{
"x": 715800,
"y": 0.0000015702
},
{
"x": 722000,
"y": 0.000002485
},
{
"x": 728210,
"y": 0.0000038407
},
{
"x": 734420,
"y": 0.0000057968
},
{
"x": 740630,
"y": 0.0000085441
},
{
"x": 746840,
"y": 0.000012298
},
{
"x": 753050,
"y": 0.000017287
},
{
"x": 759250,
"y": 0.000023731
},
{
"x": 765460,
"y": 0.000031813
},
{
"x": 771670,
"y": 0.000041647
},
{
"x": 777880,
"y": 0.000053243
},
{
"x": 784090,
"y": 0.000066473
},
{
"x": 790290,
"y": 0.000081045
},
{
"x": 796500,
"y": 0.000096494
},
{
"x": 802710,
"y": 0.0001122
},
{
"x": 808920,
"y": 0.00012739
},
{
"x": 815130,
"y": 0.00014126
},
{
"x": 821330,
"y": 0.00015296
},
{
"x": 827540,
"y": 0.00016174
},
{
"x": 833750,
"y": 0.00016702
},
{
"x": 839960,
"y": 0.00016843
},
{
"x": 846170,
"y": 0.00016586
},
{
"x": 852380,
"y": 0.00015951
},
{
"x": 858580,
"y": 0.0001498
},
{
"x": 864790,
"y": 0.00013738
},
{
"x": 871000,
"y": 0.00012303
},
{
"x": 877210,
"y": 0.0001076
},
{
"x": 883420,
"y": 0.000091896
},
{
"x": 889620,
"y": 0.000076643
},
{
"x": 895830,
"y": 0.000062422
},
{
"x": 902040,
"y": 0.000049646
},
{
"x": 908250,
"y": 0.000038559
},
{
"x": 914460,
"y": 0.000029245
},
{
"x": 920660,
"y": 0.000021661
},
{
"x": 926870,
"y": 0.000015666
},
{
"x": 933080,
"y": 0.000011065
},
{
"x": 939290,
"y": 0.0000076319
},
{
"x": 945500,
"y": 0.0000051403
},
{
"x": 951710,
"y": 0.0000033809
},
{
"x": 957910,
"y": 0.0000021715
},
{
"x": 964120,
"y": 0.000001362
},
{
"x": 970330,
"y": 0.000001
},
{
"x": 976540,
"y": 0.000001
},
{
"x": 982750,
"y": 0.000001
},
{
"x": 988950,
"y": 0.000001
},
{
"x": 995160,
"y": 0.000001
},
{
"x": 1001400,
"y": 0.000001
},
{
"x": 1007600,
"y": 0.000001
},
{
"x": 1013800,
"y": 0.000001
},
{
"x": 1020000,
"y": 0.000001
},
{
"x": 1026200,
"y": 0.000001
},
{
"x": 1032400,
"y": 0.000001
},
{
"x": 1038600,
"y": 0.000001
},
{
"x": 1044800,
"y": 0.000001
},
{
"x": 1051000,
"y": 0.000001
},
{
"x": 1057200,
"y": 0.000001
},
{
"x": 1063500,
"y": 0.000001
},
{
"x": 1069700,
"y": 0.000001
},
{
"x": 1075900,
"y": 0.000001
},
{
"x": 1082100,
"y": 0.000001
},
{
"x": 1088300,
"y": 0.000001
},
{
"x": 1094500,
"y": 0.000001
},
{
"x": 1100700,
"y": 0.000001
},
{
"x": 1106900,
"y": 0.000001
},
{
"x": 1113100,
"y": 0.000001
},
{
"x": 1119300,
"y": 0.000001
},
{
"x": 1125500,
"y": 0.000001
},
{
"x": 1131700,
"y": 0.000001
},
{
"x": 1137900,
"y": 0.000001
},
{
"x": 1144200,
"y": 0.000001
},
{
"x": 1150400,
"y": 0.000001
},
{
"x": 1156600,
"y": 0.000001
},
{
"x": 1162800,
"y": 0.000001
},
{
"x": 1169000,
"y": 0.000001
},
{
"x": 1175200,
"y": 0.000001
},
{
"x": 1181400,
"y": 0.000001
},
{
"x": 1187600,
"y": 0.000001
},
{
"x": 1193800,
"y": 0.000001
},
{
"x": 1200000,
"y": 0.000001
},
{
"x": 1206200,
"y": 0.000001
},
{
"x": 1212400,
"y": 0.000001
},
{
"x": 1218700,
"y": 0.000001
},
{
"x": 1224900,
"y": 0.000001
},
{
"x": 1231100,
"y": 0.000001
},
{
"x": 1237300,
"y": 0.000001
},
{
"x": 1243500,
"y": 0.000001
},
{
"x": 1249700,
"y": 0.000001
},
{
"x": 1255900,
"y": 0.000001
},
{
"x": 1262100,
"y": 0.000001
},
{
"x": 1268300,
"y": 0.000001
},
{
"x": 1274500,
"y": 0.000001
},
{
"x": 1280700,
"y": 0.000001
},
{
"x": 1286900,
"y": 0.000001
},
{
"x": 1293200,
"y": 0.000001
},
{
"x": 1299400,
"y": 0.000001
},
{
"x": 1305600,
"y": 0.000001
},
{
"x": 1311800,
"y": 0.000001
},
{
"x": 1318000,
"y": 0.000001
},
{
"x": 1324200,
"y": 0.000001
},
{
"x": 1330400,
"y": 0.000001
},
{
"x": 1336600,
"y": 0.000001
},
{
"x": 1342800,
"y": 0.000001
},
{
"x": 1349000,
"y": 0.000001
},
{
"x": 1355200,
"y": 0.000001
},
{
"x": 1361400,
"y": 0.000001
},
{
"x": 1367600,
"y": 0.000001
},
{
"x": 1373900,
"y": 0.000001
},
{
"x": 1380100,
"y": 0.000001
},
{
"x": 1386300,
"y": 0.000001
},
{
"x": 1392500,
"y": 0.000001
},
{
"x": 1398700,
"y": 0.000001
},
{
"x": 1404900,
"y": 0.000001
},
{
"x": 1411100,
"y": 0.000001
},
{
"x": 1417300,
"y": 0.000001
},
{
"x": 1423500,
"y": 0.000001
},
{
"x": 1429700,
"y": 0.000001
},
{
"x": 1435900,
"y": 0.000001
},
{
"x": 1442100,
"y": 0.000001
},
{
"x": 1448400,
"y": 0.000001
},
{
"x": 1454600,
"y": 0.000001
},
{
"x": 1460800,
"y": 0.000001
},
{
"x": 1467000,
"y": 0.000001
},
{
"x": 1473200,
"y": 0.000001
},
{
"x": 1479400,
"y": 0.000001
},
{
"x": 1485600,
"y": 0.000001
},
{
"x": 1491800,
"y": 0.000001
},
{
"x": 1498000,
"y": 0.000001
},
{
"x": 1504200,
"y": 0.000001
},
{
"x": 1510400,
"y": 0.000001
},
{
"x": 1516600,
"y": 0.000001
},
{
"x": 1522900,
"y": 0.000001
},
{
"x": 1529100,
"y": 0.000001
},
{
"x": 1535300,
"y": 0.000001
},
{
"x": 1541500,
"y": 0.000001
},
{
"x": 1547700,
"y": 0.000001
},
{
"x": 1553900,
"y": 0.000001
},
{
"x": 1560100,
"y": 0.000001
},
{
"x": 1566300,
"y": 0.000001
},
{
"x": 1572500,
"y": 0.000001
},
{
"x": 1578700,
"y": 0.000001
},
{
"x": 1584900,
"y": 0.000001
},
{
"x": 1591100,
"y": 0.000001
},
{
"x": 1597400,
"y": 0.000001
},
{
"x": 1603600,
"y": 0.000001
},
{
"x": 1609800,
"y": 0.000001
},
{
"x": 1616000,
"y": 0.000001
},
{
"x": 1622200,
"y": 0.000001
},
{
"x": 1628400,
"y": 0.000001
},
{
"x": 1634600,
"y": 0.000001
},
{
"x": 1640800,
"y": 0.000001
},
{
"x": 1647000,
"y": 0.000001
},
{
"x": 1653200,
"y": 0.000001
},
{
"x": 1659400,
"y": 0.000001
},
{
"x": 1665600,
"y": 0.000001
},
{
"x": 1671800,
"y": 0.000001
},
{
"x": 1678100,
"y": 0.000001
},
{
"x": 1684300,
"y": 0.000001
},
{
"x": 1690500,
"y": 0.000001
},
{
"x": 1696700,
"y": 0.000001
},
{
"x": 1702900,
"y": 0.000001
},
{
"x": 1709100,
"y": 0.000001
},
{
"x": 1715300,
"y": 0.000001
},
{
"x": 1721500,
"y": 0.000001
},
{
"x": 1727700,
"y": 0.000001
},
{
"x": 1733900,
"y": 0.000001
},
{
"x": 1740100,
"y": 0.000001
},
{
"x": 1746300,
"y": 0.000001
},
{
"x": 1752600,
"y": 0.000001
},
{
"x": 1758800,
"y": 0.000001
},
{
"x": 1765000,
"y": 0.000001
},
{
"x": 1771200,
"y": 0.000001
},
{
"x": 1777400,
"y": 0.000001
},
{
"x": 1783600,
"y": 0.000001
},
{
"x": 1789800,
"y": 0.000001
},
{
"x": 1796000,
"y": 0.000001
},
{
"x": 1802200,
"y": 0.000001
},
{
"x": 1808400,
"y": 0.000001
},
{
"x": 1814600,
"y": 0.000001
},
{
"x": 1820800,
"y": 0.000001
},
{
"x": 1827100,
"y": 0.000001
},
{
"x": 1833300,
"y": 0.000001
},
{
"x": 1839500,
"y": 0.000001
},
{
"x": 1845700,
"y": 0.000001
},
{
"x": 1851900,
"y": 0.000001
},
{
"x": 1858100,
"y": 0.000001
},
{
"x": 1864300,
"y": 0.000001
},
{
"x": 1870500,
"y": 0.000001
},
{
"x": 1876700,
"y": 0.000001
},
{
"x": 1882900,
"y": 0.000001
},
{
"x": 1889100,
"y": 0.000001
},
{
"x": 1895300,
"y": 0.000001
},
{
"x": 1901500,
"y": 0.000001
},
{
"x": 1907800,
"y": 0.000001
},
{
"x": 1914000,
"y": 0.000001
},
{
"x": 1920200,
"y": 0.000001
},
{
"x": 1926400,
"y": 0.000001
},
{
"x": 1932600,
"y": 0.000001
},
{
"x": 1938800,
"y": 0.000001
},
{
"x": 1945000,
"y": 0.000001
},
{
"x": 1951200,
"y": 0.000001
},
{
"x": 1957400,
"y": 0.000001
},
{
"x": 1963600,
"y": 0.000001
},
{
"x": 1969800,
"y": 0.000001
},
{
"x": 1976000,
"y": 0.000001
},
{
"x": 1982300,
"y": 0.000001
},
{
"x": 1988500,
"y": 0.000001
},
{
"x": 1994700,
"y": 0.000001
},
{
"x": 2000900,
"y": 0.000001
},
{
"x": 2007100,
"y": 0.000001
},
{
"x": 2013300,
"y": 0.000001
},
{
"x": 2019500,
"y": 0.000001
},
{
"x": 2025700,
"y": 0.000001
},
{
"x": 2031900,
"y": 0.000001
},
{
"x": 2038100,
"y": 0.000001
},
{
"x": 2044300,
"y": 0.000001
},
{
"x": 2050500,
"y": 0.000001
},
{
"x": 2056800,
"y": 0.0000014033
},
{
"x": 2063000,
"y": 0.0000022347
},
{
"x": 2069200,
"y": 0.000003475
},
{
"x": 2075400,
"y": 0.0000052768
},
{
"x": 2081600,
"y": 0.0000078246
},
{
"x": 2087800,
"y": 0.00001133
},
{
"x": 2094000,
"y": 0.00001602
},
{
"x": 2100200,
"y": 0.00002212
},
{
"x": 2106400,
"y": 0.000029824
},
{
"x": 2112600,
"y": 0.000039268
},
{
"x": 2118800,
"y": 0.000050486
},
{
"x": 2125000,
"y": 0.000063385
},
{
"x": 2131200,
"y": 0.000077711
},
{
"x": 2137500,
"y": 0.000093036
},
{
"x": 2143700,
"y": 0.00010877
},
{
"x": 2149900,
"y": 0.00012417
},
{
"x": 2156100,
"y": 0.00013843
},
{
"x": 2162300,
"y": 0.00015069
},
{
"x": 2168500,
"y": 0.0001602
},
{
"x": 2174700,
"y": 0.0001663
},
{
"x": 2180900,
"y": 0.00016858
},
{
"x": 2187100,
"y": 0.00016687
},
{
"x": 2193300,
"y": 0.00016131
},
{
"x": 2199500,
"y": 0.00015227
},
{
"x": 2205700,
"y": 0.00014036
},
{
"x": 2212000,
"y": 0.00012634
},
{
"x": 2218200,
"y": 0.00011106
},
{
"x": 2224400,
"y": 0.000095328
},
{
"x": 2230600,
"y": 0.000079905
},
{
"x": 2236800,
"y": 0.000065405
},
{
"x": 2243000,
"y": 0.000052279
},
{
"x": 2249200,
"y": 0.000040807
},
{
"x": 2255400,
"y": 0.000031104
},
{
"x": 2261600,
"y": 0.000023152
},
{
"x": 2267800,
"y": 0.000016828
},
{
"x": 2274000,
"y": 0.000011945
},
{
"x": 2280200,
"y": 0.0000082793
},
{
"x": 2286500,
"y": 0.000005604
},
{
"x": 2292700,
"y": 0.0000037042
},
{
"x": 2298900,
"y": 0.000002391
},
{
"x": 2305100,
"y": 0.0000015071
},
{
"x": 2311300,
"y": 0.000001
},
{
"x": 2317500,
"y": 0.000001
},
{
"x": 2323700,
"y": 0.000001
},
{
"x": 2329900,
"y": 0.000001
},
{
"x": 2336100,
"y": 0.000001
},
{
"x": 2342300,
"y": 0.000001
}
],
"cdf": [
{
"x": 1862.4,
"y": 0.045848
},
{
"x": 8070.5,
"y": 0.096774
},
{
"x": 14279,
"y": 0.15214
},
{
"x": 20487,
"y": 0.21109
},
{
"x": 26695,
"y": 0.27254
},
{
"x": 32903,
"y": 0.33531
},
{
"x": 39111,
"y": 0.39813
},
{
"x": 45319,
"y": 0.45978
},
{
"x": 51527,
"y": 0.51912
},
{
"x": 57736,
"y": 0.57519
},
{
"x": 63944,
"y": 0.62722
},
{
"x": 70152,
"y": 0.67469
},
{
"x": 76360,
"y": 0.7173
},
{
"x": 82568,
"y": 0.75499
},
{
"x": 88776,
"y": 0.78789
},
{
"x": 94984,
"y": 0.81627
},
{
"x": 101190,
"y": 0.84052
},
{
"x": 107400,
"y": 0.86108
},
{
"x": 113610,
"y": 0.87844
},
{
"x": 119820,
"y": 0.89305
},
{
"x": 126020,
"y": 0.90535
},
{
"x": 132230,
"y": 0.91573
},
{
"x": 138440,
"y": 0.92453
},
{
"x": 144650,
"y": 0.93202
},
{
"x": 150860,
"y": 0.93843
},
{
"x": 157070,
"y": 0.94396
},
{
"x": 163270,
"y": 0.94875
},
{
"x": 169480,
"y": 0.95291
},
{
"x": 175690,
"y": 0.95655
},
{
"x": 181900,
"y": 0.95973
},
{
"x": 188110,
"y": 0.96253
},
{
"x": 194310,
"y": 0.965
},
{
"x": 200520,
"y": 0.96719
},
{
"x": 206730,
"y": 0.96914
},
{
"x": 212940,
"y": 0.97089
},
{
"x": 219150,
"y": 0.97247
},
{
"x": 225350,
"y": 0.97391
},
{
"x": 231560,
"y": 0.97524
},
{
"x": 237770,
"y": 0.97646
},
{
"x": 243980,
"y": 0.97759
},
{
"x": 250190,
"y": 0.97864
},
{
"x": 256400,
"y": 0.97962
},
{
"x": 262600,
"y": 0.98053
},
{
"x": 268810,
"y": 0.98137
},
{
"x": 275020,
"y": 0.98216
},
{
"x": 281230,
"y": 0.98288
},
{
"x": 287440,
"y": 0.98354
},
{
"x": 293640,
"y": 0.98414
},
{
"x": 299850,
"y": 0.9847
},
{
"x": 306060,
"y": 0.9852
},
{
"x": 312270,
"y": 0.98565
},
{
"x": 318480,
"y": 0.98607
},
{
"x": 324680,
"y": 0.98644
},
{
"x": 330890,
"y": 0.98679
},
{
"x": 337100,
"y": 0.9871
},
{
"x": 343310,
"y": 0.9874
},
{
"x": 349520,
"y": 0.98766
},
{
"x": 355730,
"y": 0.98791
},
{
"x": 361930,
"y": 0.98815
},
{
"x": 368140,
"y": 0.98837
},
{
"x": 374350,
"y": 0.98859
},
{
"x": 380560,
"y": 0.98879
},
{
"x": 386770,
"y": 0.989
},
{
"x": 392970,
"y": 0.98921
},
{
"x": 399180,
"y": 0.98943
},
{
"x": 405390,
"y": 0.98965
},
{
"x": 411600,
"y": 0.98989
},
{
"x": 417810,
"y": 0.99015
},
{
"x": 424010,
"y": 0.99042
},
{
"x": 430220,
"y": 0.9907
},
{
"x": 436430,
"y": 0.991
},
{
"x": 442640,
"y": 0.9913
},
{
"x": 448850,
"y": 0.99161
},
{
"x": 455060,
"y": 0.99192
},
{
"x": 461260,
"y": 0.99223
},
{
"x": 467470,
"y": 0.99253
},
{
"x": 473680,
"y": 0.99281
},
{
"x": 479890,
"y": 0.99308
},
{
"x": 486100,
"y": 0.99332
},
{
"x": 492300,
"y": 0.99353
},
{
"x": 498510,
"y": 0.99372
},
{
"x": 504720,
"y": 0.99389
},
{
"x": 510930,
"y": 0.99403
},
{
"x": 517140,
"y": 0.99414
},
{
"x": 523340,
"y": 0.99424
},
{
"x": 529550,
"y": 0.99431
},
{
"x": 535760,
"y": 0.99437
},
{
"x": 541970,
"y": 0.99441
},
{
"x": 548180,
"y": 0.99444
},
{
"x": 554390,
"y": 0.99447
},
{
"x": 560590,
"y": 0.99448
},
{
"x": 566800,
"y": 0.9945
},
{
"x": 573010,
"y": 0.9945
},
{
"x": 579220,
"y": 0.99451
},
{
"x": 585430,
"y": 0.99451
},
{
"x": 591630,
"y": 0.99451
},
{
"x": 597840,
"y": 0.99452
},
{
"x": 604050,
"y": 0.99452
},
{
"x": 610260,
"y": 0.99452
},
{
"x": 616470,
"y": 0.99452
},
{
"x": 622670,
"y": 0.99452
},
{
"x": 628880,
"y": 0.99452
},
{
"x": 635090,
"y": 0.99452
},
{
"x": 641300,
"y": 0.99452
},
{
"x": 647510,
"y": 0.99452
},
{
"x": 653720,
"y": 0.99453
},
{
"x": 659920,
"y": 0.99453
},
{
"x": 666130,
"y": 0.99453
},
{
"x": 672340,
"y": 0.99453
},
{
"x": 678550,
"y": 0.99453
},
{
"x": 684760,
"y": 0.99453
},
{
"x": 690960,
"y": 0.99453
},
{
"x": 697170,
"y": 0.99453
},
{
"x": 703380,
"y": 0.99453
},
{
"x": 709590,
"y": 0.99453
},
{
"x": 715800,
"y": 0.99454
},
{
"x": 722000,
"y": 0.99454
},
{
"x": 728210,
"y": 0.99454
},
{
"x": 734420,
"y": 0.99455
},
{
"x": 740630,
"y": 0.99456
},
{
"x": 746840,
"y": 0.99457
},
{
"x": 753050,
"y": 0.99459
},
{
"x": 759250,
"y": 0.99461
},
{
"x": 765460,
"y": 0.99464
},
{
"x": 771670,
"y": 0.99468
},
{
"x": 777880,
"y": 0.99474
},
{
"x": 784090,
"y": 0.9948
},
{
"x": 790290,
"y": 0.99488
},
{
"x": 796500,
"y": 0.99498
},
{
"x": 802710,
"y": 0.99509
},
{
"x": 808920,
"y": 0.99522
},
{
"x": 815130,
"y": 0.99536
},
{
"x": 821330,
"y": 0.99551
},
{
"x": 827540,
"y": 0.99568
},
{
"x": 833750,
"y": 0.99584
},
{
"x": 839960,
"y": 0.99601
},
{
"x": 846170,
"y": 0.99618
},
{
"x": 852380,
"y": 0.99634
},
{
"x": 858580,
"y": 0.99649
},
{
"x": 864790,
"y": 0.99662
},
{
"x": 871000,
"y": 0.99675
},
{
"x": 877210,
"y": 0.99685
},
{
"x": 883420,
"y": 0.99695
},
{
"x": 889620,
"y": 0.99702
},
{
"x": 895830,
"y": 0.99709
},
{
"x": 902040,
"y": 0.99714
},
{
"x": 908250,
"y": 0.99717
},
{
"x": 914460,
"y": 0.9972
},
{
"x": 920660,
"y": 0.99722
},
{
"x": 926870,
"y": 0.99724
},
{
"x": 933080,
"y": 0.99725
},
{
"x": 939290,
"y": 0.99726
},
{
"x": 945500,
"y": 0.99726
},
{
"x": 951710,
"y": 0.99727
},
{
"x": 957910,
"y": 0.99727
},
{
"x": 964120,
"y": 0.99727
},
{
"x": 970330,
"y": 0.99727
},
{
"x": 976540,
"y": 0.99727
},
{
"x": 982750,
"y": 0.99727
},
{
"x": 988950,
"y": 0.99728
},
{
"x": 995160,
"y": 0.99728
},
{
"x": 1001400,
"y": 0.99728
},
{
"x": 1007600,
"y": 0.99728
},
{
"x": 1013800,
"y": 0.99728
},
{
"x": 1020000,
"y": 0.99728
},
{
"x": 1026200,
"y": 0.99728
},
{
"x": 1032400,
"y": 0.99728
},
{
"x": 1038600,
"y": 0.99728
},
{
"x": 1044800,
"y": 0.99728
},
{
"x": 1051000,
"y": 0.99729
},
{
"x": 1057200,
"y": 0.99729
},
{
"x": 1063500,
"y": 0.99729
},
{
"x": 1069700,
"y": 0.99729
},
{
"x": 1075900,
"y": 0.99729
},
{
"x": 1082100,
"y": 0.99729
},
{
"x": 1088300,
"y": 0.99729
},
{
"x": 1094500,
"y": 0.99729
},
{
"x": 1100700,
"y": 0.99729
},
{
"x": 1106900,
"y": 0.99729
},
{
"x": 1113100,
"y": 0.9973
},
{
"x": 1119300,
"y": 0.9973
},
{
"x": 1125500,
"y": 0.9973
},
{
"x": 1131700,
"y": 0.9973
},
{
"x": 1137900,
"y": 0.9973
},
{
"x": 1144200,
"y": 0.9973
},
{
"x": 1150400,
"y": 0.9973
},
{
"x": 1156600,
"y": 0.9973
},
{
"x": 1162800,
"y": 0.9973
},
{
"x": 1169000,
"y": 0.9973
},
{
"x": 1175200,
"y": 0.99731
},
{
"x": 1181400,
"y": 0.99731
},
{
"x": 1187600,
"y": 0.99731
},
{
"x": 1193800,
"y": 0.99731
},
{
"x": 1200000,
"y": 0.99731
},
{
"x": 1206200,
"y": 0.99731
},
{
"x": 1212400,
"y": 0.99731
},
{
"x": 1218700,
"y": 0.99731
},
{
"x": 1224900,
"y": 0.99731
},
{
"x": 1231100,
"y": 0.99731
},
{
"x": 1237300,
"y": 0.99732
},
{
"x": 1243500,
"y": 0.99732
},
{
"x": 1249700,
"y": 0.99732
},
{
"x": 1255900,
"y": 0.99732
},
{
"x": 1262100,
"y": 0.99732
},
{
"x": 1268300,
"y": 0.99732
},
{
"x": 1274500,
"y": 0.99732
},
{
"x": 1280700,
"y": 0.99732
},
{
"x": 1286900,
"y": 0.99732
},
{
"x": 1293200,
"y": 0.99732
},
{
"x": 1299400,
"y": 0.99733
},
{
"x": 1305600,
"y": 0.99733
},
{
"x": 1311800,
"y": 0.99733
},
{
"x": 1318000,
"y": 0.99733
},
{
"x": 1324200,
"y": 0.99733
},
{
"x": 1330400,
"y": 0.99733
},
{
"x": 1336600,
"y": 0.99733
},
{
"x": 1342800,
"y": 0.99733
},
{
"x": 1349000,
"y": 0.99733
},
{
"x": 1355200,
"y": 0.99733
},
{
"x": 1361400,
"y": 0.99734
},
{
"x": 1367600,
"y": 0.99734
},
{
"x": 1373900,
"y": 0.99734
},
{
"x": 1380100,
"y": 0.99734
},
{
"x": 1386300,
"y": 0.99734
},
{
"x": 1392500,
"y": 0.99734
},
{
"x": 1398700,
"y": 0.99734
},
{
"x": 1404900,
"y": 0.99734
},
{
"x": 1411100,
"y": 0.99734
},
{
"x": 1417300,
"y": 0.99734
},
{
"x": 1423500,
"y": 0.99735
},
{
"x": 1429700,
"y": 0.99735
},
{
"x": 1435900,
"y": 0.99735
},
{
"x": 1442100,
"y": 0.99735
},
{
"x": 1448400,
"y": 0.99735
},
{
"x": 1454600,
"y": 0.99735
},
{
"x": 1460800,
"y": 0.99735
},
{
"x": 1467000,
"y": 0.99735
},
{
"x": 1473200,
"y": 0.99735
},
{
"x": 1479400,
"y": 0.99735
},
{
"x": 1485600,
"y": 0.99736
},
{
"x": 1491800,
"y": 0.99736
},
{
"x": 1498000,
"y": 0.99736
},
{
"x": 1504200,
"y": 0.99736
},
{
"x": 1510400,
"y": 0.99736
},
{
"x": 1516600,
"y": 0.99736
},
{
"x": 1522900,
"y": 0.99736
},
{
"x": 1529100,
"y": 0.99736
},
{
"x": 1535300,
"y": 0.99736
},
{
"x": 1541500,
"y": 0.99736
},
{
"x": 1547700,
"y": 0.99737
},
{
"x": 1553900,
"y": 0.99737
},
{
"x": 1560100,
"y": 0.99737
},
{
"x": 1566300,
"y": 0.99737
},
{
"x": 1572500,
"y": 0.99737
},
{
"x": 1578700,
"y": 0.99737
},
{
"x": 1584900,
"y": 0.99737
},
{
"x": 1591100,
"y": 0.99737
},
{
"x": 1597400,
"y": 0.99737
},
{
"x": 1603600,
"y": 0.99737
},
{
"x": 1609800,
"y": 0.99738
},
{
"x": 1616000,
"y": 0.99738
},
{
"x": 1622200,
"y": 0.99738
},
{
"x": 1628400,
"y": 0.99738
},
{
"x": 1634600,
"y": 0.99738
},
{
"x": 1640800,
"y": 0.99738
},
{
"x": 1647000,
"y": 0.99738
},
{
"x": 1653200,
"y": 0.99738
},
{
"x": 1659400,
"y": 0.99738
},
{
"x": 1665600,
"y": 0.99738
},
{
"x": 1671800,
"y": 0.99739
},
{
"x": 1678100,
"y": 0.99739
},
{
"x": 1684300,
"y": 0.99739
},
{
"x": 1690500,
"y": 0.99739
},
{
"x": 1696700,
"y": 0.99739
},
{
"x": 1702900,
"y": 0.99739
},
{
"x": 1709100,
"y": 0.99739
},
{
"x": 1715300,
"y": 0.99739
},
{
"x": 1721500,
"y": 0.99739
},
{
"x": 1727700,
"y": 0.99739
},
{
"x": 1733900,
"y": 0.9974
},
{
"x": 1740100,
"y": 0.9974
},
{
"x": 1746300,
"y": 0.9974
},
{
"x": 1752600,
"y": 0.9974
},
{
"x": 1758800,
"y": 0.9974
},
{
"x": 1765000,
"y": 0.9974
},
{
"x": 1771200,
"y": 0.9974
},
{
"x": 1777400,
"y": 0.9974
},
{
"x": 1783600,
"y": 0.9974
},
{
"x": 1789800,
"y": 0.9974
},
{
"x": 1796000,
"y": 0.99741
},
{
"x": 1802200,
"y": 0.99741
},
{
"x": 1808400,
"y": 0.99741
},
{
"x": 1814600,
"y": 0.99741
},
{
"x": 1820800,
"y": 0.99741
},
{
"x": 1827100,
"y": 0.99741
},
{
"x": 1833300,
"y": 0.99741
},
{
"x": 1839500,
"y": 0.99741
},
{
"x": 1845700,
"y": 0.99741
},
{
"x": 1851900,
"y": 0.99741
},
{
"x": 1858100,
"y": 0.99742
},
{
"x": 1864300,
"y": 0.99742
},
{
"x": 1870500,
"y": 0.99742
},
{
"x": 1876700,
"y": 0.99742
},
{
"x": 1882900,
"y": 0.99742
},
{
"x": 1889100,
"y": 0.99742
},
{
"x": 1895300,
"y": 0.99742
},
{
"x": 1901500,
"y": 0.99742
},
{
"x": 1907800,
"y": 0.99742
},
{
"x": 1914000,
"y": 0.99742
},
{
"x": 1920200,
"y": 0.99743
},
{
"x": 1926400,
"y": 0.99743
},
{
"x": 1932600,
"y": 0.99743
},
{
"x": 1938800,
"y": 0.99743
},
{
"x": 1945000,
"y": 0.99743
},
{
"x": 1951200,
"y": 0.99743
},
{
"x": 1957400,
"y": 0.99743
},
{
"x": 1963600,
"y": 0.99743
},
{
"x": 1969800,
"y": 0.99743
},
{
"x": 1976000,
"y": 0.99743
},
{
"x": 1982300,
"y": 0.99744
},
{
"x": 1988500,
"y": 0.99744
},
{
"x": 1994700,
"y": 0.99744
},
{
"x": 2000900,
"y": 0.99744
},
{
"x": 2007100,
"y": 0.99744
},
{
"x": 2013300,
"y": 0.99744
},
{
"x": 2019500,
"y": 0.99744
},
{
"x": 2025700,
"y": 0.99744
},
{
"x": 2031900,
"y": 0.99744
},
{
"x": 2038100,
"y": 0.99744
},
{
"x": 2044300,
"y": 0.99745
},
{
"x": 2050500,
"y": 0.99745
},
{
"x": 2056800,
"y": 0.99745
},
{
"x": 2063000,
"y": 0.99745
},
{
"x": 2069200,
"y": 0.99745
},
{
"x": 2075400,
"y": 0.99746
},
{
"x": 2081600,
"y": 0.99747
},
{
"x": 2087800,
"y": 0.99748
},
{
"x": 2094000,
"y": 0.99749
},
{
"x": 2100200,
"y": 0.99752
},
{
"x": 2106400,
"y": 0.99755
},
{
"x": 2112600,
"y": 0.99758
},
{
"x": 2118800,
"y": 0.99764
},
{
"x": 2125000,
"y": 0.9977
},
{
"x": 2131200,
"y": 0.99778
},
{
"x": 2137500,
"y": 0.99787
},
{
"x": 2143700,
"y": 0.99798
},
{
"x": 2149900,
"y": 0.9981
},
{
"x": 2156100,
"y": 0.99824
},
{
"x": 2162300,
"y": 0.99839
},
{
"x": 2168500,
"y": 0.99855
},
{
"x": 2174700,
"y": 0.99872
},
{
"x": 2180900,
"y": 0.99889
},
{
"x": 2187100,
"y": 0.99905
},
{
"x": 2193300,
"y": 0.99921
},
{
"x": 2199500,
"y": 0.99937
},
{
"x": 2205700,
"y": 0.99951
},
{
"x": 2212000,
"y": 0.99963
},
{
"x": 2218200,
"y": 0.99974
},
{
"x": 2224400,
"y": 0.99984
},
{
"x": 2230600,
"y": 0.99992
},
{
"x": 2236800,
"y": 0.99999
},
{
"x": 2243000,
"y": 1
},
{
"x": 2249200,
"y": 1.0001
},
{
"x": 2255400,
"y": 1.0001
},
{
"x": 2261600,
"y": 1.0001
},
{
"x": 2267800,
"y": 1.0001
},
{
"x": 2274000,
"y": 1.0002
},
{
"x": 2280200,
"y": 1.0002
},
{
"x": 2286500,
"y": 1.0002
},
{
"x": 2292700,
"y": 1.0002
},
{
"x": 2298900,
"y": 1.0002
},
{
"x": 2305100,
"y": 1.0002
},
{
"x": 2311300,
"y": 1.0002
},
{
"x": 2317500,
"y": 1.0002
},
{
"x": 2323700,
"y": 1.0002
},
{
"x": 2329900,
"y": 1.0002
},
{
"x": 2336100,
"y": 1.0002
},
{
"x": 2342300,
"y": 1.0002
}
],
"datatable": [
{
"x": 1862.4,
"pdf": 0.045848,
"cdf": 0.045848
},
{
"x": 8070.5,
"pdf": 0.050926,
"cdf": 0.096774
},
{
"x": 14279,
"pdf": 0.055371,
"cdf": 0.15214
},
{
"x": 20487,
"pdf": 0.058945,
"cdf": 0.21109
},
{
"x": 26695,
"pdf": 0.061454,
"cdf": 0.27254
},
{
"x": 32903,
"pdf": 0.062765,
"cdf": 0.33531
},
{
"x": 39111,
"pdf": 0.062823,
"cdf": 0.39813
},
{
"x": 45319,
"pdf": 0.06165,
"cdf": 0.45978
},
{
"x": 51527,
"pdf": 0.059344,
"cdf": 0.51912
},
{
"x": 57736,
"pdf": 0.056068,
"cdf": 0.57519
},
{
"x": 63944,
"pdf": 0.05203,
"cdf": 0.62722
},
{
"x": 70152,
"pdf": 0.047465,
"cdf": 0.67469
},
{
"x": 76360,
"pdf": 0.042611,
"cdf": 0.7173
},
{
"x": 82568,
"pdf": 0.037691,
"cdf": 0.75499
},
{
"x": 88776,
"pdf": 0.032896,
"cdf": 0.78789
},
{
"x": 94984,
"pdf": 0.02838,
"cdf": 0.81627
},
{
"x": 101190,
"pdf": 0.024248,
"cdf": 0.84052
},
{
"x": 107400,
"pdf": 0.020566,
"cdf": 0.86108
},
{
"x": 113610,
"pdf": 0.017356,
"cdf": 0.87844
},
{
"x": 119820,
"pdf": 0.014612,
"cdf": 0.89305
},
{
"x": 126020,
"pdf": 0.012302,
"cdf": 0.90535
},
{
"x": 132230,
"pdf": 0.010381,
"cdf": 0.91573
},
{
"x": 138440,
"pdf": 0.008795,
"cdf": 0.92453
},
{
"x": 144650,
"pdf": 0.0074905,
"cdf": 0.93202
},
{
"x": 150860,
"pdf": 0.0064162,
"cdf": 0.93843
},
{
"x": 157070,
"pdf": 0.0055275,
"cdf": 0.94396
},
{
"x": 163270,
"pdf": 0.0047869,
"cdf": 0.94875
},
{
"x": 169480,
"pdf": 0.0041644,
"cdf": 0.95291
},
{
"x": 175690,
"pdf": 0.0036371,
"cdf": 0.95655
},
{
"x": 181900,
"pdf": 0.0031836,
"cdf": 0.95973
},
{
"x": 188110,
"pdf": 0.0027959,
"cdf": 0.96253
},
{
"x": 194310,
"pdf": 0.0024677,
"cdf": 0.965
},
{
"x": 200520,
"pdf": 0.0021888,
"cdf": 0.96719
},
{
"x": 206730,
"pdf": 0.0019522,
"cdf": 0.96914
},
{
"x": 212940,
"pdf": 0.0017519,
"cdf": 0.97089
},
{
"x": 219150,
"pdf": 0.0015836,
"cdf": 0.97247
},
{
"x": 225350,
"pdf": 0.0014421,
"cdf": 0.97391
},
{
"x": 231560,
"pdf": 0.0013222,
"cdf": 0.97524
},
{
"x": 237770,
"pdf": 0.0012197,
"cdf": 0.97646
},
{
"x": 243980,
"pdf": 0.0011305,
"cdf": 0.97759
},
{
"x": 250190,
"pdf": 0.001051,
"cdf": 0.97864
},
{
"x": 256400,
"pdf": 0.00097849,
"cdf": 0.97962
},
{
"x": 262600,
"pdf": 0.00091042,
"cdf": 0.98053
},
{
"x": 268810,
"pdf": 0.00084535,
"cdf": 0.98137
},
{
"x": 275020,
"pdf": 0.00078238,
"cdf": 0.98216
},
{
"x": 281230,
"pdf": 0.00072142,
"cdf": 0.98288
},
{
"x": 287440,
"pdf": 0.00066235,
"cdf": 0.98354
},
{
"x": 293640,
"pdf": 0.00060561,
"cdf": 0.98414
},
{
"x": 299850,
"pdf": 0.00055166,
"cdf": 0.9847
},
{
"x": 306060,
"pdf": 0.00050152,
"cdf": 0.9852
},
{
"x": 312270,
"pdf": 0.00045561,
"cdf": 0.98565
},
{
"x": 318480,
"pdf": 0.00041415,
"cdf": 0.98607
},
{
"x": 324680,
"pdf": 0.00037714,
"cdf": 0.98644
},
{
"x": 330890,
"pdf": 0.00034439,
"cdf": 0.98679
},
{
"x": 337100,
"pdf": 0.00031568,
"cdf": 0.9871
},
{
"x": 343310,
"pdf": 0.00029058,
"cdf": 0.9874
},
{
"x": 349520,
"pdf": 0.00026895,
"cdf": 0.98766
},
{
"x": 355730,
"pdf": 0.00025047,
"cdf": 0.98791
},
{
"x": 361930,
"pdf": 0.00023503,
"cdf": 0.98815
},
{
"x": 368140,
"pdf": 0.00022273,
"cdf": 0.98837
},
{
"x": 374350,
"pdf": 0.00021382,
"cdf": 0.98859
},
{
"x": 380560,
"pdf": 0.00020859,
"cdf": 0.98879
},
{
"x": 386770,
"pdf": 0.0002072,
"cdf": 0.989
},
{
"x": 392970,
"pdf": 0.00020981,
"cdf": 0.98921
},
{
"x": 399180,
"pdf": 0.00021635,
"cdf": 0.98943
},
{
"x": 405390,
"pdf": 0.00022635,
"cdf": 0.98965
},
{
"x": 411600,
"pdf": 0.00023909,
"cdf": 0.98989
},
{
"x": 417810,
"pdf": 0.00025369,
"cdf": 0.99015
},
{
"x": 424010,
"pdf": 0.00026896,
"cdf": 0.99042
},
{
"x": 430220,
"pdf": 0.00028358,
"cdf": 0.9907
},
{
"x": 436430,
"pdf": 0.00029624,
"cdf": 0.991
},
{
"x": 442640,
"pdf": 0.00030578,
"cdf": 0.9913
},
{
"x": 448850,
"pdf": 0.00031123,
"cdf": 0.99161
},
{
"x": 455060,
"pdf": 0.00031183,
"cdf": 0.99192
},
{
"x": 461260,
"pdf": 0.00030722,
"cdf": 0.99223
},
{
"x": 467470,
"pdf": 0.00029736,
"cdf": 0.99253
},
{
"x": 473680,
"pdf": 0.00028261,
"cdf": 0.99281
},
{
"x": 479890,
"pdf": 0.00026361,
"cdf": 0.99308
},
{
"x": 486100,
"pdf": 0.00024122,
"cdf": 0.99332
},
{
"x": 492300,
"pdf": 0.00021649,
"cdf": 0.99353
},
{
"x": 498510,
"pdf": 0.00019049,
"cdf": 0.99372
},
{
"x": 504720,
"pdf": 0.00016428,
"cdf": 0.99389
},
{
"x": 510930,
"pdf": 0.00013882,
"cdf": 0.99403
},
{
"x": 517140,
"pdf": 0.00011495,
"cdf": 0.99414
},
{
"x": 523340,
"pdf": 0.000093232,
"cdf": 0.99424
},
{
"x": 529550,
"pdf": 0.000074041,
"cdf": 0.99431
},
{
"x": 535760,
"pdf": 0.000057564,
"cdf": 0.99437
},
{
"x": 541970,
"pdf": 0.000043803,
"cdf": 0.99441
},
{
"x": 548180,
"pdf": 0.000032617,
"cdf": 0.99444
},
{
"x": 554390,
"pdf": 0.000023762,
"cdf": 0.99447
},
{
"x": 560590,
"pdf": 0.000016934,
"cdf": 0.99448
},
{
"x": 566800,
"pdf": 0.000011803,
"cdf": 0.9945
},
{
"x": 573010,
"pdf": 0.0000080445,
"cdf": 0.9945
},
{
"x": 579220,
"pdf": 0.0000053608,
"cdf": 0.99451
},
{
"x": 585430,
"pdf": 0.0000034924,
"cdf": 0.99451
},
{
"x": 591630,
"pdf": 0.000002224,
"cdf": 0.99451
},
{
"x": 597840,
"pdf": 0.0000013413,
"cdf": 0.99452
},
{
"x": 604050,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 610260,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 616470,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 622670,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 628880,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 635090,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 641300,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 647510,
"pdf": 0.000001,
"cdf": 0.99452
},
{
"x": 653720,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 659920,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 666130,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 672340,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 678550,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 684760,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 690960,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 697170,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 703380,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 709590,
"pdf": 0.000001,
"cdf": 0.99453
},
{
"x": 715800,
"pdf": 0.0000015702,
"cdf": 0.99454
},
{
"x": 722000,
"pdf": 0.000002485,
"cdf": 0.99454
},
{
"x": 728210,
"pdf": 0.0000038407,
"cdf": 0.99454
},
{
"x": 734420,
"pdf": 0.0000057968,
"cdf": 0.99455
},
{
"x": 740630,
"pdf": 0.0000085441,
"cdf": 0.99456
},
{
"x": 746840,
"pdf": 0.000012298,
"cdf": 0.99457
},
{
"x": 753050,
"pdf": 0.000017287,
"cdf": 0.99459
},
{
"x": 759250,
"pdf": 0.000023731,
"cdf": 0.99461
},
{
"x": 765460,
"pdf": 0.000031813,
"cdf": 0.99464
},
{
"x": 771670,
"pdf": 0.000041647,
"cdf": 0.99468
},
{
"x": 777880,
"pdf": 0.000053243,
"cdf": 0.99474
},
{
"x": 784090,
"pdf": 0.000066473,
"cdf": 0.9948
},
{
"x": 790290,
"pdf": 0.000081045,
"cdf": 0.99488
},
{
"x": 796500,
"pdf": 0.000096494,
"cdf": 0.99498
},
{
"x": 802710,
"pdf": 0.0001122,
"cdf": 0.99509
},
{
"x": 808920,
"pdf": 0.00012739,
"cdf": 0.99522
},
{
"x": 815130,
"pdf": 0.00014126,
"cdf": 0.99536
},
{
"x": 821330,
"pdf": 0.00015296,
"cdf": 0.99551
},
{
"x": 827540,
"pdf": 0.00016174,
"cdf": 0.99568
},
{
"x": 833750,
"pdf": 0.00016702,
"cdf": 0.99584
},
{
"x": 839960,
"pdf": 0.00016843,
"cdf": 0.99601
},
{
"x": 846170,
"pdf": 0.00016586,
"cdf": 0.99618
},
{
"x": 852380,
"pdf": 0.00015951,
"cdf": 0.99634
},
{
"x": 858580,
"pdf": 0.0001498,
"cdf": 0.99649
},
{
"x": 864790,
"pdf": 0.00013738,
"cdf": 0.99662
},
{
"x": 871000,
"pdf": 0.00012303,
"cdf": 0.99675
},
{
"x": 877210,
"pdf": 0.0001076,
"cdf": 0.99685
},
{
"x": 883420,
"pdf": 0.000091896,
"cdf": 0.99695
},
{
"x": 889620,
"pdf": 0.000076643,
"cdf": 0.99702
},
{
"x": 895830,
"pdf": 0.000062422,
"cdf": 0.99709
},
{
"x": 902040,
"pdf": 0.000049646,
"cdf": 0.99714
},
{
"x": 908250,
"pdf": 0.000038559,
"cdf": 0.99717
},
{
"x": 914460,
"pdf": 0.000029245,
"cdf": 0.9972
},
{
"x": 920660,
"pdf": 0.000021661,
"cdf": 0.99722
},
{
"x": 926870,
"pdf": 0.000015666,
"cdf": 0.99724
},
{
"x": 933080,
"pdf": 0.000011065,
"cdf": 0.99725
},
{
"x": 939290,
"pdf": 0.0000076319,
"cdf": 0.99726
},
{
"x": 945500,
"pdf": 0.0000051403,
"cdf": 0.99726
},
{
"x": 951710,
"pdf": 0.0000033809,
"cdf": 0.99727
},
{
"x": 957910,
"pdf": 0.0000021715,
"cdf": 0.99727
},
{
"x": 964120,
"pdf": 0.000001362,
"cdf": 0.99727
},
{
"x": 970330,
"pdf": 0.000001,
"cdf": 0.99727
},
{
"x": 976540,
"pdf": 0.000001,
"cdf": 0.99727
},
{
"x": 982750,
"pdf": 0.000001,
"cdf": 0.99727
},
{
"x": 988950,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 995160,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1001400,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1007600,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1013800,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1020000,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1026200,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1032400,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1038600,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1044800,
"pdf": 0.000001,
"cdf": 0.99728
},
{
"x": 1051000,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1057200,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1063500,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1069700,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1075900,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1082100,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1088300,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1094500,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1100700,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1106900,
"pdf": 0.000001,
"cdf": 0.99729
},
{
"x": 1113100,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1119300,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1125500,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1131700,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1137900,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1144200,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1150400,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1156600,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1162800,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1169000,
"pdf": 0.000001,
"cdf": 0.9973
},
{
"x": 1175200,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1181400,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1187600,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1193800,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1200000,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1206200,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1212400,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1218700,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1224900,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1231100,
"pdf": 0.000001,
"cdf": 0.99731
},
{
"x": 1237300,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1243500,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1249700,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1255900,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1262100,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1268300,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1274500,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1280700,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1286900,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1293200,
"pdf": 0.000001,
"cdf": 0.99732
},
{
"x": 1299400,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1305600,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1311800,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1318000,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1324200,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1330400,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1336600,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1342800,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1349000,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1355200,
"pdf": 0.000001,
"cdf": 0.99733
},
{
"x": 1361400,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1367600,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1373900,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1380100,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1386300,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1392500,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1398700,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1404900,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1411100,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1417300,
"pdf": 0.000001,
"cdf": 0.99734
},
{
"x": 1423500,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1429700,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1435900,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1442100,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1448400,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1454600,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1460800,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1467000,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1473200,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1479400,
"pdf": 0.000001,
"cdf": 0.99735
},
{
"x": 1485600,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1491800,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1498000,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1504200,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1510400,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1516600,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1522900,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1529100,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1535300,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1541500,
"pdf": 0.000001,
"cdf": 0.99736
},
{
"x": 1547700,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1553900,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1560100,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1566300,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1572500,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1578700,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1584900,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1591100,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1597400,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1603600,
"pdf": 0.000001,
"cdf": 0.99737
},
{
"x": 1609800,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1616000,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1622200,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1628400,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1634600,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1640800,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1647000,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1653200,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1659400,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1665600,
"pdf": 0.000001,
"cdf": 0.99738
},
{
"x": 1671800,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1678100,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1684300,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1690500,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1696700,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1702900,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1709100,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1715300,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1721500,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1727700,
"pdf": 0.000001,
"cdf": 0.99739
},
{
"x": 1733900,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1740100,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1746300,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1752600,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1758800,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1765000,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1771200,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1777400,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1783600,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1789800,
"pdf": 0.000001,
"cdf": 0.9974
},
{
"x": 1796000,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1802200,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1808400,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1814600,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1820800,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1827100,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1833300,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1839500,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1845700,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1851900,
"pdf": 0.000001,
"cdf": 0.99741
},
{
"x": 1858100,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1864300,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1870500,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1876700,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1882900,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1889100,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1895300,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1901500,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1907800,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1914000,
"pdf": 0.000001,
"cdf": 0.99742
},
{
"x": 1920200,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1926400,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1932600,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1938800,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1945000,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1951200,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1957400,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1963600,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1969800,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1976000,
"pdf": 0.000001,
"cdf": 0.99743
},
{
"x": 1982300,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 1988500,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 1994700,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2000900,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2007100,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2013300,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2019500,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2025700,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2031900,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2038100,
"pdf": 0.000001,
"cdf": 0.99744
},
{
"x": 2044300,
"pdf": 0.000001,
"cdf": 0.99745
},
{
"x": 2050500,
"pdf": 0.000001,
"cdf": 0.99745
},
{
"x": 2056800,
"pdf": 0.0000014033,
"cdf": 0.99745
},
{
"x": 2063000,
"pdf": 0.0000022347,
"cdf": 0.99745
},
{
"x": 2069200,
"pdf": 0.000003475,
"cdf": 0.99745
},
{
"x": 2075400,
"pdf": 0.0000052768,
"cdf": 0.99746
},
{
"x": 2081600,
"pdf": 0.0000078246,
"cdf": 0.99747
},
{
"x": 2087800,
"pdf": 0.00001133,
"cdf": 0.99748
},
{
"x": 2094000,
"pdf": 0.00001602,
"cdf": 0.99749
},
{
"x": 2100200,
"pdf": 0.00002212,
"cdf": 0.99752
},
{
"x": 2106400,
"pdf": 0.000029824,
"cdf": 0.99755
},
{
"x": 2112600,
"pdf": 0.000039268,
"cdf": 0.99758
},
{
"x": 2118800,
"pdf": 0.000050486,
"cdf": 0.99764
},
{
"x": 2125000,
"pdf": 0.000063385,
"cdf": 0.9977
},
{
"x": 2131200,
"pdf": 0.000077711,
"cdf": 0.99778
},
{
"x": 2137500,
"pdf": 0.000093036,
"cdf": 0.99787
},
{
"x": 2143700,
"pdf": 0.00010877,
"cdf": 0.99798
},
{
"x": 2149900,
"pdf": 0.00012417,
"cdf": 0.9981
},
{
"x": 2156100,
"pdf": 0.00013843,
"cdf": 0.99824
},
{
"x": 2162300,
"pdf": 0.00015069,
"cdf": 0.99839
},
{
"x": 2168500,
"pdf": 0.0001602,
"cdf": 0.99855
},
{
"x": 2174700,
"pdf": 0.0001663,
"cdf": 0.99872
},
{
"x": 2180900,
"pdf": 0.00016858,
"cdf": 0.99889
},
{
"x": 2187100,
"pdf": 0.00016687,
"cdf": 0.99905
},
{
"x": 2193300,
"pdf": 0.00016131,
"cdf": 0.99921
},
{
"x": 2199500,
"pdf": 0.00015227,
"cdf": 0.99937
},
{
"x": 2205700,
"pdf": 0.00014036,
"cdf": 0.99951
},
{
"x": 2212000,
"pdf": 0.00012634,
"cdf": 0.99963
},
{
"x": 2218200,
"pdf": 0.00011106,
"cdf": 0.99974
},
{
"x": 2224400,
"pdf": 0.000095328,
"cdf": 0.99984
},
{
"x": 2230600,
"pdf": 0.000079905,
"cdf": 0.99992
},
{
"x": 2236800,
"pdf": 0.000065405,
"cdf": 0.99999
},
{
"x": 2243000,
"pdf": 0.000052279,
"cdf": 1
},
{
"x": 2249200,
"pdf": 0.000040807,
"cdf": 1.0001
},
{
"x": 2255400,
"pdf": 0.000031104,
"cdf": 1.0001
},
{
"x": 2261600,
"pdf": 0.000023152,
"cdf": 1.0001
},
{
"x": 2267800,
"pdf": 0.000016828,
"cdf": 1.0001
},
{
"x": 2274000,
"pdf": 0.000011945,
"cdf": 1.0002
},
{
"x": 2280200,
"pdf": 0.0000082793,
"cdf": 1.0002
},
{
"x": 2286500,
"pdf": 0.000005604,
"cdf": 1.0002
},
{
"x": 2292700,
"pdf": 0.0000037042,
"cdf": 1.0002
},
{
"x": 2298900,
"pdf": 0.000002391,
"cdf": 1.0002
},
{
"x": 2305100,
"pdf": 0.0000015071,
"cdf": 1.0002
},
{
"x": 2311300,
"pdf": 0.000001,
"cdf": 1.0002
},
{
"x": 2317500,
"pdf": 0.000001,
"cdf": 1.0002
},
{
"x": 2323700,
"pdf": 0.000001,
"cdf": 1.0002
},
{
"x": 2329900,
"pdf": 0.000001,
"cdf": 1.0002
},
{
"x": 2336100,
"pdf": 0.000001,
"cdf": 1.0002
},
{
"x": 2342300,
"pdf": 0.000001,
"cdf": 1.0002
}
]
}
var width = 427;
var height = 300;
var delta = 27;
var margin = {top: 22, right: -18, bottom: 57, left: 40},
width = width - margin.left - margin.right + 3* delta,
height = height - margin.top - margin.bottom + 3*delta;
var svg = d3.select("svg")
.attr("width",width)
.attr("height",height)
.append("g")
// move 0,0 slightly down and right to accomodate axes
.attr("transform", "translate(14,5)");;
var dat = Data.pdf
var datcdf = Data.cdf
var datccdf = Data.ccdf
var xdat = Data.xdata
// Domains
var x_domain = d3.extent(function(d) {
vec = dat;
xx = [];
var l = vec.length;
for(i=0;i<l;i++) {
xx[i] = vec[i]["x"];
}
return xx;
}())
var y_domain = d3.extent(function(d) {
vec = dat;
xx = [];
var l = vec.length;
for(i=0;i<l;i++) {
xx[i] = vec[i]["y"];
}
return xx;
}())
var y_domaincdf = d3.extent(function(d) {
vec = datcdf;
xx = [];
var l = vec.length;
for(i=0;i<l;i++) {
xx[i] = vec[i]["y"];
}
return xx;
}())
// LinScales
var xscale = d3.scale.linear()
.domain(x_domain)
.range([delta, width]);
var xscalelog = d3.scale.log()
.domain(x_domain)
.range([delta, width]);
var yscale = d3.scale.linear()
.domain(y_domain)
.range([height -delta, 0]);
var yscalelog = d3.scale.log()
.domain(y_domain)
.range([height -delta, 0]);
var yscalelogcdf = d3.scale.log()
.domain(y_domaincdf)
.range([height -delta, 0]);
// Axes
var xAxis = d3.svg.axis()
.scale(xscale)
.ticks(6)
.orient("bottom");
var xAxisLog = d3.svg.axis()
.scale(xscalelog)
.ticks(6)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(yscale)
.ticks(6)
.orient("left");
var yAxisLog = d3.svg.axis()
.scale(yscalelog)
.ticks(6)
.orient("left");
var yAxisLogCDF = d3.svg.axis()
.scale(yscalelog)
.ticks(6)
.orient("left");
//Plot x/y axes.
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - delta) + ")")
.call(xAxis);
svg.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + delta + ",0)")
.call(yAxis);
// Point circles
var circles = svg.append("g").selectAll("circle")
.data(xdat)
.enter()
.append("circle")
.classed("xdat",1);
var circleAttributes = circles
.attr("cx", function (d) { return xscale(d.x); })
.attr("cy", function (d) { return 0; })
.attr("transform", "translate(0," + (height - delta ) + ")")
.attr("r", 6)
.style({"fill":"darkorange", "opacity": 0.0576});
// Line graph
var lineFunction = d3.svg.line()
.x(function(d) { return xscale(d.x); })
.y(function(d) { return yscale(d.y); })
.interpolate("cubic");
var lineFunctionLog = d3.svg.line()
.x(function(d) { return xscale(d.x); })
.y(function(d) { return yscalelog(d.y); })
.interpolate("cubic");
var lineFunctionLog2 = d3.svg.line()
.x(function(d) { return xscalelog(d.x); })
.y(function(d) { return yscalelog(d.y); })
.interpolate("cubic");
var lineGraph = svg
.append("g")
.classed("pathline",1)
.append("path")
.attr("transform", "translate(" + [0, 0] + ")")
.attr("d", lineFunction(dat))
.attr("stroke", "blue")
.attr("stroke-width", 2)
.attr("fill", "none")
.classed("lin",true)
var circlestooltip = svg.append("g")
.classed("pathtooltip",1)
.selectAll("circle")
.data(dat)
.enter()
.append("circle")
.classed("circlestooltip",1)
.attr("cx", function (d) { return xscale(d.x); })
.attr("cy", function (d) { return yscale(d.y); })
.attr("transform", "translate(0," + (0) + ")")
.attr("r", 6)
.style({"fill":"#7460C5", "fill-opacity": 0})
svg.selectAll("circle")
.on("mouseover", function() {
var sel = d3.select(this);
sel.style({"stroke":"#E72E3D",
"stroke-opacity": 1,
"stroke-width":3});
})
.on("mouseout", function() {
var sel = d3.select(this);
sel.style({"stroke":"none", "fill-opacity": 0});
})
;
//buttons for pdf/cdf
var buttontext = svg.select("g")
.append("text").text("CDF")
.attr("transform", "translate(" + [402, 50 - height] + ")")
.classed("scale-button",1)
.attr("font-size", "12") // this must be before "x" which dynamically determines width
.attr("fill", "blue")
.on("mousedown", function() { d3.select(this).style("fill", "#10663A"); })
.on("mouseup", function() { d3.select(this).style("fill", null); })
.on("click",function(){
svg.selectAll(".y.axis")
.transition()
.duration(500)
.ease("linear").call(yAxisLogCDF);
svg.selectAll(".x.axis")
.transition()
.duration(500)
.ease("linear").call(xAxis);
svg.selectAll(".pathline").select("path")
.data(datcdf)
.classed("log",true)
.transition()
.duration(500)
.ease("linear")
.attr("transform", "translate(" + [0, 0] + ")")
.attr("d", lineFunctionLog(datcdf))
.attr("stroke", "#02A048")
.attr("stroke-width", 2)
.attr("fill", "none");
svg.select(".pathtooltip").selectAll("circle")
.data(dat)
.classed("lin",true)
.transition()
.duration(500)
.ease("linear")
.attr("cx", function (d) { return xscale(d.x); })
.attr("cy", function (d) { return yscalelog(d.y); })
.attr("transform", "translate(0," + (0) + ")")
.attr("r", 6)
.style({"fill":"#60C568", "fill-opacity": 0});
svg.selectAll("circle")
.on("mouseover", function() {
var sel = d3.select(this);
sel.style({"stroke":"#E72E3D",
"stroke-opacity": 1,
"stroke-width":3});
})
.on("mouseout", function() {
var sel = d3.select(this);
sel.style({"stroke":"none", "fill-opacity": 0});
})
})
var buttontext2 = svg.select("g")
.append("text").text("PDF")
.attr("transform", "translate(" + [368, 50 - height] + ")")
.classed("scale-button",1)
.attr("font-size", "12") // this must be before "x" which dynamically determines width
.attr("fill", "blue")
.on("mousedown", function() { d3.select(this).style("fill", "#10663A"); })
.on("mouseup", function() { d3.select(this).style("fill", null); })
.on("click",function(){
svg.selectAll(".y.axis")
.transition()
.duration(500)
.ease("linear").call(yAxis);
svg.selectAll(".x.axis")
.transition()
.duration(500)
.ease("linear").call(xAxis);
svg.selectAll(".pathline").select("path")
.data(dat)
.classed("lin",true)
.transition()
.duration(500)
.ease("linear")
.attr("transform", "translate(" + [0, 0] + ")")
.attr("d", lineFunction(dat))
.attr("stroke", "#3250CA")
.attr("stroke-width", 2)
.attr("fill", "none");
svg.select(".pathtooltip").selectAll("circle")
.data(dat)
.classed("lin",true)
.transition()
.duration(500)
.ease("linear")
.attr("cx", function (d) { return xscale(d.x); })
.attr("cy", function (d) { return yscale(d.y); })
.attr("transform", "translate(0," + (0) + ")")
.attr("r", 6)
.style({"fill":"#60C568", "fill-opacity": 0})
;
svg.selectAll("circle")
.on("mouseover", function() {
var sel = d3.select(this);
sel.style({"stroke":"#E72E3D",
"stroke-opacity": 1,
"stroke-width":3});
})
.on("mouseout", function() {
var sel = d3.select(this);
sel.style({"stroke":"none", "fill-opacity": 0});
})
})
var buttontext3 = svg.select("g")
.append("text").text("CCDF")
.attr("transform", "translate(" + [436, 50 - height] + ")")
.classed("scale-button",1)
.attr("font-size", "12") // this must be before "x" which dynamically determines width
.attr("fill", "blue")
.on("mousedown", function() { d3.select(this).style("fill", "#10663A"); })
.on("mouseup", function() { d3.select(this).style("fill", null); })
.on("click",function(){
svg.selectAll(".y.axis")
.transition()
.duration(500)
.ease("linear").call(yAxisLog);
svg.selectAll(".x.axis")
.transition()
.duration(500)
.ease("linear").call(xAxisLog);
svg.selectAll(".pathline").select("path")
.data(dat)
.classed("lin",true)
.transition()
.duration(500)
.ease("linear")
.attr("transform", "translate(" + [0, 0] + ")")
.attr("d", lineFunctionLog2(dat))
.attr("stroke", "#F32C4C")
.attr("stroke-width", 2)
.attr("fill", "none");
})
//tooltips
// Add circles for line tooltip
$('.circlestooltip').tipsy({
gravity: 'w',
html: true,
title: function() {
var d = this.__data__;
return 'x = ' + d.x + ' y = ' + d.y;
}
});
$('.xdat').tipsy({
gravity: 'w',
html: true,
title: function() {
var d = this.__data__;
return 'x = ' + d.x;
}
});
// Add legends
var legend = svg.append('g')
.attr('class', 'legend');
var legposx = 436, legposy = 41;
legend.append('rect')
.attr('x', legposx -5 )
.attr('y', legposy + 16)
.attr('width', 10)
.attr('height', 2)
.style('fill', 'blue');
legend.append('text')
.attr('x', legposx + 10 )
.attr('y', legposy + 21)
.attr("font-size", "12")
.text('PDF');
legend.append('circle')
.attr('cx', legposx)
.attr('cy', legposy)
.attr('r', 5)
.style('fill', 'orange');
legend.append('text')
.attr('x', legposx + 10)
.attr('y', legposy +5)
.attr("font-size", "12")
.text('data');
.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
.axis text {
font-family: sans-serif;
font-size: 11px;
}
.scale-button:not(.selected):hover {
text-decoration: underline;
cursor: pointer !important;
}
.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FAF9F8; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }
/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/
.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }
/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }
.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
// tipsy, facebook style tooltips for jquery
// version 1.0.0a
// (c) 2008-2010 jason frame [jason@onehackoranother.com]
// released under the MIT license
(function($) {
function maybeCall(thing, ctx) {
return (typeof thing == 'function') ? (thing.call(ctx)) : thing;
}
function Tipsy(element, options) {
this.$element = $(element);
this.options = options;
this.enabled = true;
this.fixTitle();
}
Tipsy.prototype = {
show: function() {
var title = this.getTitle();
if (title && this.enabled) {
var $tip = this.tip();
$tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title);
$tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
$tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).prependTo(document.body);
var pos = $.extend({}, this.$element.offset(), {
width: this.$element[0].offsetWidth || 0,
height: this.$element[0].offsetHeight || 0
});
if (typeof this.$element[0].nearestViewportElement == 'object') {
// SVG
var el = this.$element[0];
var rect = el.getBoundingClientRect();
pos.width = rect.width;
pos.height = rect.height;
}
var actualWidth = $tip[0].offsetWidth,
actualHeight = $tip[0].offsetHeight,
gravity = maybeCall(this.options.gravity, this.$element[0]);
var tp;
switch (gravity.charAt(0)) {
case 'n':
tp = {top: pos.top + pos.height + this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
break;
case 's':
tp = {top: pos.top - actualHeight - this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
break;
case 'e':
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth - this.options.offset};
break;
case 'w':
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width + this.options.offset};
break;
}
if (gravity.length == 2) {
if (gravity.charAt(1) == 'w') {
tp.left = pos.left + pos.width / 2 - 15;
} else {
tp.left = pos.left + pos.width / 2 - actualWidth + 15;
}
}
$tip.css(tp).addClass('tipsy-' + gravity);
$tip.find('.tipsy-arrow')[0].className = 'tipsy-arrow tipsy-arrow-' + gravity.charAt(0);
if (this.options.className) {
$tip.addClass(maybeCall(this.options.className, this.$element[0]));
}
if (this.options.fade) {
$tip.stop().css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: this.options.opacity});
} else {
$tip.css({visibility: 'visible', opacity: this.options.opacity});
}
var t = this;
var set_hovered = function(set_hover){
return function(){
t.$tip.stop();
t.tipHovered = set_hover;
if (!set_hover){
if (t.options.delayOut === 0) {
t.hide();
} else {
setTimeout(function() {
if (t.hoverState == 'out') t.hide(); }, t.options.delayOut);
}
}
};
};
$tip.hover(set_hovered(true), set_hovered(false));
}
},
hide: function() {
if (this.options.fade) {
this.tip().stop().fadeOut(function() { $(this).remove(); });
} else {
this.tip().remove();
}
},
fixTitle: function() {
var $e = this.$element;
if ($e.attr('title') || typeof($e.attr('original-title')) != 'string') {
$e.attr('original-title', $e.attr('title') || '').removeAttr('title');
}
if (typeof $e.context.nearestViewportElement == 'object'){
if ($e.children('title').length){
$e.append('<original-title>' + ($e.children('title').text() || '') + '</original-title>')
.children('title').remove();
}
}
},
getTitle: function() {
var title, $e = this.$element, o = this.options;
this.fixTitle();
if (typeof o.title == 'string') {
var title_name = o.title == 'title' ? 'original-title' : o.title;
if ($e.children(title_name).length){
title = $e.children(title_name).html();
} else{
title = $e.attr(title_name);
}
} else if (typeof o.title == 'function') {
title = o.title.call($e[0]);
}
title = ('' + title).replace(/(^\s*|\s*$)/, "");
return title || o.fallback;
},
tip: function() {
if (!this.$tip) {
this.$tip = $('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>');
}
return this.$tip;
},
validate: function() {
if (!this.$element[0].parentNode) {
this.hide();
this.$element = null;
this.options = null;
}
},
enable: function() { this.enabled = true; },
disable: function() { this.enabled = false; },
toggleEnabled: function() { this.enabled = !this.enabled; }
};
$.fn.tipsy = function(options) {
if (options === true) {
return this.data('tipsy');
} else if (typeof options == 'string') {
var tipsy = this.data('tipsy');
if (tipsy) tipsy[options]();
return this;
}
options = $.extend({}, $.fn.tipsy.defaults, options);
if (options.hoverlock && options.delayOut === 0) {
options.delayOut = 100;
}
function get(ele) {
var tipsy = $.data(ele, 'tipsy');
if (!tipsy) {
tipsy = new Tipsy(ele, $.fn.tipsy.elementOptions(ele, options));
$.data(ele, 'tipsy', tipsy);
}
return tipsy;
}
function enter() {
var tipsy = get(this);
tipsy.hoverState = 'in';
if (options.delayIn === 0) {
tipsy.show();
} else {
tipsy.fixTitle();
setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn);
}
}
function leave() {
var tipsy = get(this);
tipsy.hoverState = 'out';
if (options.delayOut === 0) {
tipsy.hide();
} else {
var to = function() {
if (!tipsy.tipHovered || !options.hoverlock){
if (tipsy.hoverState == 'out') tipsy.hide();
}
};
setTimeout(to, options.delayOut);
}
}
if (options.trigger != 'manual') {
var binder = options.live ? 'live' : 'bind',
eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus',
eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';
this[binder](eventIn, enter)[binder](eventOut, leave);
}
return this;
};
$.fn.tipsy.defaults = {
className: null,
delayIn: 0,
delayOut: 0,
fade: false,
fallback: '',
gravity: 'n',
html: false,
live: false,
offset: 0,
opacity: 0.8,
title: 'title',
trigger: 'hover',
hoverlock: false
};
// Overwrite this method to provide options on a per-element basis.
// For example, you could store the gravity in a 'tipsy-gravity' attribute:
// return $.extend({}, options, {gravity: $(ele).attr('tipsy-gravity') || 'n' });
// (remember - do not modify 'options' in place!)
$.fn.tipsy.elementOptions = function(ele, options) {
return $.metadata ? $.extend({}, options, $(ele).metadata()) : options;
};
$.fn.tipsy.autoNS = function() {
return $(this).offset().top > ($(document).scrollTop() + $(window).height() / 2) ? 's' : 'n';
};
$.fn.tipsy.autoWE = function() {
return $(this).offset().left > ($(document).scrollLeft() + $(window).width() / 2) ? 'e' : 'w';
};
/**
* yields a closure of the supplied parameters, producing a function that takes
* no arguments and is suitable for use as an autogravity function like so:
*
* @param margin (int) - distance from the viewable region edge that an
* element should be before setting its tooltip's gravity to be away
* from that edge.
* @param prefer (string, e.g. 'n', 'sw', 'w') - the direction to prefer
* if there are no viewable region edges effecting the tooltip's
* gravity. It will try to vary from this minimally, for example,
* if 'sw' is preferred and an element is near the right viewable
* region edge, but not the top edge, it will set the gravity for
* that element's tooltip to be 'se', preserving the southern
* component.
*/
$.fn.tipsy.autoBounds = function(margin, prefer) {
return function() {
var dir = {ns: prefer[0], ew: (prefer.length > 1 ? prefer[1] : false)},
boundTop = $(document).scrollTop() + margin,
boundLeft = $(document).scrollLeft() + margin,
$this = $(this);
if ($this.offset().top < boundTop) dir.ns = 'n';
if ($this.offset().left < boundLeft) dir.ew = 'w';
if ($(window).width() + $(document).scrollLeft() - $this.offset().left < margin) dir.ew = 'e';
if ($(window).height() + $(document).scrollTop() - $this.offset().top < margin) dir.ns = 's';
return dir.ns + (dir.ew ? dir.ew : '');
};
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment