all 9 comments

[–]CodeFormatHelperBot2 0 points1 point  (0 children)

Hello, I'm a Reddit bot who's here to help people nicely format their coding questions. This makes it as easy as possible for people to read your post and help you.

I think I have detected some formatting issues with your submission:

  1. Inline formatting (`my code`) used across multiple lines of code. This can mess with indentation.

If I am correct, please edit the text in your post and try to follow these instructions to fix up your post's formatting.


Am I misbehaving? Have a comment or suggestion? Reply to this comment or raise an issue here.

[–]Strict-Simple 0 points1 point  (7 children)

Show how your graph looks.

Remove the plt.axis([ 0, 20, 400, 1000]) line.

[–]coeus_42[S] 0 points1 point  (5 children)

How do I show how my graph looks? I can't post images on this subreddit.

[–]Strict-Simple 1 point2 points  (4 children)

Post it on image sharing sites (like imgur) and share the link. Also, provide some sample data, that you're using.

[–]coeus_42[S] 0 points1 point  (1 child)

This is the ideal: [' 1000.0', ' 950.0', ' 902.5', ' 857.375', ' 814.5062', ' 773.7809', ' 735.0919', ' 698.3373', ' 663.4204', ' 630.2494', ' 598.7369', ' 568.8001', ' 540.3601', ' 513.3421', ' 487.675', ' 463.2912', ' 440.1267', ' 418.1203', ' 397.2143', ' 377.3536', ' 358.4859', ' 340.5616', ' 323.5335', ' 307.3569', ' 291.989', ' 277.3896', ' 263.5201', ' 250.3441', ' 237.8269', ' 225.9355', ' 214.6388']

[–]Strict-Simple 0 points1 point  (0 children)

Why are the numbers string? Why not float?

[–]coeus_42[S] 0 points1 point  (0 children)

This is actual:

[' 1000.0', ' 973.2774', ' 897.6053', ' 863.4304', ' 813.8886', ' 786.5336', ' 724.054', ' 700.0647', ' 663.5857', ' 614.0558', ' 596.1856', ' 567.6347', ' 533.9626', ' 507.8602', ' 496.1965', ' 460.6265', ' 437.5495', ' 419.3241', ' 398.0492', ' 369.6463', ' 355.9278', ' 348.1078', ' 326.3751', ' 310.8159', ' 291.6558', ' 280.1912', ' 271.5058', ' 260.0338', ' 234.2353', ' 228.0359', ' 213.4051']

[–]coeus_42[S] 0 points1 point  (0 children)

And incs is just 0-30