0

My question is if there’s a tool in Python that allows me to find the slanted asymptote of some results in a dictionary. I searched a lot of posts but I still have no idea how I can do that. Here’s my scatter plot using results from a dictionary: enter image description here The dictionary is

Espec1 = {{-2.6372093023255814: 10.55206816677186,
 -2.574418604651163: 10.02232265418814,
 -2.511627906976744: 9.493032921442284,
 -2.448837209302326: 8.96424447808826,
 -2.386046511627907: 8.436009056742845,
 -2.3232558139534887: 7.908385705906803,
 -2.26046511627907: 7.381442119419748,
 -2.1976744186046515: 6.855256263974102,
 -2.1348837209302327: 6.3299183848332845,
 -2.072093023255814: 5.805533495208316,
 -2.0093023255813955: 5.282224489287944,
 -1.9465116279069767: 4.760136066526132,
 -1.8837209302325584: 4.239439721097052,
 -1.8209302325581396: 3.7203401437832104,
 -1.758139534883721: 3.2030835165051803,
 -1.6953488372093024: 2.687968371262472,
 -1.6325581395348838: 2.1753599646558506,
 -1.5697674418604652: 1.6657095317409842,
 -1.5069767441860467: 1.1595803997291156,
 -1.444186046511628: 0.657683874966891,
 -1.3813953488372093: 0.16092924264128028,
 -1.3186046511627907: -0.3295055842713617,
 -1.255813953488372: -0.8120728350432054,
 -1.1930232558139535: -1.2847079247240338,
 -1.130232558139535: -1.7446138162989882,
 -1.0674418604651164: -2.187942795065924,
 -1.0046511627906978: -2.6093289257819565,
 -0.941860465116279: -3.0012180138870113,
 -0.8790697674418604: -3.3529712430274,
 -0.8162790697674418: -3.6498646289564585,
 -0.7534883720930232: -3.8725270261687346,
 -0.6906976744186046: -3.9981434839832755,
 -0.6279069767441858: -4.005199182697694,
 -0.5651162790697675: -3.881474409667857,
 -0.5023255813953487: -3.630118533174273,
 -0.4395348837209303: -3.26797924361877,
 -0.3767441860465115: -2.8179104947284275,
 -0.31395348837209314: -2.3017172606141187,
 -0.25116279069767433: -1.7369606086231637,
 -0.18837209302325597: -1.1366574201988913,
 -0.12558139534883717: -0.5101219873654534,
 -0.06279069767441836: 0.13604109870692338,
 0.0: 0.7971266100503711,
 0.0627906976744188: 1.4697436225841765,
 0.12558139534883717: 2.1514126250638204,
 0.18837209302325597: 2.840292235854215,
 0.25116279069767433: 3.534993764057239,
 0.31395348837209314: 4.234454355418637,
 0.37674418604651194: 4.9378491781353056,
 0.4395348837209303: 5.644529804694508,
 0.5023255813953491: 6.353980362338224,
 0.5651162790697675: 7.065785889277681,
 0.6279069767441863: 7.779609188120432,
 0.6906976744186046: 8.495173674750752,
 0.7534883720930234: 9.212250513466149,
 0.8162790697674422: 9.930648855509435,
 0.8790697674418606: 10.650208351905873,
 0.9418604651162794: 11.370793352250786,
 1.0046511627906978: 12.092288366935065,
 1.0674418604651166: 12.8145944859277,
 1.130232558139535: 13.53762652879925,
 1.1930232558139537: 14.261310758851716,
 1.255813953488372: 14.98558303616856,
 1.318604651162791: 15.71038731495158,
 1.3813953488372093: 16.435674412982664,
 1.4441860465116285: 17.1614009977278,
 1.5069767441860469: 17.887528746090823,
 1.5697674418604652: 18.61402364425565,
 1.6325581395348836: 19.340855401232492,
 1.6953488372093029: 20.06799695522875,
 1.7581395348837212: 20.795424056215268,
 1.8209302325581396: 21.523114911365063,
 1.8837209302325588: 22.251049882628255,
 1.9465116279069772: 22.97921122774479,
 2.0093023255813955: 23.70758287761134,
 2.072093023255814: 24.436150244203244,
 2.134883720930233: 25.164900054284196,
 2.1976744186046515: 25.893820204964026,
 2.26046511627907: 26.622899637837367,
 2.3232558139534882: 27.35212822897992,
 2.3860465116279075: 28.081496692525896,
 2.448837209302326: 28.81099649591392,
 2.511627906976744: 29.540619785191492,
 2.5744186046511635: 30.27035931901414,
 2.637209302325582: 31.00020841018472}}
plt.figure(figsize=(16.18,10))
sca51 = plt.scatter(Espec1.keys(), Espec1.values(),color = 'mediumseagreen')
plt.grid()
plt.show()

As shown on the scatter plot, there’re two slanted asymptotes. How can I find their expressions? I really don’t know what I can do. Thanks so much for the help!!

Anonymous Asked question May 14, 2021