From 3ae10e3412791c85c4199b2790e6cd50b1852707 Mon Sep 17 00:00:00 2001 From: Sergei Tikhomirov Date: Tue, 5 Mar 2024 16:33:50 +0100 Subject: [PATCH] truncate X axis at 14 instead of 15 in message_hops plot --- rln-delay-simulations/message_hops.py | 2 +- rln-delay-simulations/message_hops.svg | 524 ++++++++++++------------- 2 files changed, 251 insertions(+), 275 deletions(-) diff --git a/rln-delay-simulations/message_hops.py b/rln-delay-simulations/message_hops.py index 01175cf..b4afb7e 100644 --- a/rln-delay-simulations/message_hops.py +++ b/rln-delay-simulations/message_hops.py @@ -39,7 +39,7 @@ with plt.style.context(['science', 'ieee']): ax2.set(**dict(ylabel='\nBandwidth amplification')) # Set the limits of the x-axis and y-axis - ax1.set_xlim(2, 15) + ax1.set_xlim(2, 14) ax1.set_ylim(2, ax1.get_ylim()[1]) # Ensure that the lower limit is 2 # Set the limits of the second y-axis to match the first y-axis diff --git a/rln-delay-simulations/message_hops.svg b/rln-delay-simulations/message_hops.svg index c2c1758..2527a06 100644 --- a/rln-delay-simulations/message_hops.svg +++ b/rln-delay-simulations/message_hops.svg @@ -6,7 +6,7 @@ - 2024-03-05T16:29:27.525199 + 2024-03-05T16:33:36.471747 image/svg+xml @@ -41,22 +41,22 @@ z - - + - - + @@ -90,17 +90,17 @@ z - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -286,17 +286,17 @@ z - + - + - + @@ -305,250 +305,226 @@ z - - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -774,14 +750,14 @@ z - + - - + @@ -792,9 +768,9 @@ L 3 0 - + - + @@ -805,9 +781,9 @@ L 3 0 - + - + @@ -818,9 +794,9 @@ L 3 0 - + - + @@ -831,9 +807,9 @@ L 3 0 - + - + @@ -845,9 +821,9 @@ L 3 0 - + - + @@ -859,9 +835,9 @@ L 3 0 - + - + @@ -873,9 +849,9 @@ L 3 0 - + - + @@ -887,168 +863,168 @@ L 3 0 - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1556,53 +1532,53 @@ z - + +L 49.754081 118.336215 +L 65.099081 136.816215 +L 80.444081 136.816215 +L 95.789081 146.056215 +L 111.134081 146.056215 +L 126.479081 146.056215 +L 141.824081 146.056215 +L 157.169081 155.296215 +L 172.514081 155.296215 +L 187.859081 155.296215 +L 203.204081 155.296215 +L 218.549081 155.296215 +" clip-path="url(#p04e0213dc4)" style="fill: none; stroke: #ff0000; stroke-linecap: square"/> - + +L 49.754081 99.856215 +L 65.099081 118.336215 +L 80.444081 127.576215 +L 95.789081 127.576215 +L 111.134081 136.816215 +L 126.479081 136.816215 +L 141.824081 136.816215 +L 157.169081 146.056215 +L 172.514081 146.056215 +L 187.859081 146.056215 +L 203.204081 146.056215 +L 218.549081 146.056215 +" clip-path="url(#p04e0213dc4)" style="fill: none; stroke-dasharray: 3.7,1.6; stroke-dashoffset: 0; stroke: #008000"/> - + +L 49.754081 81.376215 +L 65.099081 99.856215 +L 80.444081 109.096215 +L 95.789081 118.336215 +L 111.134081 127.576215 +L 126.479081 127.576215 +L 141.824081 127.576215 +L 157.169081 136.816215 +L 172.514081 136.816215 +L 187.859081 136.816215 +L 203.204081 136.816215 +L 218.549081 136.816215 +" clip-path="url(#p04e0213dc4)" style="fill: none; stroke-dasharray: 1,1.65; stroke-dashoffset: 0; stroke: #0000ff"/> - + - + - + - + - - + @@ -1916,9 +1892,9 @@ L -3 0 - + - + @@ -1929,9 +1905,9 @@ L -3 0 - + - + @@ -1942,9 +1918,9 @@ L -3 0 - + - + @@ -1955,9 +1931,9 @@ L -3 0 - + - + @@ -1969,9 +1945,9 @@ L -3 0 - + - + @@ -1983,9 +1959,9 @@ L -3 0 - + - + @@ -1997,9 +1973,9 @@ L -3 0 - + - + @@ -2011,168 +1987,168 @@ L -3 0 - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2240,21 +2216,21 @@ z - + +L 49.754081 155.296215 +L 65.099081 146.056215 +L 80.444081 136.816215 +L 95.789081 127.576215 +L 111.134081 118.336215 +L 126.479081 109.096215 +L 141.824081 99.856215 +L 157.169081 90.616215 +L 172.514081 81.376215 +L 187.859081 72.136215 +L 203.204081 62.896215 +L 218.549081 53.656215 +" clip-path="url(#p04e0213dc4)" style="fill: none; stroke: #bfbf00; stroke-linecap: square"/> - + +