import matplotlib.pyplot as mpl import matplotlib.transforms as transforms mpl.ion() # for interactive drawing fig = mpl.figure() ax = fig.gca() xmin, xmax, ymin, ymax = 0.0, 14.0, -2.5, 7.5 ax.set_xlim(xmin, xmax) ax.set_ylim(ymin, ymax) ax.set_aspect('equal') mpl.grid(True) # line x = [2.0, 2.0] y = [0.0, 1.25] [line] = ax.plot(x, y, 'b', linewidth=2, linestyle='solid') # line x = [2.0, 2.0] y = [3.75, 5.0] [line] = ax.plot(x, y, 'b', linewidth=2, linestyle='solid') # sprial x = [2.0, 2.5, 2.0, 1.5, 1.9999999999999998, 2.5, 2.0, 1.5, 1.9999999999999998, 2.5, 2.0000000000000004, 1.5, 1.9999999999999996, 2.5, 2.0000000000000004, 1.5, 1.9999999999999996, 2.5, 2.0000000000000004, 1.5, 1.9999999999999993, 2.5, 2.0000000000000027, 1.5, 1.9999999999999993, 2.5, 1.9999999999999991, 1.5, 1.9999999999999991, 2.5, 2.0000000000000027, 1.5, 1.9999999999999991, 2.5, 1.9999999999999993, 1.5, 1.999999999999999, 2.5, 2.000000000000003, 1.5, 1.9999999999999987, 2.5, 1.9999999999999996, 1.5, 1.9999999999999951] y = [1.25, 1.3068181818181819, 1.3636363636363635, 1.4204545454545454, 1.4772727272727273, 1.5340909090909092, 1.5909090909090908, 1.6477272727272727, 1.7045454545454546, 1.7613636363636362, 1.8181818181818181, 1.875, 1.9318181818181817, 1.9886363636363638, 2.0454545454545454, 2.1022727272727275, 2.159090909090909, 2.215909090909091, 2.2727272727272725, 2.3295454545454546, 2.3863636363636362, 2.4431818181818183, 2.5, 2.5568181818181817, 2.6136363636363633, 2.6704545454545454, 2.7272727272727275, 2.784090909090909, 2.840909090909091, 2.8977272727272725, 2.9545454545454546, 3.0113636363636362, 3.0681818181818183, 3.125, 3.1818181818181817, 3.2386363636363633, 3.2954545454545454, 3.352272727272727, 3.409090909090909, 3.465909090909091, 3.5227272727272725, 3.5795454545454546, 3.6363636363636362, 3.693181818181818, 3.75] [line] = ax.plot(x, y, 'b', linewidth=2, linestyle='solid') ax.text(2, 5.5, 'Default Spring', horizontalalignment='center', fontsize=14) # line x = [8.0, 8.0] y = [0.0, 0.8333333333333334] [line] = ax.plot(x, y, 'b', linewidth=2, linestyle='solid') # line x = [8.0, 8.0] y = [4.166666666666667, 5.0] [line] = ax.plot(x, y, 'b', linewidth=2, linestyle='solid') # sprial x = [8.0, 8.034878236872062, 8.069586550480032, 8.10395584540888, 8.1378186779085, 8.171010071662835, 8.2033683215379, 8.234735781392946, 8.264959632116602, 8.293892626146237, 8.32139380484327, 8.3473291852295, 8.371572412738697, 8.394005376803362, 8.41451878627752, 8.433012701892219, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283394, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.394005376803362, 8.371572412738697, 8.3473291852295, 8.32139380484327, 8.293892626146237, 8.264959632116602, 8.234735781392946, 8.2033683215379, 8.171010071662835, 8.1378186779085, 8.10395584540888, 8.069586550480032, 8.034878236872062, 8.0, 7.965121763127937, 7.930413449519968, 7.89604415459112, 7.862181322091501, 7.828989928337165, 7.7966316784621, 7.765264218607054, 7.735040367883397, 7.706107373853763, 7.67860619515673, 7.652670814770501, 7.628427587261303, 7.605994623196639, 7.585481213722479, 7.56698729810778, 7.550602976850417, 7.536408072716607, 7.524471741852423, 7.514852136862002, 7.507596123493896, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315864, 7.5075961234938955, 7.514852136862002, 7.524471741852423, 7.536408072716606, 7.550602976850416, 7.56698729810778, 7.585481213722479, 7.605994623196639, 7.628427587261303, 7.652670814770501, 7.67860619515673, 7.706107373853763, 7.735040367883397, 7.765264218607054, 7.7966316784621, 7.828989928337165, 7.862181322091501, 7.89604415459112, 7.930413449519968, 7.965121763127938, 8.0, 8.034878236872062, 8.069586550480032, 8.10395584540888, 8.1378186779085, 8.171010071662835, 8.2033683215379, 8.234735781392946, 8.264959632116602, 8.293892626146237, 8.32139380484327, 8.347329185229498, 8.371572412738697, 8.394005376803362, 8.41451878627752, 8.433012701892219, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283394, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.394005376803362, 8.371572412738697, 8.3473291852295, 8.32139380484327, 8.293892626146237, 8.264959632116602, 8.234735781392946, 8.203368321537901, 8.171010071662835, 8.137818677908498, 8.10395584540888, 8.069586550480032, 8.034878236872062, 8.0, 7.965121763127938, 7.930413449519968, 7.89604415459112, 7.862181322091501, 7.828989928337166, 7.7966316784620995, 7.765264218607054, 7.735040367883397, 7.706107373853763, 7.67860619515673, 7.652670814770501, 7.628427587261303, 7.605994623196639, 7.5854812137224785, 7.56698729810778, 7.550602976850417, 7.536408072716606, 7.524471741852423, 7.514852136862002, 7.507596123493896, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315864, 7.507596123493896, 7.514852136862002, 7.524471741852423, 7.536408072716606, 7.550602976850416, 7.566987298107781, 7.585481213722479, 7.605994623196639, 7.628427587261303, 7.652670814770501, 7.67860619515673, 7.706107373853763, 7.735040367883398, 7.765264218607054, 7.7966316784620995, 7.828989928337165, 7.862181322091501, 7.89604415459112, 7.930413449519967, 7.965121763127938, 8.0, 8.034878236872062, 8.069586550480032, 8.10395584540888, 8.1378186779085, 8.171010071662835, 8.2033683215379, 8.234735781392946, 8.264959632116602, 8.293892626146237, 8.32139380484327, 8.347329185229498, 8.371572412738697, 8.394005376803362, 8.41451878627752, 8.43301270189222, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283394, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.394005376803362, 8.371572412738697, 8.3473291852295, 8.32139380484327, 8.293892626146237, 8.264959632116604, 8.234735781392946, 8.2033683215379, 8.171010071662835, 8.137818677908498, 8.10395584540888, 8.069586550480032, 8.034878236872062, 8.0, 7.965121763127938, 7.930413449519968, 7.896044154591121, 7.8621813220915, 7.8289899283371645, 7.7966316784620995, 7.765264218607054, 7.735040367883397, 7.706107373853763, 7.678606195156731, 7.652670814770502, 7.628427587261303, 7.605994623196639, 7.585481213722479, 7.56698729810778, 7.550602976850416, 7.536408072716606, 7.524471741852423, 7.514852136862002, 7.5075961234938955, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315864, 7.5075961234938955, 7.514852136862002, 7.524471741852423, 7.536408072716607, 7.550602976850417, 7.566987298107781, 7.585481213722479, 7.605994623196638, 7.628427587261302, 7.652670814770501, 7.67860619515673, 7.706107373853763, 7.735040367883398, 7.765264218607055, 7.7966316784621, 7.828989928337165, 7.8621813220915, 7.896044154591121, 7.930413449519968, 7.965121763127938, 8.0, 8.034878236872062, 8.069586550480032, 8.10395584540888, 8.1378186779085, 8.171010071662835, 8.203368321537901, 8.234735781392946, 8.264959632116602, 8.293892626146237, 8.32139380484327, 8.347329185229498, 8.371572412738697, 8.39400537680336, 8.414518786277522, 8.43301270189222, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283394, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.394005376803362, 8.371572412738697, 8.347329185229498, 8.32139380484327, 8.293892626146237, 8.264959632116602, 8.234735781392946, 8.2033683215379, 8.171010071662835, 8.1378186779085, 8.10395584540888, 8.069586550480032, 8.034878236872062, 8.0, 7.9651217631279385, 7.9304134495199685, 7.89604415459112, 7.862181322091501, 7.8289899283371645, 7.7966316784620995, 7.765264218607054, 7.735040367883397, 7.706107373853763, 7.678606195156731, 7.652670814770502, 7.628427587261303, 7.605994623196639, 7.5854812137224785, 7.56698729810778, 7.550602976850416, 7.536408072716607, 7.524471741852423, 7.514852136862002, 7.5075961234938955, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315864, 7.507596123493896, 7.514852136862002, 7.524471741852423, 7.536408072716607, 7.550602976850417, 7.56698729810778, 7.585481213722479, 7.605994623196638, 7.628427587261302, 7.652670814770501, 7.67860619515673, 7.706107373853764, 7.735040367883398, 7.765264218607055, 7.7966316784621, 7.828989928337165, 7.8621813220915, 7.896044154591121, 7.930413449519968, 7.965121763127938, 7.999999999999999, 8.034878236872062, 8.06958655048003, 8.103955845408878, 8.137818677908498, 8.171010071662833, 8.2033683215379, 8.234735781392944, 8.264959632116604, 8.293892626146238, 8.32139380484327, 8.3473291852295, 8.371572412738697, 8.394005376803362, 8.41451878627752, 8.43301270189222, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283394, 8.449397023149585, 8.433012701892219, 8.41451878627752, 8.39400537680336, 8.371572412738697, 8.347329185229498, 8.32139380484327, 8.293892626146235, 8.264959632116602, 8.234735781392946, 8.2033683215379, 8.171010071662835, 8.1378186779085, 8.10395584540888, 8.069586550480032, 8.034878236872062, 8.0, 7.9651217631279385, 7.9304134495199685, 7.896044154591122, 7.862181322091501, 7.828989928337166, 7.796631678462101, 7.765264218607053, 7.735040367883396, 7.706107373853762, 7.67860619515673, 7.652670814770501, 7.628427587261303, 7.605994623196638, 7.5854812137224785, 7.56698729810778, 7.550602976850416, 7.536408072716607, 7.524471741852423, 7.514852136862002, 7.5075961234938955, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315863, 7.5075961234938955, 7.514852136862002, 7.524471741852423, 7.536408072716606, 7.550602976850416, 7.566987298107781, 7.58548121372248, 7.60599462319664, 7.628427587261303, 7.652670814770501, 7.67860619515673, 7.706107373853764, 7.735040367883398, 7.765264218607055, 7.7966316784620995, 7.828989928337165, 7.8621813220915, 7.896044154591121, 7.930413449519968, 7.965121763127937, 7.999999999999999, 8.034878236872062, 8.06958655048003, 8.103955845408878, 8.137818677908498, 8.171010071662833, 8.2033683215379, 8.234735781392947, 8.264959632116604, 8.293892626146237, 8.321393804843272, 8.3473291852295, 8.371572412738699, 8.39400537680336, 8.41451878627752, 8.433012701892219, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283394, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.39400537680336, 8.371572412738695, 8.347329185229498, 8.321393804843268, 8.293892626146237, 8.264959632116602, 8.234735781392947, 8.2033683215379, 8.171010071662833, 8.1378186779085, 8.10395584540888, 8.069586550480034, 8.034878236872062, 8.000000000000002, 7.9651217631279385, 7.930413449519967, 7.896044154591122, 7.862181322091501, 7.828989928337168, 7.796631678462098, 7.765264218607054, 7.735040367883396, 7.706107373853764, 7.67860619515673, 7.6526708147705, 7.628427587261303, 7.605994623196638, 7.585481213722479, 7.56698729810778, 7.550602976850415, 7.536408072716607, 7.524471741852423, 7.514852136862002, 7.5075961234938955, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315863, 7.507596123493896, 7.514852136862001, 7.524471741852423, 7.536408072716605, 7.550602976850417, 7.56698729810778, 7.585481213722479, 7.605994623196641, 7.628427587261303, 7.652670814770502, 7.67860619515673, 7.706107373853764, 7.735040367883396, 7.765264218607054, 7.796631678462101, 7.828989928337165, 7.862181322091502, 7.896044154591119, 7.930413449519968, 7.965121763127935, 7.999999999999999, 8.034878236872064, 8.06958655048003, 8.10395584540888, 8.137818677908497, 8.171010071662833, 8.203368321537901, 8.234735781392947, 8.264959632116602, 8.293892626146237, 8.321393804843272, 8.3473291852295, 8.371572412738699, 8.39400537680336, 8.41451878627752, 8.433012701892219, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283392, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.39400537680336, 8.371572412738695, 8.347329185229498, 8.321393804843268, 8.293892626146237, 8.264959632116602, 8.234735781392947, 8.2033683215379, 8.171010071662833, 8.1378186779085, 8.10395584540888, 8.069586550480034, 8.034878236872062, 7.999999999999999, 7.9651217631279385, 7.930413449519967, 7.896044154591122, 7.862181322091501, 7.828989928337165, 7.796631678462098, 7.765264218607054, 7.735040367883396, 7.706107373853764, 7.67860619515673, 7.6526708147705, 7.628427587261303, 7.605994623196638, 7.585481213722479, 7.56698729810778, 7.550602976850416, 7.536408072716607, 7.524471741852423, 7.514852136862002, 7.5075961234938955, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315863, 7.507596123493896, 7.514852136862001, 7.524471741852423, 7.536408072716607, 7.550602976850417, 7.56698729810778, 7.585481213722479, 7.605994623196641, 7.628427587261303, 7.652670814770502, 7.67860619515673, 7.706107373853764, 7.735040367883396, 7.765264218607054, 7.796631678462101, 7.828989928337165, 7.862181322091502, 7.896044154591119, 7.930413449519968, 7.965121763127935, 7.999999999999999, 8.034878236872062, 8.06958655048003, 8.10395584540888, 8.137818677908497, 8.171010071662836, 8.2033683215379, 8.234735781392947, 8.264959632116602, 8.293892626146237, 8.321393804843272, 8.3473291852295, 8.371572412738699, 8.39400537680336, 8.41451878627752, 8.433012701892219, 8.449397023149583, 8.463591927283394, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283392, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.39400537680336, 8.371572412738695, 8.3473291852295, 8.321393804843268, 8.293892626146237, 8.264959632116602, 8.234735781392947, 8.2033683215379, 8.171010071662833, 8.1378186779085, 8.10395584540888, 8.069586550480034, 8.034878236872062, 8.000000000000004, 7.9651217631279385, 7.930413449519968, 7.896044154591122, 7.862181322091498, 7.828989928337165, 7.796631678462098, 7.765264218607054, 7.735040367883396, 7.706107373853764, 7.67860619515673, 7.6526708147705005, 7.628427587261303, 7.605994623196638, 7.585481213722479, 7.56698729810778, 7.550602976850416, 7.536408072716607, 7.524471741852423, 7.514852136862002, 7.507596123493896, 7.502739052315864, 7.5003045864904525, 7.5003045864904525, 7.502739052315863, 7.5075961234938955, 7.514852136862001, 7.524471741852424, 7.536408072716607, 7.550602976850417, 7.56698729810778, 7.585481213722479, 7.605994623196641, 7.628427587261303, 7.652670814770502, 7.67860619515673, 7.706107373853764, 7.735040367883396, 7.765264218607054, 7.796631678462101, 7.828989928337165, 7.862181322091501, 7.896044154591118, 7.930413449519967, 7.965121763127935, 7.999999999999999, 8.034878236872062, 8.06958655048003, 8.10395584540888, 8.137818677908497, 8.171010071662833, 8.203368321537898, 8.234735781392944, 8.264959632116602, 8.293892626146235, 8.321393804843268, 8.347329185229496, 8.371572412738695, 8.394005376803358, 8.414518786277519, 8.43301270189222, 8.449397023149585, 8.463591927283394, 8.475528258147577, 8.485147863138, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283392, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.39400537680336, 8.371572412738695, 8.3473291852295, 8.321393804843268, 8.293892626146237, 8.264959632116602, 8.234735781392947, 8.2033683215379, 8.171010071662833, 8.1378186779085, 8.10395584540888, 8.069586550480034, 8.034878236872064, 7.999999999999999, 7.9651217631279385, 7.930413449519968, 7.896044154591123, 7.862181322091502, 7.828989928337169, 7.796631678462101, 7.765264218607054, 7.7350403678834, 7.706107373853764, 7.678606195156733, 7.652670814770502, 7.628427587261306, 7.605994623196641, 7.585481213722479, 7.566987298107779, 7.550602976850416, 7.536408072716605, 7.524471741852423, 7.514852136862001, 7.5075961234938955, 7.502739052315863, 7.5003045864904525, 7.5003045864904525, 7.502739052315864, 7.5075961234938955, 7.514852136862002, 7.524471741852424, 7.536408072716607, 7.550602976850417, 7.56698729810778, 7.585481213722479, 7.60599462319664, 7.628427587261303, 7.652670814770502, 7.67860619515673, 7.706107373853764, 7.735040367883396, 7.765264218607054, 7.796631678462101, 7.8289899283371645, 7.862181322091501, 7.896044154591118, 7.930413449519967, 7.965121763127935, 7.999999999999999, 8.034878236872062, 8.06958655048003, 8.10395584540888, 8.137818677908497, 8.171010071662833, 8.203368321537896, 8.234735781392944, 8.264959632116602, 8.293892626146235, 8.321393804843268, 8.347329185229496, 8.371572412738695, 8.394005376803358, 8.414518786277522, 8.43301270189222, 8.449397023149585, 8.463591927283394, 8.475528258147577, 8.485147863138, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147577, 8.463591927283392, 8.449397023149583, 8.433012701892219, 8.41451878627752, 8.39400537680336, 8.371572412738695, 8.3473291852295, 8.321393804843268, 8.293892626146237, 8.264959632116602, 8.234735781392947, 8.203368321537901, 8.171010071662833, 8.1378186779085, 8.10395584540888, 8.069586550480034, 8.034878236872064, 8.000000000000004, 7.9651217631279385, 7.930413449519968, 7.896044154591123, 7.862181322091502, 7.828989928337169, 7.796631678462101, 7.765264218607055, 7.7350403678834, 7.706107373853764, 7.678606195156733, 7.652670814770503, 7.628427587261306, 7.605994623196641, 7.585481213722478, 7.566987298107779, 7.550602976850416, 7.536408072716605, 7.524471741852423, 7.514852136862001, 7.5075961234938955, 7.502739052315863, 7.5003045864904525, 7.5003045864904525, 7.502739052315864, 7.5075961234938955, 7.514852136862002, 7.524471741852424, 7.536408072716607, 7.550602976850417, 7.56698729810778, 7.585481213722479, 7.60599462319664, 7.628427587261303, 7.652670814770502, 7.67860619515673, 7.706107373853764, 7.735040367883396, 7.765264218607054, 7.796631678462101, 7.8289899283371645, 7.862181322091501, 7.896044154591118, 7.930413449519967, 7.965121763127935, 7.999999999999999, 8.034878236872062, 8.06958655048003, 8.10395584540888, 8.137818677908497, 8.171010071662833, 8.203368321537896, 8.234735781392944, 8.264959632116602, 8.293892626146235, 8.321393804843268, 8.347329185229496, 8.371572412738695, 8.394005376803362, 8.414518786277522, 8.43301270189222, 8.449397023149585, 8.463591927283396, 8.475528258147577, 8.485147863137998, 8.492403876506105, 8.497260947684136, 8.499695413509547, 8.499695413509547, 8.497260947684136, 8.492403876506105, 8.485147863137998, 8.475528258147575, 8.463591927283392, 8.449397023149583, 8.43301270189222, 8.414518786277519, 8.39400537680336, 8.371572412738699, 8.347329185229496, 8.321393804843268, 8.293892626146238, 8.264959632116605, 8.234735781392944, 8.203368321537901, 8.171010071662836, 8.137818677908498, 8.10395584540888, 8.069586550480034, 8.034878236872068, 7.999999999999999, 7.965121763127939, 7.930413449519971, 7.896044154591119, 7.862181322091502, 7.828989928337169, 7.796631678462105, 7.765264218607055, 7.7350403678834, 7.706107373853768, 7.67860619515673, 7.652670814770503, 7.628427587261306, 7.605994623196638, 7.585481213722476, 7.566987298107779, 7.550602976850416, 7.536408072716607, 7.524471741852422, 7.514852136862001, 7.507596123493896, 7.502739052315863, 7.5003045864904525, 7.5003045864904525, 7.502739052315863, 7.507596123493896, 7.514852136862002, 7.524471741852423, 7.536408072716608, 7.550602976850417, 7.56698729810778, 7.585481213722478, 7.60599462319664, 7.628427587261303, 7.6526708147705, 7.678606195156732, 7.706107373853764, 7.735040367883396, 7.765264218607051, 7.796631678462101, 7.8289899283371645, 7.862181322091497, 7.896044154591122, 7.930413449519967, 7.965121763127935, 7.999999999999995] y = [0.8333333333333334, 0.8367003367003367, 0.8400673400673401, 0.8434343434343434, 0.8468013468013469, 0.8501683501683502, 0.8535353535353536, 0.8569023569023569, 0.8602693602693603, 0.8636363636363636, 0.867003367003367, 0.8703703703703705, 0.8737373737373738, 0.8771043771043772, 0.8804713804713805, 0.8838383838383839, 0.8872053872053872, 0.8905723905723906, 0.8939393939393939, 0.8973063973063973, 0.9006734006734007, 0.9040404040404041, 0.9074074074074074, 0.9107744107744108, 0.9141414141414141, 0.9175084175084175, 0.9208754208754208, 0.9242424242424243, 0.9276094276094277, 0.930976430976431, 0.9343434343434344, 0.9377104377104377, 0.9410774410774411, 0.9444444444444444, 0.9478114478114479, 0.9511784511784512, 0.9545454545454546, 0.9579124579124579, 0.9612794612794613, 0.9646464646464646, 0.968013468013468, 0.9713804713804715, 0.9747474747474747, 0.9781144781144782, 0.9814814814814815, 0.9848484848484849, 0.9882154882154882, 0.9915824915824916, 0.994949494949495, 0.9983164983164984, 1.0016835016835017, 1.005050505050505, 1.0084175084175084, 1.0117845117845117, 1.0151515151515151, 1.0185185185185186, 1.0218855218855218, 1.0252525252525253, 1.0286195286195285, 1.031986531986532, 1.0353535353535355, 1.0387205387205387, 1.0420875420875422, 1.0454545454545454, 1.0488215488215489, 1.0521885521885521, 1.0555555555555556, 1.0589225589225588, 1.0622895622895623, 1.0656565656565657, 1.069023569023569, 1.0723905723905724, 1.0757575757575757, 1.0791245791245792, 1.0824915824915826, 1.0858585858585859, 1.089225589225589, 1.0925925925925926, 1.095959595959596, 1.0993265993265993, 1.1026936026936027, 1.106060606060606, 1.1094276094276094, 1.112794612794613, 1.1161616161616161, 1.1195286195286196, 1.1228956228956228, 1.1262626262626263, 1.1296296296296298, 1.132996632996633, 1.1363636363636362, 1.1397306397306397, 1.1430976430976432, 1.1464646464646464, 1.1498316498316499, 1.1531986531986531, 1.1565656565656566, 1.15993265993266, 1.1632996632996633, 1.1666666666666667, 1.17003367003367, 1.1734006734006734, 1.1767676767676767, 1.1801346801346801, 1.1835016835016834, 1.1868686868686869, 1.1902356902356903, 1.1936026936026936, 1.196969696969697, 1.2003367003367003, 1.2037037037037037, 1.2070707070707072, 1.2104377104377104, 1.2138047138047137, 1.2171717171717171, 1.2205387205387206, 1.2239057239057238, 1.2272727272727273, 1.2306397306397305, 1.234006734006734, 1.2373737373737375, 1.2407407407407407, 1.2441077441077442, 1.2474747474747474, 1.2508417508417509, 1.254208754208754, 1.2575757575757576, 1.2609427609427608, 1.2643097643097643, 1.2676767676767677, 1.271043771043771, 1.2744107744107744, 1.2777777777777777, 1.2811447811447811, 1.2845117845117846, 1.2878787878787878, 1.291245791245791, 1.2946127946127945, 1.297979797979798, 1.3013468013468013, 1.3047138047138047, 1.308080808080808, 1.3114478114478114, 1.3148148148148149, 1.3181818181818181, 1.3215488215488216, 1.3249158249158248, 1.3282828282828283, 1.3316498316498318, 1.335016835016835, 1.3383838383838382, 1.3417508417508417, 1.3451178451178452, 1.3484848484848484, 1.3518518518518519, 1.355218855218855, 1.3585858585858586, 1.361952861952862, 1.3653198653198653, 1.3686868686868687, 1.372053872053872, 1.3754208754208754, 1.378787878787879, 1.3821548821548821, 1.3855218855218854, 1.3888888888888888, 1.3922558922558923, 1.3956228956228955, 1.3989898989898988, 1.4023569023569022, 1.4057239057239057, 1.4090909090909092, 1.4124579124579124, 1.4158249158249157, 1.4191919191919191, 1.4225589225589226, 1.425925925925926, 1.4292929292929293, 1.4326599326599325, 1.436026936026936, 1.4393939393939394, 1.4427609427609427, 1.446127946127946, 1.4494949494949494, 1.4528619528619529, 1.4562289562289563, 1.4595959595959596, 1.4629629629629628, 1.4663299663299663, 1.4696969696969697, 1.473063973063973, 1.4764309764309762, 1.4797979797979797, 1.4831649831649831, 1.4865319865319866, 1.48989898989899, 1.4932659932659933, 1.4966329966329965, 1.5, 1.5033670033670035, 1.5067340067340067, 1.51010101010101, 1.5134680134680134, 1.5168350168350169, 1.52020202020202, 1.5235690235690234, 1.5269360269360268, 1.5303030303030303, 1.5336700336700337, 1.537037037037037, 1.5404040404040402, 1.5437710437710437, 1.5471380471380471, 1.5505050505050504, 1.5538720538720538, 1.557239057239057, 1.5606060606060606, 1.563973063973064, 1.5673400673400675, 1.5707070707070707, 1.574074074074074, 1.5774410774410774, 1.5808080808080809, 1.5841750841750841, 1.5875420875420874, 1.5909090909090908, 1.5942760942760943, 1.5976430976430975, 1.6010101010101008, 1.6043771043771042, 1.6077441077441077, 1.6111111111111112, 1.6144781144781144, 1.6178451178451176, 1.621212121212121, 1.6245791245791246, 1.6279461279461278, 1.6313131313131313, 1.6346801346801345, 1.638047138047138, 1.6414141414141414, 1.644781144781145, 1.6481481481481481, 1.6515151515151514, 1.6548821548821548, 1.6582491582491583, 1.6616161616161615, 1.6649831649831648, 1.6683501683501682, 1.6717171717171717, 1.675084175084175, 1.6784511784511784, 1.6818181818181817, 1.6851851851851851, 1.6885521885521886, 1.6919191919191918, 1.695286195286195, 1.6986531986531985, 1.702020202020202, 1.7053872053872055, 1.7087542087542087, 1.712121212121212, 1.7154882154882154, 1.7188552188552189, 1.7222222222222223, 1.7255892255892256, 1.7289562289562288, 1.7323232323232323, 1.7356902356902357, 1.739057239057239, 1.7424242424242422, 1.7457912457912457, 1.7491582491582491, 1.7525252525252526, 1.7558922558922558, 1.759259259259259, 1.7626262626262625, 1.765993265993266, 1.7693602693602692, 1.7727272727272725, 1.776094276094276, 1.7794612794612794, 1.7828282828282829, 1.7861952861952861, 1.7895622895622896, 1.7929292929292928, 1.7962962962962963, 1.7996632996632997, 1.803030303030303, 1.8063973063973062, 1.8097643097643097, 1.8131313131313131, 1.8164983164983164, 1.8198653198653196, 1.823232323232323, 1.8265993265993266, 1.82996632996633, 1.8333333333333333, 1.8367003367003365, 1.84006734006734, 1.8434343434343434, 1.8468013468013469, 1.85016835016835, 1.8535353535353534, 1.8569023569023568, 1.8602693602693603, 1.8636363636363633, 1.8670033670033668, 1.8703703703703702, 1.8737373737373737, 1.8771043771043772, 1.8804713804713802, 1.8838383838383836, 1.887205387205387, 1.8905723905723906, 1.893939393939394, 1.897306397306397, 1.9006734006734005, 1.904040404040404, 1.9074074074074074, 1.910774410774411, 1.914141414141414, 1.9175084175084174, 1.9208754208754208, 1.9242424242424243, 1.9276094276094273, 1.9309764309764308, 1.9343434343434343, 1.9377104377104377, 1.9410774410774412, 1.9444444444444442, 1.9478114478114477, 1.9511784511784511, 1.9545454545454546, 1.9579124579124576, 1.961279461279461, 1.9646464646464645, 1.968013468013468, 1.9713804713804715, 1.9747474747474745, 1.978114478114478, 1.9814814814814814, 1.9848484848484849, 1.9882154882154883, 1.9915824915824913, 1.9949494949494948, 1.9983164983164983, 2.0016835016835017, 2.0050505050505047, 2.008417508417508, 2.0117845117845117, 2.015151515151515, 2.0185185185185186, 2.0218855218855216, 2.025252525252525, 2.0286195286195285, 2.031986531986532, 2.035353535353535, 2.0387205387205385, 2.042087542087542, 2.0454545454545454, 2.048821548821549, 2.052188552188552, 2.0555555555555554, 2.058922558922559, 2.0622895622895623, 2.0656565656565653, 2.0690235690235688, 2.0723905723905722, 2.0757575757575757, 2.079124579124579, 2.0824915824915826, 2.0858585858585856, 2.089225589225589, 2.0925925925925926, 2.095959595959596, 2.099326599326599, 2.1026936026936025, 2.106060606060606, 2.1094276094276094, 2.1127946127946124, 2.116161616161616, 2.1195286195286194, 2.122895622895623, 2.1262626262626263, 2.1296296296296293, 2.132996632996633, 2.1363636363636362, 2.1397306397306397, 2.1430976430976427, 2.1464646464646466, 2.1498316498316496, 2.153198653198653, 2.1565656565656566, 2.15993265993266, 2.163299663299663, 2.1666666666666665, 2.17003367003367, 2.1734006734006734, 2.1767676767676765, 2.18013468013468, 2.1835016835016834, 2.186868686868687, 2.19023569023569, 2.1936026936026933, 2.196969696969697, 2.2003367003367003, 2.2037037037037037, 2.2070707070707067, 2.21043771043771, 2.2138047138047137, 2.217171717171717, 2.2205387205387206, 2.223905723905724, 2.227272727272727, 2.2306397306397305, 2.234006734006734, 2.2373737373737375, 2.2407407407407405, 2.244107744107744, 2.2474747474747474, 2.250841750841751, 2.254208754208754, 2.2575757575757573, 2.260942760942761, 2.2643097643097643, 2.2676767676767673, 2.2710437710437708, 2.274410774410774, 2.2777777777777777, 2.281144781144781, 2.284511784511784, 2.2878787878787876, 2.291245791245791, 2.2946127946127945, 2.297979797979798, 2.3013468013468015, 2.3047138047138045, 2.308080808080808, 2.3114478114478114, 2.314814814814815, 2.318181818181818, 2.3215488215488214, 2.324915824915825, 2.3282828282828283, 2.3316498316498313, 2.3350168350168348, 2.3383838383838382, 2.3417508417508417, 2.3451178451178447, 2.348484848484848, 2.3518518518518516, 2.355218855218855, 2.3585858585858586, 2.3619528619528616, 2.365319865319865, 2.3686868686868685, 2.372053872053872, 2.3754208754208754, 2.378787878787879, 2.382154882154882, 2.3855218855218854, 2.388888888888889, 2.3922558922558923, 2.3956228956228953, 2.398989898989899, 2.4023569023569022, 2.4057239057239057, 2.4090909090909087, 2.412457912457912, 2.4158249158249157, 2.419191919191919, 2.422558922558922, 2.4259259259259256, 2.429292929292929, 2.4326599326599325, 2.436026936026936, 2.439393939393939, 2.4427609427609425, 2.446127946127946, 2.4494949494949494, 2.452861952861953, 2.4562289562289563, 2.4595959595959593, 2.462962962962963, 2.4663299663299663, 2.4696969696969697, 2.4730639730639727, 2.476430976430976, 2.4797979797979797, 2.483164983164983, 2.486531986531986, 2.4898989898989896, 2.493265993265993, 2.4966329966329965, 2.5, 2.503367003367003, 2.5067340067340065, 2.51010101010101, 2.5134680134680134, 2.5168350168350164, 2.5202020202020203, 2.5235690235690234, 2.526936026936027, 2.5303030303030303, 2.5336700336700337, 2.5370370370370368, 2.54040404040404, 2.5437710437710437, 2.547138047138047, 2.55050505050505, 2.5538720538720536, 2.557239057239057, 2.5606060606060606, 2.5639730639730636, 2.567340067340067, 2.5707070707070705, 2.574074074074074, 2.5774410774410774, 2.5808080808080804, 2.584175084175084, 2.5875420875420874, 2.590909090909091, 2.594276094276094, 2.5976430976430978, 2.6010101010101008, 2.6043771043771042, 2.6077441077441077, 2.611111111111111, 2.614478114478114, 2.6178451178451176, 2.621212121212121, 2.6245791245791246, 2.6279461279461276, 2.631313131313131, 2.6346801346801345, 2.638047138047138, 2.641414141414141, 2.6447811447811445, 2.648148148148148, 2.6515151515151514, 2.654882154882155, 2.658249158249158, 2.6616161616161613, 2.664983164983165, 2.6683501683501682, 2.6717171717171717, 2.675084175084175, 2.678451178451178, 2.6818181818181817, 2.685185185185185, 2.6885521885521886, 2.6919191919191916, 2.695286195286195, 2.6986531986531985, 2.702020202020202, 2.705387205387205, 2.7087542087542085, 2.712121212121212, 2.7154882154882154, 2.7188552188552184, 2.722222222222222, 2.7255892255892253, 2.728956228956229, 2.7323232323232323, 2.7356902356902353, 2.7390572390572387, 2.742424242424242, 2.7457912457912457, 2.749158249158249, 2.7525252525252526, 2.7558922558922556, 2.759259259259259, 2.7626262626262625, 2.765993265993266, 2.769360269360269, 2.7727272727272725, 2.776094276094276, 2.7794612794612794, 2.7828282828282824, 2.786195286195286, 2.7895622895622894, 2.792929292929293, 2.796296296296296, 2.7996632996632993, 2.8030303030303028, 2.8063973063973062, 2.8097643097643097, 2.8131313131313127, 2.816498316498316, 2.8198653198653196, 2.823232323232323, 2.8265993265993266, 2.82996632996633, 2.833333333333333, 2.8367003367003365, 2.84006734006734, 2.8434343434343434, 2.846801346801347, 2.85016835016835, 2.8535353535353534, 2.856902356902357, 2.8602693602693603, 2.8636363636363633, 2.8670033670033668, 2.8703703703703702, 2.8737373737373737, 2.8771043771043767, 2.88047138047138, 2.8838383838383836, 2.887205387205387, 2.8905723905723906, 2.8939393939393936, 2.8973063973063975, 2.9006734006734005, 2.904040404040404, 2.9074074074074074, 2.910774410774411, 2.914141414141414, 2.9175084175084174, 2.920875420875421, 2.9242424242424243, 2.9276094276094273, 2.930976430976431, 2.9343434343434343, 2.9377104377104377, 2.9410774410774407, 2.944444444444444, 2.9478114478114477, 2.951178451178451, 2.9545454545454546, 2.9579124579124576, 2.961279461279461, 2.9646464646464645, 2.968013468013468, 2.9713804713804715, 2.974747474747475, 2.978114478114478, 2.9814814814814814, 2.984848484848485, 2.9882154882154883, 2.9915824915824913, 2.994949494949495, 2.9983164983164983, 3.0016835016835017, 3.0050505050505047, 3.008417508417508, 3.0117845117845117, 3.015151515151515, 3.018518518518518, 3.0218855218855216, 3.025252525252525, 3.0286195286195285, 3.031986531986532, 3.035353535353535, 3.0387205387205385, 3.042087542087542, 3.0454545454545454, 3.048821548821549, 3.0521885521885523, 3.0555555555555554, 3.058922558922559, 3.0622895622895623, 3.0656565656565657, 3.0690235690235688, 3.0723905723905722, 3.0757575757575757, 3.079124579124579, 3.082491582491582, 3.0858585858585856, 3.089225589225589, 3.0925925925925926, 3.0959595959595956, 3.099326599326599, 3.1026936026936025, 3.106060606060606, 3.1094276094276094, 3.1127946127946124, 3.116161616161616, 3.1195286195286194, 3.122895622895623, 3.1262626262626263, 3.1296296296296298, 3.132996632996633, 3.1363636363636362, 3.1397306397306397, 3.143097643097643, 3.146464646464646, 3.1498316498316496, 3.153198653198653, 3.1565656565656566, 3.1599326599326596, 3.163299663299663, 3.1666666666666665, 3.17003367003367, 3.173400673400673, 3.1767676767676765, 3.18013468013468, 3.1835016835016834, 3.186868686868687, 3.19023569023569, 3.1936026936026933, 3.196969696969697, 3.2003367003367003, 3.2037037037037037, 3.207070707070707, 3.21043771043771, 3.2138047138047137, 3.217171717171717, 3.2205387205387206, 3.2239057239057236, 3.227272727272727, 3.2306397306397305, 3.234006734006734, 3.237373737373737, 3.2407407407407405, 3.244107744107744, 3.2474747474747474, 3.2508417508417504, 3.254208754208754, 3.2575757575757573, 3.260942760942761, 3.2643097643097643, 3.2676767676767673, 3.2710437710437708, 3.274410774410774, 3.2777777777777777, 3.2811447811447807, 3.284511784511784, 3.2878787878787876, 3.291245791245791, 3.294612794612794, 3.2979797979797976, 3.301346801346801, 3.3047138047138045, 3.3080808080808084, 3.3114478114478114, 3.314814814814815, 3.3181818181818183, 3.321548821548822, 3.324915824915825, 3.3282828282828283, 3.3316498316498318, 3.335016835016835, 3.3383838383838382, 3.3417508417508417, 3.345117845117845, 3.3484848484848486, 3.3518518518518516, 3.355218855218855, 3.3585858585858586, 3.361952861952862, 3.365319865319865, 3.3686868686868685, 3.372053872053872, 3.3754208754208754, 3.3787878787878785, 3.382154882154882, 3.3855218855218854, 3.388888888888889, 3.392255892255892, 3.3956228956228953, 3.398989898989899, 3.4023569023569022, 3.4057239057239053, 3.4090909090909087, 3.412457912457912, 3.4158249158249157, 3.419191919191919, 3.422558922558922, 3.4259259259259256, 3.429292929292929, 3.4326599326599325, 3.4360269360269355, 3.439393939393939, 3.4427609427609425, 3.446127946127946, 3.449494949494949, 3.4528619528619524, 3.456228956228956, 3.45959595959596, 3.4629629629629632, 3.4663299663299663, 3.4696969696969697, 3.473063973063973, 3.4764309764309766, 3.4797979797979797, 3.483164983164983, 3.4865319865319866, 3.48989898989899, 3.493265993265993, 3.4966329966329965, 3.5, 3.5033670033670035, 3.5067340067340065, 3.51010101010101, 3.5134680134680134, 3.516835016835017, 3.52020202020202, 3.5235690235690234, 3.526936026936027, 3.5303030303030303, 3.5336700336700333, 3.5370370370370368, 3.54040404040404, 3.5437710437710437, 3.5471380471380467, 3.55050505050505, 3.5538720538720536, 3.557239057239057, 3.56060606060606, 3.5639730639730636, 3.567340067340067, 3.5707070707070705, 3.574074074074074, 3.577441077441077, 3.5808080808080804, 3.584175084175084, 3.5875420875420874, 3.5909090909090904, 3.594276094276094, 3.5976430976430973, 3.6010101010101008, 3.604377104377104, 3.6077441077441077, 3.611111111111111, 3.6144781144781146, 3.617845117845118, 3.621212121212121, 3.6245791245791246, 3.627946127946128, 3.6313131313131315, 3.6346801346801345, 3.638047138047138, 3.6414141414141414, 3.644781144781145, 3.648148148148148, 3.6515151515151514, 3.654882154882155, 3.6582491582491583, 3.6616161616161613, 3.664983164983165, 3.6683501683501682, 3.6717171717171717, 3.6750841750841747, 3.678451178451178, 3.6818181818181817, 3.685185185185185, 3.688552188552188, 3.6919191919191916, 3.695286195286195, 3.6986531986531985, 3.7020202020202015, 3.705387205387205, 3.7087542087542085, 3.712121212121212, 3.7154882154882154, 3.7188552188552184, 3.722222222222222, 3.7255892255892253, 3.728956228956229, 3.732323232323232, 3.7356902356902353, 3.7390572390572387, 3.742424242424242, 3.7457912457912452, 3.7491582491582487, 3.752525252525252, 3.7558922558922556, 3.7592592592592595, 3.7626262626262625, 3.765993265993266, 3.7693602693602695, 3.772727272727273, 3.776094276094276, 3.7794612794612794, 3.782828282828283, 3.7861952861952863, 3.7895622895622894, 3.792929292929293, 3.7962962962962963, 3.7996632996632997, 3.8030303030303028, 3.8063973063973062, 3.8097643097643097, 3.813131313131313, 3.816498316498316, 3.8198653198653196, 3.823232323232323, 3.8265993265993266, 3.8299663299663296, 3.833333333333333, 3.8367003367003365, 3.84006734006734, 3.843434343434343, 3.8468013468013464, 3.85016835016835, 3.8535353535353534, 3.8569023569023564, 3.86026936026936, 3.8636363636363633, 3.8670033670033668, 3.8703703703703702, 3.8737373737373733, 3.8771043771043767, 3.88047138047138, 3.8838383838383836, 3.8872053872053867, 3.89057239057239, 3.8939393939393936, 3.897306397306397, 3.9006734006734, 3.9040404040404035, 3.9074074074074074, 3.910774410774411, 3.9141414141414144, 3.9175084175084174, 3.920875420875421, 3.9242424242424243, 3.9276094276094278, 3.930976430976431, 3.9343434343434343, 3.9377104377104377, 3.941077441077441, 3.944444444444444, 3.9478114478114477, 3.951178451178451, 3.9545454545454546, 3.9579124579124576, 3.961279461279461, 3.9646464646464645, 3.968013468013468, 3.971380471380471, 3.9747474747474745, 3.978114478114478, 3.9814814814814814, 3.9848484848484844, 3.988215488215488, 3.9915824915824913, 3.994949494949495, 3.998316498316498, 4.001683501683501, 4.005050505050504, 4.008417508417508, 4.011784511784511, 4.015151515151515, 4.018518518518518, 4.021885521885522, 4.025252525252525, 4.028619528619528, 4.031986531986531, 4.035353535353535, 4.038720538720538, 4.0420875420875415, 4.045454545454545, 4.048821548821548, 4.052188552188552, 4.0555555555555545, 4.058922558922559, 4.062289562289562, 4.065656565656566, 4.069023569023569, 4.072390572390572, 4.075757575757575, 4.079124579124579, 4.082491582491582, 4.085858585858586, 4.089225589225589, 4.092592592592593, 4.095959595959596, 4.099326599326599, 4.102693602693602, 4.1060606060606055, 4.109427609427609, 4.1127946127946124, 4.116161616161616, 4.119528619528619, 4.122895622895623, 4.126262626262625, 4.129629629629629, 4.132996632996632, 4.136363636363636, 4.139730639730639, 4.143097643097643, 4.146464646464646, 4.14983164983165, 4.153198653198652, 4.156565656565656, 4.159932659932659, 4.163299663299663, 4.166666666666666] [line] = ax.plot(x, y, 'b', linewidth=2, linestyle='solid') ax.annotate('bar_length', xy=[ 7. 0.41666667], xycoords='data', textcoords='data', xytext=(4.5, 1.3333333333333335), horizontalalignment='left', verticalalignment='top', fontsize=14, arrowprops=dict(arrowstyle='->', facecolor='black', linewidth=2, shrinkA=5, shrinkB=5)) # line mpl.arrow(x=7, y=0.833333, dx=0, dy=-0.833333, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') mpl.arrow(x=7, y=0, dx=0, dy=0.833333, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') ax.annotate('bar_length', xy=[ 7. 4.58333333], xycoords='data', textcoords='data', xytext=(4.5, 5.5), horizontalalignment='left', verticalalignment='top', fontsize=14, arrowprops=dict(arrowstyle='->', facecolor='black', linewidth=2, shrinkA=5, shrinkB=5)) # line mpl.arrow(x=7, y=5, dx=0, dy=-0.833333, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') mpl.arrow(x=7, y=4.16667, dx=0, dy=0.833333, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') ax.text(8, -1.51667, 'width', horizontalalignment='center', fontsize=14) # line mpl.arrow(x=7.5, y=-1.75, dx=1, dy=0, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') mpl.arrow(x=8.5, y=-1.75, dx=-1, dy=0, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') ax.annotate('start', xy=(8.0, 0), xycoords='data', textcoords='data', xytext=(7.25, -0.75), horizontalalignment='center', verticalalignment='top', fontsize=14, arrowprops=dict(arrowstyle='->', facecolor='black', linewidth=2, shrinkA=5, shrinkB=5)) ax.text(9.73333, 2.5, 'length', horizontalalignment='left', fontsize=14) # line mpl.arrow(x=9.5, y=5, dx=0, dy=-5, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') mpl.arrow(x=9.5, y=0, dx=0, dy=5, facecolor='k', edgecolor='k', linestyle='solid', linewidth=1, head_width=0.1, length_includes_head=True, shape='full') ax.annotate('num_windings', xy=(8.6, 2.5), xycoords='data', textcoords='data', xytext=(9.0, 5.5), horizontalalignment='center', verticalalignment='top', fontsize=14, arrowprops=dict(arrowstyle='->', facecolor='black', linewidth=2, shrinkA=5, shrinkB=5)) mpl.title("Spring") mpl.draw() mpl.savefig("tmp_Spring.png", dpi=None) mpl.savefig("tmp_Spring.pdf")