Skip to content

Instantly share code, notes, and snippets.

@andreylh andreylh/plot.r
Created Nov 17, 2018

Embed
What would you like to do?
Code automatically generated with jfuzzylite 6.0
#Code automatically generated with jfuzzylite 6.0.
library(ggplot2);
engine.name = "Proximity"
engine.fll = "Engine: Proximity
InputVariable: signal
enabled: true
range: 30,000 120,000
lock-range: true
term: strong Trapezoid 0,000 0,000 30,000 65,000
term: decent Triangle 25,000 60,000 90,000
term: weak Ramp 80,000 120,000
InputVariable: distance
enabled: true
range: 0,000 200,000
lock-range: true
term: low Ramp 20,000 0,000
term: medium Triangle 15,000 30,000 70,000
term: high Ramp 60,000 200,000
OutputVariable: proximity
enabled: true
range: 0,000 100,000
lock-range: false
aggregation: Maximum
defuzzifier: Centroid 100
default: nan
lock-previous: false
term: immediate Ramp 30,000 0,000
term: near Triangle 20,000 40,000 80,000
term: far Ramp 70,000 100,000
RuleBlock: mamdani
enabled: true
conjunction: Minimum
disjunction: none
implication: Minimum
activation: General
rule: if signal is strong and distance is low then proximity is immediate
rule: if signal is strong and distance is medium then proximity is immediate
rule: if signal is strong and distance is high then proximity is immediate
rule: if signal is decent and distance is low then proximity is immediate
rule: if signal is decent and distance is medium then proximity is near
rule: if signal is decent and distance is high then proximity is near
rule: if signal is weak and distance is low then proximity is immediate
rule: if signal is weak and distance is medium then proximity is near
rule: if signal is weak and distance is high then proximity is far"
engine.fldFile = "signal distance proximity
30,000 0,000 10,006
30,000 6,452 10,791
30,000 12,903 12,535
30,000 19,355 32,181
30,000 25,806 24,751
30,000 32,258 23,635
30,000 38,710 24,296
30,000 45,161 25,728
30,000 51,613 28,092
30,000 58,065 31,930
30,000 64,516 38,656
30,000 70,968 39,224
30,000 77,419 38,770
30,000 83,871 37,046
30,000 90,323 34,876
30,000 96,774 33,103
30,000 103,226 31,617
30,000 109,677 30,354
30,000 116,129 29,270
30,000 122,581 28,327
30,000 129,032 27,508
30,000 135,484 26,790
30,000 141,935 26,160
30,000 148,387 25,613
30,000 154,839 25,135
30,000 161,290 24,727
30,000 167,742 24,383
30,000 174,194 24,097
30,000 180,645 23,878
30,000 187,097 23,717
30,000 193,548 23,617
30,000 200,000 23,586
32,903 0,000 10,067
32,903 6,452 10,791
32,903 12,903 12,535
32,903 19,355 35,723
32,903 25,806 28,575
32,903 32,258 27,518
32,903 38,710 28,122
32,903 45,161 29,546
32,903 51,613 31,868
32,903 58,065 35,494
32,903 64,516 38,656
32,903 70,968 39,224
32,903 77,419 38,770
32,903 83,871 38,322
32,903 90,323 37,879
32,903 96,774 36,559
32,903 103,226 35,206
32,903 109,677 34,029
32,903 116,129 33,002
32,903 122,581 32,095
32,903 129,032 31,299
32,903 135,484 30,596
32,903 141,935 29,974
32,903 148,387 29,432
32,903 154,839 28,957
32,903 161,290 28,551
32,903 167,742 28,208
32,903 174,194 27,924
32,903 180,645 27,706
32,903 187,097 27,546
32,903 193,548 27,518
32,903 200,000 27,518
35,806 0,000 10,241
35,806 6,452 10,791
35,806 12,903 12,535
35,806 19,355 37,304
35,806 25,806 30,979
35,806 32,258 30,265
35,806 38,710 30,544
35,806 45,161 31,907
35,806 51,613 34,102
35,806 58,065 37,246
35,806 64,516 38,656
35,806 70,968 39,224
35,806 77,419 38,770
35,806 83,871 38,322
35,806 90,323 37,879
35,806 96,774 37,508
35,806 103,226 37,176
35,806 109,677 36,105
35,806 116,129 35,158
35,806 122,581 34,315
35,806 129,032 33,568
35,806 135,484 32,904
35,806 141,935 32,314
35,806 148,387 31,798
35,806 154,839 31,345
35,806 161,290 30,955
35,806 167,742 30,627
35,806 174,194 30,354
35,806 180,645 30,265
35,806 187,097 30,265
35,806 193,548 30,265
35,806 200,000 30,265
38,710 0,000 10,500
38,710 6,452 10,791
38,710 12,903 12,535
38,710 19,355 37,304
38,710 25,806 32,561
38,710 32,258 32,342
38,710 38,710 32,342
38,710 45,161 33,442
38,710 51,613 35,508
38,710 58,065 37,246
38,710 64,516 38,656
38,710 70,968 39,224
38,710 77,419 38,770
38,710 83,871 38,322
38,710 90,323 37,879
38,710 96,774 37,508
38,710 103,226 37,176
38,710 109,677 36,877
38,710 116,129 36,492
38,710 122,581 35,707
38,710 129,032 35,008
38,710 135,484 34,384
38,710 141,935 33,827
38,710 148,387 33,339
38,710 154,839 32,909
38,710 161,290 32,539
38,710 167,742 32,342
38,710 174,194 32,342
38,710 180,645 32,342
38,710 187,097 32,342
38,710 193,548 32,342
38,710 200,000 32,342
41,613 0,000 10,831
41,613 6,452 10,831
41,613 12,903 12,535
41,613 19,355 37,304
41,613 25,806 34,040
41,613 32,258 34,040
41,613 38,710 34,040
41,613 45,161 34,469
41,613 51,613 36,285
41,613 58,065 37,246
41,613 64,516 38,656
41,613 70,968 39,224
41,613 77,419 38,770
41,613 83,871 38,322
41,613 90,323 37,879
41,613 96,774 37,508
41,613 103,226 37,176
41,613 109,677 36,877
41,613 116,129 36,605
41,613 122,581 36,350
41,613 129,032 35,951
41,613 135,484 35,361
41,613 141,935 34,834
41,613 148,387 34,371
41,613 154,839 34,040
41,613 161,290 34,040
41,613 167,742 34,040
41,613 174,194 34,040
41,613 180,645 34,040
41,613 187,097 34,040
41,613 193,548 34,040
41,613 200,000 34,040
44,516 0,000 11,220
44,516 6,452 11,220
44,516 12,903 12,535
44,516 19,355 37,304
44,516 25,806 35,514
44,516 32,258 35,514
44,516 38,710 35,514
44,516 45,161 35,514
44,516 51,613 36,285
44,516 58,065 37,246
44,516 64,516 38,656
44,516 70,968 39,224
44,516 77,419 38,770
44,516 83,871 38,322
44,516 90,323 37,879
44,516 96,774 37,508
44,516 103,226 37,176
44,516 109,677 36,877
44,516 116,129 36,605
44,516 122,581 36,350
44,516 129,032 36,114
44,516 135,484 35,894
44,516 141,935 35,514
44,516 148,387 35,514
44,516 154,839 35,514
44,516 161,290 35,514
44,516 167,742 35,514
44,516 174,194 35,514
44,516 180,645 35,514
44,516 187,097 35,514
44,516 193,548 35,514
44,516 200,000 35,514
47,419 0,000 10,954
47,419 6,452 10,954
47,419 12,903 12,535
47,419 19,355 37,304
47,419 25,806 36,875
47,419 32,258 36,875
47,419 38,710 36,875
47,419 45,161 36,792
47,419 51,613 36,285
47,419 58,065 37,246
47,419 64,516 38,656
47,419 70,968 39,224
47,419 77,419 38,770
47,419 83,871 38,322
47,419 90,323 37,879
47,419 96,774 37,508
47,419 103,226 37,176
47,419 109,677 36,877
47,419 116,129 36,605
47,419 122,581 36,350
47,419 129,032 36,114
47,419 135,484 36,343
47,419 141,935 36,620
47,419 148,387 36,837
47,419 154,839 36,875
47,419 161,290 36,875
47,419 167,742 36,875
47,419 174,194 36,875
47,419 180,645 36,875
47,419 187,097 36,875
47,419 193,548 36,875
47,419 200,000 36,875
50,323 0,000 10,603
50,323 6,452 10,791
50,323 12,903 12,535
50,323 19,355 37,304
50,323 25,806 38,193
50,323 32,258 38,199
50,323 38,710 38,199
50,323 45,161 37,902
50,323 51,613 36,910
50,323 58,065 37,246
50,323 64,516 38,656
50,323 70,968 39,224
50,323 77,419 38,770
50,323 83,871 38,322
50,323 90,323 37,879
50,323 96,774 37,508
50,323 103,226 37,176
50,323 109,677 36,877
50,323 116,129 36,605
50,323 122,581 36,789
50,323 129,032 37,189
50,323 135,484 37,504
50,323 141,935 37,750
50,323 148,387 37,941
50,323 154,839 38,088
50,323 161,290 38,199
50,323 167,742 38,199
50,323 174,194 38,199
50,323 180,645 38,199
50,323 187,097 38,199
50,323 193,548 38,199
50,323 200,000 38,199
53,226 0,000 10,318
53,226 6,452 10,791
53,226 12,903 12,535
53,226 19,355 37,304
53,226 25,806 39,468
53,226 32,258 39,567
53,226 38,710 39,546
53,226 45,161 39,239
53,226 51,613 38,402
53,226 58,065 37,246
53,226 64,516 38,656
53,226 70,968 39,224
53,226 77,419 38,770
53,226 83,871 38,322
53,226 90,323 37,879
53,226 96,774 37,508
53,226 103,226 37,176
53,226 109,677 37,272
53,226 116,129 37,850
53,226 122,581 38,296
53,226 129,032 38,643
53,226 135,484 38,911
53,226 141,935 39,116
53,226 148,387 39,271
53,226 154,839 39,387
53,226 161,290 39,473
53,226 167,742 39,533
53,226 174,194 39,567
53,226 180,645 39,567
53,226 187,097 39,567
53,226 193,548 39,567
53,226 200,000 39,567
56,129 0,000 10,114
56,129 6,452 10,791
56,129 12,903 12,535
56,129 19,355 38,337
56,129 25,806 40,988
56,129 32,258 41,050
56,129 38,710 41,029
56,129 45,161 40,842
56,129 51,613 40,215
56,129 58,065 38,478
56,129 64,516 38,656
56,129 70,968 39,224
56,129 77,419 38,770
56,129 83,871 38,322
56,129 90,323 37,879
56,129 96,774 37,786
56,129 103,226 38,652
56,129 109,677 39,292
56,129 116,129 39,771
56,129 122,581 40,131
56,129 129,032 40,403
56,129 135,484 40,606
56,129 141,935 40,756
56,129 148,387 40,863
56,129 154,839 40,939
56,129 161,290 40,990
56,129 167,742 41,023
56,129 174,194 41,041
56,129 180,645 41,049
56,129 187,097 41,050
56,129 193,548 41,050
56,129 200,000 41,050
59,032 0,000 10,013
59,032 6,452 10,791
59,032 12,903 12,535
59,032 19,355 41,122
59,032 25,806 42,803
59,032 32,258 42,746
59,032 38,710 42,795
59,032 45,161 42,769
59,032 51,613 42,437
59,032 58,065 41,227
59,032 64,516 38,656
59,032 70,968 39,224
59,032 77,419 38,770
59,032 83,871 38,322
59,032 90,323 39,747
59,032 96,774 40,701
59,032 103,226 41,357
59,032 109,677 41,820
59,032 116,129 42,150
59,032 122,581 42,385
59,032 129,032 42,549
59,032 135,484 42,662
59,032 141,935 42,734
59,032 148,387 42,777
59,032 154,839 42,798
59,032 161,290 42,803
59,032 167,742 42,798
59,032 174,194 42,786
59,032 180,645 42,770
59,032 187,097 42,755
59,032 193,548 42,744
59,032 200,000 42,740
61,935 0,000 10,044
61,935 6,452 10,791
61,935 12,903 12,535
61,935 19,355 44,460
61,935 25,806 44,803
61,935 32,258 44,604
61,935 38,710 44,734
61,935 45,161 44,909
61,935 51,613 44,963
61,935 58,065 44,510
61,935 64,516 41,852
61,935 70,968 39,224
61,935 77,419 41,320
61,935 83,871 42,843
61,935 90,323 43,715
61,935 96,774 44,246
61,935 103,226 44,572
61,935 109,677 44,773
61,935 116,129 44,892
61,935 122,581 44,953
61,935 129,032 44,974
61,935 135,484 44,968
61,935 141,935 44,940
61,935 148,387 44,900
61,935 154,839 44,851
61,935 161,290 44,799
61,935 167,742 44,748
61,935 174,194 44,698
61,935 180,645 44,655
61,935 187,097 44,620
61,935 193,548 44,604
61,935 200,000 44,604
64,839 0,000 10,229
64,839 6,452 10,791
64,839 12,903 12,535
64,839 19,355 47,015
64,839 25,806 46,949
64,839 32,258 46,700
64,839 38,710 46,806
64,839 45,161 47,225
64,839 51,613 47,767
64,839 58,065 48,363
64,839 64,516 48,868
64,839 70,968 48,795
64,839 77,419 48,858
64,839 83,871 48,782
64,839 90,323 48,651
64,839 96,774 48,496
64,839 103,226 48,326
64,839 109,677 48,153
64,839 116,129 47,981
64,839 122,581 47,812
64,839 129,032 47,648
64,839 135,484 47,490
64,839 141,935 47,338
64,839 148,387 47,195
64,839 154,839 47,062
64,839 161,290 46,941
64,839 167,742 46,833
64,839 174,194 46,740
64,839 180,645 46,700
64,839 187,097 46,700
64,839 193,548 46,700
64,839 200,000 46,700
67,742 0,000 10,534
67,742 6,452 10,791
67,742 12,903 12,535
67,742 19,355 47,015
67,742 25,806 47,072
67,742 32,258 47,019
67,742 38,710 47,019
67,742 45,161 47,359
67,742 51,613 47,931
67,742 58,065 48,595
67,742 64,516 49,335
67,742 70,968 49,586
67,742 77,419 49,369
67,742 83,871 49,164
67,742 90,323 48,958
67,742 96,774 48,755
67,742 103,226 48,551
67,742 109,677 48,354
67,742 116,129 48,163
67,742 122,581 47,979
67,742 129,032 47,804
67,742 135,484 47,636
67,742 141,935 47,477
67,742 148,387 47,327
67,742 154,839 47,189
67,742 161,290 47,063
67,742 167,742 47,019
67,742 174,194 47,019
67,742 180,645 47,019
67,742 187,097 47,019
67,742 193,548 47,019
67,742 200,000 47,019
70,645 0,000 10,933
70,645 6,452 10,933
70,645 12,903 12,535
70,645 19,355 47,015
70,645 25,806 47,286
70,645 32,258 47,286
70,645 38,710 47,286
70,645 45,161 47,359
70,645 51,613 47,931
70,645 58,065 48,595
70,645 64,516 49,335
70,645 70,968 49,586
70,645 77,419 49,369
70,645 83,871 49,164
70,645 90,323 48,958
70,645 96,774 48,755
70,645 103,226 48,551
70,645 109,677 48,354
70,645 116,129 48,163
70,645 122,581 47,979
70,645 129,032 47,804
70,645 135,484 47,636
70,645 141,935 47,477
70,645 148,387 47,327
70,645 154,839 47,286
70,645 161,290 47,286
70,645 167,742 47,286
70,645 174,194 47,286
70,645 180,645 47,286
70,645 187,097 47,286
70,645 193,548 47,286
70,645 200,000 47,286
73,548 0,000 11,409
73,548 6,452 11,409
73,548 12,903 12,535
73,548 19,355 47,015
73,548 25,806 47,603
73,548 32,258 47,603
73,548 38,710 47,603
73,548 45,161 47,603
73,548 51,613 47,931
73,548 58,065 48,595
73,548 64,516 49,335
73,548 70,968 49,586
73,548 77,419 49,369
73,548 83,871 49,164
73,548 90,323 48,958
73,548 96,774 48,755
73,548 103,226 48,551
73,548 109,677 48,354
73,548 116,129 48,163
73,548 122,581 47,979
73,548 129,032 47,804
73,548 135,484 47,636
73,548 141,935 47,603
73,548 148,387 47,603
73,548 154,839 47,603
73,548 161,290 47,603
73,548 167,742 47,603
73,548 174,194 47,603
73,548 180,645 47,603
73,548 187,097 47,603
73,548 193,548 47,603
73,548 200,000 47,603
76,452 0,000 11,947
76,452 6,452 11,947
76,452 12,903 12,535
76,452 19,355 47,015
76,452 25,806 47,961
76,452 32,258 47,961
76,452 38,710 47,961
76,452 45,161 47,961
76,452 51,613 47,961
76,452 58,065 48,595
76,452 64,516 49,335
76,452 70,968 49,586
76,452 77,419 49,369
76,452 83,871 49,164
76,452 90,323 48,958
76,452 96,774 48,755
76,452 103,226 48,551
76,452 109,677 48,354
76,452 116,129 48,163
76,452 122,581 47,979
76,452 129,032 47,961
76,452 135,484 47,961
76,452 141,935 47,961
76,452 148,387 47,961
76,452 154,839 47,961
76,452 161,290 47,961
76,452 167,742 47,961
76,452 174,194 47,961
76,452 180,645 47,961
76,452 187,097 47,961
76,452 193,548 47,961
76,452 200,000 47,961
79,355 0,000 12,535
79,355 6,452 12,535
79,355 12,903 12,535
79,355 19,355 47,015
79,355 25,806 48,354
79,355 32,258 48,354
79,355 38,710 48,354
79,355 45,161 48,354
79,355 51,613 48,354
79,355 58,065 48,595
79,355 64,516 49,335
79,355 70,968 49,586
79,355 77,419 49,369
79,355 83,871 49,164
79,355 90,323 48,958
79,355 96,774 48,755
79,355 103,226 48,551
79,355 109,677 48,354
79,355 116,129 48,354
79,355 122,581 48,354
79,355 129,032 48,354
79,355 135,484 48,354
79,355 141,935 48,354
79,355 148,387 48,354
79,355 154,839 48,354
79,355 161,290 48,354
79,355 167,742 48,354
79,355 174,194 48,354
79,355 180,645 48,354
79,355 187,097 48,354
79,355 193,548 48,354
79,355 200,000 48,354
82,258 0,000 13,165
82,258 6,452 13,165
82,258 12,903 13,165
82,258 19,355 46,991
82,258 25,806 48,774
82,258 32,258 48,774
82,258 38,710 48,774
82,258 45,161 48,774
82,258 51,613 48,774
82,258 58,065 48,774
82,258 64,516 52,556
82,258 70,968 57,898
82,258 77,419 55,193
82,258 83,871 53,711
82,258 90,323 52,731
82,258 96,774 52,075
82,258 103,226 52,075
82,258 109,677 52,075
82,258 116,129 52,075
82,258 122,581 52,075
82,258 129,032 52,075
82,258 135,484 52,075
82,258 141,935 52,075
82,258 148,387 52,075
82,258 154,839 52,075
82,258 161,290 52,075
82,258 167,742 52,075
82,258 174,194 52,075
82,258 180,645 52,075
82,258 187,097 52,075
82,258 193,548 52,075
82,258 200,000 52,075
85,161 0,000 13,830
85,161 6,452 13,830
85,161 12,903 13,830
85,161 19,355 46,550
85,161 25,806 49,220
85,161 32,258 49,220
85,161 38,710 49,220
85,161 45,161 49,220
85,161 51,613 49,220
85,161 58,065 49,220
85,161 64,516 52,556
85,161 70,968 60,360
85,161 77,419 60,595
85,161 83,871 58,946
85,161 90,323 58,946
85,161 96,774 58,946
85,161 103,226 58,946
85,161 109,677 58,946
85,161 116,129 58,946
85,161 122,581 58,946
85,161 129,032 58,946
85,161 135,484 58,946
85,161 141,935 58,946
85,161 148,387 58,946
85,161 154,839 58,946
85,161 161,290 58,946
85,161 167,742 58,946
85,161 174,194 58,946
85,161 180,645 58,946
85,161 187,097 58,946
85,161 193,548 58,946
85,161 200,000 58,946
88,065 0,000 13,548
88,065 6,452 13,548
88,065 12,903 13,548
88,065 19,355 46,828
88,065 25,806 49,030
88,065 32,258 49,030
88,065 38,710 49,030
88,065 45,161 49,030
88,065 51,613 49,030
88,065 58,065 49,030
88,065 64,516 52,556
88,065 70,968 62,110
88,065 77,419 66,600
88,065 83,871 69,663
88,065 90,323 71,247
88,065 96,774 71,247
88,065 103,226 71,247
88,065 109,677 71,247
88,065 116,129 71,247
88,065 122,581 71,247
88,065 129,032 71,247
88,065 135,484 71,247
88,065 141,935 71,247
88,065 148,387 71,247
88,065 154,839 71,247
88,065 161,290 71,247
88,065 167,742 71,247
88,065 174,194 71,247
88,065 180,645 71,247
88,065 187,097 71,247
88,065 193,548 71,247
88,065 200,000 71,247
90,968 0,000 13,057
90,968 6,452 13,057
90,968 12,903 13,057
90,968 19,355 46,998
90,968 25,806 48,692
90,968 32,258 48,692
90,968 38,710 48,692
90,968 45,161 48,692
90,968 51,613 48,692
90,968 58,065 48,692
90,968 64,516 52,556
90,968 70,968 85,565
90,968 77,419 85,905
90,968 83,871 86,236
90,968 90,323 86,548
90,968 96,774 86,867
90,968 103,226 86,943
90,968 109,677 86,943
90,968 116,129 86,943
90,968 122,581 86,943
90,968 129,032 86,943
90,968 135,484 86,943
90,968 141,935 86,943
90,968 148,387 86,943
90,968 154,839 86,943
90,968 161,290 86,943
90,968 167,742 86,943
90,968 174,194 86,943
90,968 180,645 86,943
90,968 187,097 86,943
90,968 193,548 86,943
90,968 200,000 86,943
93,871 0,000 12,587
93,871 6,452 12,587
93,871 12,903 12,587
93,871 19,355 47,015
93,871 25,806 48,387
93,871 32,258 48,387
93,871 38,710 48,387
93,871 45,161 48,387
93,871 51,613 48,387
93,871 58,065 48,595
93,871 64,516 52,556
93,871 70,968 85,565
93,871 77,419 85,905
93,871 83,871 86,236
93,871 90,323 86,548
93,871 96,774 86,867
93,871 103,226 87,170
93,871 109,677 87,413
93,871 116,129 87,413
93,871 122,581 87,413
93,871 129,032 87,413
93,871 135,484 87,413
93,871 141,935 87,413
93,871 148,387 87,413
93,871 154,839 87,413
93,871 161,290 87,413
93,871 167,742 87,413
93,871 174,194 87,413
93,871 180,645 87,413
93,871 187,097 87,413
93,871 193,548 87,413
93,871 200,000 87,413
96,774 0,000 12,138
96,774 6,452 12,138
96,774 12,903 12,535
96,774 19,355 47,015
96,774 25,806 48,085
96,774 32,258 48,085
96,774 38,710 48,085
96,774 45,161 48,085
96,774 51,613 48,085
96,774 58,065 48,595
96,774 64,516 52,556
96,774 70,968 85,565
96,774 77,419 85,905
96,774 83,871 86,236
96,774 90,323 86,548
96,774 96,774 86,867
96,774 103,226 87,170
96,774 109,677 87,465
96,774 116,129 87,752
96,774 122,581 87,862
96,774 129,032 87,862
96,774 135,484 87,862
96,774 141,935 87,862
96,774 148,387 87,862
96,774 154,839 87,862
96,774 161,290 87,862
96,774 167,742 87,862
96,774 174,194 87,862
96,774 180,645 87,862
96,774 187,097 87,862
96,774 193,548 87,862
96,774 200,000 87,862
99,677 0,000 11,716
99,677 6,452 11,716
99,677 12,903 12,535
99,677 19,355 47,015
99,677 25,806 47,808
99,677 32,258 47,808
99,677 38,710 47,808
99,677 45,161 47,808
99,677 51,613 47,931
99,677 58,065 48,595
99,677 64,516 52,556
99,677 70,968 85,565
99,677 77,419 85,905
99,677 83,871 86,236
99,677 90,323 86,548
99,677 96,774 86,867
99,677 103,226 87,170
99,677 109,677 87,465
99,677 116,129 87,752
99,677 122,581 88,026
99,677 129,032 88,284
99,677 135,484 88,284
99,677 141,935 88,284
99,677 148,387 88,284
99,677 154,839 88,284
99,677 161,290 88,284
99,677 167,742 88,284
99,677 174,194 88,284
99,677 180,645 88,284
99,677 187,097 88,284
99,677 193,548 88,284
99,677 200,000 88,284
102,581 0,000 11,325
102,581 6,452 11,325
102,581 12,903 12,535
102,581 19,355 47,015
102,581 25,806 47,547
102,581 32,258 47,547
102,581 38,710 47,547
102,581 45,161 47,547
102,581 51,613 47,931
102,581 58,065 48,595
102,581 64,516 52,556
102,581 70,968 85,565
102,581 77,419 85,905
102,581 83,871 86,236
102,581 90,323 86,548
102,581 96,774 86,867
102,581 103,226 87,170
102,581 109,677 87,465
102,581 116,129 87,752
102,581 122,581 88,026
102,581 129,032 88,291
102,581 135,484 88,542
102,581 141,935 88,675
102,581 148,387 88,675
102,581 154,839 88,675
102,581 161,290 88,675
102,581 167,742 88,675
102,581 174,194 88,675
102,581 180,645 88,675
102,581 187,097 88,675
102,581 193,548 88,675
102,581 200,000 88,675
105,484 0,000 10,970
105,484 6,452 10,970
105,484 12,903 12,535
105,484 19,355 47,015
105,484 25,806 47,311
105,484 32,258 47,311
105,484 38,710 47,311
105,484 45,161 47,359
105,484 51,613 47,931
105,484 58,065 48,595
105,484 64,516 52,556
105,484 70,968 85,565
105,484 77,419 85,905
105,484 83,871 86,236
105,484 90,323 86,548
105,484 96,774 86,867
105,484 103,226 87,170
105,484 109,677 87,465
105,484 116,129 87,752
105,484 122,581 88,026
105,484 129,032 88,291
105,484 135,484 88,542
105,484 141,935 88,780
105,484 148,387 89,003
105,484 154,839 89,030
105,484 161,290 89,030
105,484 167,742 89,030
105,484 174,194 89,030
105,484 180,645 89,030
105,484 187,097 89,030
105,484 193,548 89,030
105,484 200,000 89,030
108,387 0,000 10,657
108,387 6,452 10,791
108,387 12,903 12,535
108,387 19,355 47,015
108,387 25,806 47,102
108,387 32,258 47,102
108,387 38,710 47,102
108,387 45,161 47,359
108,387 51,613 47,931
108,387 58,065 48,595
108,387 64,516 52,556
108,387 70,968 85,565
108,387 77,419 85,905
108,387 83,871 86,236
108,387 90,323 86,548
108,387 96,774 86,867
108,387 103,226 87,170
108,387 109,677 87,465
108,387 116,129 87,752
108,387 122,581 88,026
108,387 129,032 88,291
108,387 135,484 88,542
108,387 141,935 88,780
108,387 148,387 89,003
108,387 154,839 89,209
108,387 161,290 89,343
108,387 167,742 89,343
108,387 174,194 89,343
108,387 180,645 89,343
108,387 187,097 89,343
108,387 193,548 89,343
108,387 200,000 89,343
111,290 0,000 10,393
111,290 6,452 10,791
111,290 12,903 12,535
111,290 19,355 47,015
111,290 25,806 47,072
111,290 32,258 46,925
111,290 38,710 46,925
111,290 45,161 47,359
111,290 51,613 47,931
111,290 58,065 48,595
111,290 64,516 52,556
111,290 70,968 85,565
111,290 77,419 85,905
111,290 83,871 86,236
111,290 90,323 86,548
111,290 96,774 86,867
111,290 103,226 87,170
111,290 109,677 87,465
111,290 116,129 87,752
111,290 122,581 88,026
111,290 129,032 88,291
111,290 135,484 88,542
111,290 141,935 88,780
111,290 148,387 89,003
111,290 154,839 89,209
111,290 161,290 89,397
111,290 167,742 89,564
111,290 174,194 89,607
111,290 180,645 89,607
111,290 187,097 89,607
111,290 193,548 89,607
111,290 200,000 89,607
114,194 0,000 10,188
114,194 6,452 10,791
114,194 12,903 12,535
114,194 19,355 47,015
114,194 25,806 47,072
114,194 32,258 46,789
114,194 38,710 46,925
114,194 45,161 47,359
114,194 51,613 47,931
114,194 58,065 48,595
114,194 64,516 52,556
114,194 70,968 85,565
114,194 77,419 85,905
114,194 83,871 86,236
114,194 90,323 86,548
114,194 96,774 86,867
114,194 103,226 87,170
114,194 109,677 87,465
114,194 116,129 87,752
114,194 122,581 88,026
114,194 129,032 88,291
114,194 135,484 88,542
114,194 141,935 88,780
114,194 148,387 89,003
114,194 154,839 89,209
114,194 161,290 89,397
114,194 167,742 89,564
114,194 174,194 89,710
114,194 180,645 89,812
114,194 187,097 89,812
114,194 193,548 89,812
114,194 200,000 89,812
117,097 0,000 10,054
117,097 6,452 10,791
117,097 12,903 12,535
117,097 19,355 47,015
117,097 25,806 47,072
117,097 32,258 46,698
117,097 38,710 46,925
117,097 45,161 47,359
117,097 51,613 47,931
117,097 58,065 48,595
117,097 64,516 52,556
117,097 70,968 85,565
117,097 77,419 85,905
117,097 83,871 86,236
117,097 90,323 86,548
117,097 96,774 86,867
117,097 103,226 87,170
117,097 109,677 87,465
117,097 116,129 87,752
117,097 122,581 88,026
117,097 129,032 88,291
117,097 135,484 88,542
117,097 141,935 88,780
117,097 148,387 89,003
117,097 154,839 89,209
117,097 161,290 89,397
117,097 167,742 89,564
117,097 174,194 89,710
117,097 180,645 89,827
117,097 187,097 89,918
117,097 193,548 89,946
117,097 200,000 89,946
120,000 0,000 10,006
120,000 6,452 10,791
120,000 12,903 12,535
120,000 19,355 47,015
120,000 25,806 47,072
120,000 32,258 46,687
120,000 38,710 46,925
120,000 45,161 47,359
120,000 51,613 47,931
120,000 58,065 48,595
120,000 64,516 52,556
120,000 70,968 85,565
120,000 77,419 85,905
120,000 83,871 86,236
120,000 90,323 86,548
120,000 96,774 86,867
120,000 103,226 87,170
120,000 109,677 87,465
120,000 116,129 87,752
120,000 122,581 88,026
120,000 129,032 88,291
120,000 135,484 88,542
120,000 141,935 88,780
120,000 148,387 89,003
120,000 154,839 89,209
120,000 161,290 89,397
120,000 167,742 89,564
120,000 174,194 89,710
120,000 180,645 89,827
120,000 187,097 89,918
120,000 193,548 89,976
120,000 200,000 89,994
"
engine.df = read.delim(textConnection(engine.fld), header=TRUE, sep=" ", strip.white=TRUE)
engine.plot.i1i2_o1 = ggplot(engine.df, aes(signal, distance)) +
geom_tile(aes(fill=proximity)) +
scale_fill_gradient(low="yellow", high="red") +
stat_contour(aes(x=signal, y=distance, z=proximity), color="black") +
ggtitle("(signal, distance) = proximity")
engine.plot.i2i1_o1 = ggplot(engine.df, aes(distance, signal)) +
geom_tile(aes(fill=proximity)) +
scale_fill_gradient(low="yellow", high="red") +
stat_contour(aes(x=distance, y=signal, z=proximity), color="black") +
ggtitle("(distance, signal) = proximity")
if (require(gridExtra)) {
engine.plots = arrangeGrob(engine.plot.i1i2_o1, engine.plot.i2i1_o1, ncol=2, top=engine.name)
ggsave(paste0(engine.name, ".pdf"), engine.plots)
if (require(grid)) {
grid.newpage()
grid.draw(engine.plots)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.