| descartes. ±âÇÏÇÐÀû °´Ã¼¸¦ MATPLOTLIB °æ·Î ¹× ÆÐÄ¡·Î »ç¿ëÇϽʽÿÀ. |
Áö±Ý ´Ù¿î·Îµå |
descartes. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Sean Gillies
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://plone.org/products/pleiadesgeocoder
descartes. ű×
descartes. ¼³¸í
±âÇÏÇÐÀû °´Ã¼¸¦ MATPLOTLIB °æ·Î ¹× ÆÐÄ¡·Î »ç¿ëÇϽʽÿÀ Descartes´Â ÆÄÀ̽㠸ðµâ·Î MatplotLib °æ·Î ¹× ÆÐÄ¡¿Í °°Àº ±âÇÏÇÐÀû °´Ã¼¸¦ »ç¿ëÇÒ ¼öÀÖ´Â ÆÄÀ̽㠸ðµâÀÔ´Ï´Ù. example : MatplotLib °¡Á® ¿À±â pyplotfrom satplotfrom¿¡¼ linestryfrom descartes.patch °¡Á® ¿À±â polygonpatchline = linestring () ±×¸² = pyplot.figure (1, figsize = (7.5, 3), DPI = 180) # 1ax = ±×¸² ADD_SUBPLOT (121) È®Àå = LINE.BUFFER (0.5) PATCH1 = POLYGONPATCH (È®Àå, FACECOLOR = '# 99CCFF', EDGECOLOR = '# 6699CC') ax.add_patch (patch1) x, y = line.xyax .plot (x, y, color = # 999999 ') ax.set_xlim (-1, 4) ax.set_ylim (-1, 3) # 2Ax = ±×¸² - ±×¸² 2.Ad_Subplot (122) Patch2A = PolygonPatch (È®Àå, Facecolor =' #ccccccccccccc ', edgecolor ='# 999999 ') ax.add_patch (patch2a) eroded = dilated.buffer (-0.3) # geojson-like data´Â oolpolygon = ouroded .__ geo_interface __ # >>> Áö¸® #' ´Ù°¢Çü '# >>> Áö¸® [0.5247925316941682, 0.78786482222222736, 0.8096820147544064, 0.8096820147509064)) Patch2B = PolygonPatch (Polygon, Facecolor ='# 99ccff ', edgecolor = '# 6699CC') ax.add_patch (patch2b) ax.set_xlim (-1, 4) ax.set_ylim (-1, 3) fig.subplots_adjust (0.0, 0.0, 1.0, 1.0, 0.1) ¹«È°ú ( ' buffering.png ') ÂüÁ¶ : example / patches.py. ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ MATPLOTLIB. ¡¤ NUMPY. ¡¤ ¸Å²öÇÑ °Í
descartes. °ü·Ã ¼ÒÇÁÆ®¿þ¾î