File:Catagolue distinct still life scatterplot b3s23 C1.png
Jump to navigation
Jump to search
Size of this preview: 600 × 600 pixels. Other resolution: 640 × 640 pixels.
Original file (640 × 640 pixels, file size: 31 KB, MIME type: image/png)
Pattern | Semilog scatterplot of still life counts vs. populations, based on Catagolue data for B3/S23/C1 from 2016-10-01. Generated using Python/numpy/matplotlib/statsmodels.
Script: import os,sys import numpy as np import matplotlib.pyplot as plt import statsmodels.api as sm # read data file datafile=open(os.path.join(sys.path[0],'xs_distinctplot.dat'),"rb") x,y=np.loadtxt(datafile,delimiter="\t",skiprows=1,unpack=True) fig,ax=plt.subplots() # total number of distinct still lifes td=(2,1,5,4,9,10,25,46,121,240,619,1353,3286,7773,19044,45759,112243,273188,672172,1646147,4051732,9971377,24619307,60823008,150613157,373188952,926068847,2299616637,5716948683,14223867298,35422864104) plt.plot(x[:29], td[:29], label='OEIS A019473') # generate a scatter plot ax.scatter(x, y, label='Distinct') ax.set_yscale('symlog', linthresh=1) ax.set_xlabel('Population', fontsize=15) ax.set_ylabel("Distinct", fontsize=15) ax.set_title('Distinct still lifes by population', fontsize=20) plt.ylim(ymin=0) plt.xlim(xmin=0) ax.grid(True) fig.tight_layout() # add legend. This needs to come after everything's been plotted. plt.legend(loc='upper right') # save plot to file fig.set_size_inches(8, 8) plt.savefig('xs_distinctplot.png', dpi=80) Input data: Population Count 4 2 5 1 6 5 7 4 8 9 9 10 10 25 11 46 12 121 13 240 14 619 15 1352 16 3210 17 6833 18 13203 19 22041 20 32872 21 43481 22 52111 23 55331 24 54494 25 47691 26 40329 27 30567 28 22840 29 15194 30 10268 31 6014 32 3727 33 1983 34 1227 35 616 36 403 37 137 38 139 39 44 40 58 41 14 42 21 43 4 44 13 45 3 46 9 47 1 48 4 50 1 56 2 | |||
---|---|---|---|---|
Date | 2023-11-02 | |||
Made by | User:Apple Bottom | |||
License |
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:38, 2 November 2023 | 640 × 640 (31 KB) | DroneBetter (talk | contribs) | apologies, did not notice AB had commented out the x minimum in the version of the program in the description | |
21:35, 2 November 2023 | 640 × 640 (32 KB) | DroneBetter (talk | contribs) | update with new census data from the past six years (seems somewhat overdue :-) | ||
13:34, 15 July 2017 | 640 × 640 (23 KB) | Apple Bottom (talk | contribs) | Regenerated from 2017-07-15 data | ||
13:17, 8 January 2017 | 640 × 640 (25 KB) | Apple Bottom (talk | contribs) | Updated from 2017-01-06 data | ||
10:55, 18 November 2016 | 640 × 640 (24 KB) | Apple Bottom (talk | contribs) | Updated from 2016-11-17 data | ||
22:28, 4 October 2016 | 640 × 640 (24 KB) | Apple Bottom (talk | contribs) | Regenerated from 2016-10-01 data. | ||
18:31, 10 September 2016 | 640 × 640 (24 KB) | Apple Bottom (talk | contribs) | Regenerated from 2016-09-10 data | ||
11:44, 4 September 2016 | 640 × 640 (24 KB) | Apple Bottom (talk | contribs) | Regenerated from 2016-09-04 data | ||
15:46, 12 August 2016 | 640 × 640 (24 KB) | Apple Bottom (talk | contribs) | Regenerated from 2016-08-12 data | ||
23:46, 28 July 2016 | 640 × 640 (23 KB) | Apple Bottom (talk | contribs) | {{AppleBottomImage|patternnolink=Semilog scatterplot of still life counts vs. populations, based on Catagolue data for B3/S23/C1 from 2016-07-28. Generated using Python/numpy/matplotlib/statsmodels. Script: <pre> #!/usr/bin/python3 import numpy as n... |
You cannot overwrite this file.
File usage
The following page uses this file: