Brewer2mpl.

Colorbrewer2.org »ö»óÁöµµ¿Í ÆÄÀÌ½ã ¹× MatplotLib¿¡ ¿¬°á
Áö±Ý ´Ù¿î·Îµå

Brewer2mpl. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • jiffyclub
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/jiffyclub

Brewer2mpl. ű×


Brewer2mpl. ¼³¸í

Brewer2MPLÀº Python¿¡¼­ ColorBrewer2.org »ö»óÁöµµ¿¡ ¾×¼¼½ºÇϱâÀ§ÇÑ ¼ø¼öÇÑ Python ¸ðµâÀÔ´Ï´Ù. Brewer2mplÀ» »ç¿ëÇÏ¸é ¸ðµç 165 colorbrewer2.org Ä÷¯ ¸ÊÀÇ ¿ø½Ã RGB »ö»óÀ» ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. Ä÷¯ ¸Ê µ¥ÀÌÅÍ´Â Brewer2mplÀ» »ç¿ëÇÏ¿© ÀÎÅÍ³Ý ¿¬°áÀÌ ÇÊ¿äÇÏÁö ¾Ê½À´Ï´Ù. ÀÚ¼¼ÇÑ Á¤º¸°¡ ÇÊ¿äÇϸç ÀϺΠÄ÷¯ ¸ÊÀ» º¼ ¼öÀÖ´Â Ä÷¯ ¸ÊÀº https://github.com/jiffyclub/brewer2mpl/wiki.color¿¡¼­ Wiki¸¦ ÂüÁ¶ÇϽʽÿÀ. mapscolorbrewer2.org¿¡´Â 3 °³ÀÇÁöµµ°¡ ÀÖ½À´Ï´Ù. À¯Çü : ¼øÂ÷Àû, ¹ß»ê ¹× Á¤¼º. °¢ Ä÷¯ ¸ÊÀº 3 ~ 12 °³ÀÇ Á¤ÀÇ µÈ »ö»óÀÔ´Ï´Ù. exampleSlisting Ä÷¯ Mapslist ¸ðµç »ç¿ë °¡´ÉÇÑ »ö»ó ¸Ê : brewer2mpl.print_maps () ¸ñ·Ïº°·Î ¸Ê ( '¼øÂ÷') Á¤ÀÇ µÈ »ö»ó ¼öº°·Î ÇÊÅÍ : brewer2mpl.print_Maps ( 'ÁúÀû', 6) Ä÷¯ MapColorÁöµµ°¡ À̸§, À¯Çü ¹× ¼ýÀÚ·Î ¾×¼¼½ºÇÕ´Ï´Ù. bmap = brewer2mpl.get_map ( 'Æä¾î¸µ µÈ', 'Á¤¼º', 5) Ä÷¯ ¸ÊÀÌ ¾î¶»°Ô ÁÖ¾îÁøÁö ¹ÝÀü½Ãų °æ¿ì ColorBrewer2.org´Â ¿ª Å°¿öµå¸¦ true·Î ¼³Á¤ÇÕ´Ï´Ù. bmap = brewer2mpl.get_map ( 'Æä¾î¸µ', 'Á¤¼º', 5, ¿ª¹æÇâ = true) BrewerMap objectScolor ¸ÊÀº Brewermap °´Ã¼·Î Ç¥½ÃµË´Ï´Ù. ¸î °¡Áö À¯¿ëÇÑ ¼Ó¼ºÀÌ ÀÖ½À´Ï´Ù. # ColorBrewer2.org URL. # ºê¶ó¿ìÀú·Î º¹»çÇÕ´Ï´Ù. colorbrewer2.org.bmap.colorbrewer2_url # colorbrewer2.org namebmap.name # Á¤ÀÇ µÈ ColorsBmap.number # »ö»óÀÇ ¹øÈ£¸¦ ¸ñ·ÏÀ¸·Î Ç¥½ÃÇÕ´Ï´Ù. RGB 0-255 TripletSbmap.Colors # »ö»óÀº rgb 0-1 »ïÁß ·¿ÀÇ ¸ñ·ÏÀ¸·Î hex stringsbmap.hex_colors # »ö»ó (matplotlib¿¡¼­ »ç¿ëµÇ´Â °Íó·³) bmap.mpl_colors # matplotlib color mapbmap.mpl_colormapthe matplotlib Ä÷¯ ¸ÊÀº ´ÙÀ½À» »ç¿ëÇÏ¿© ¸¸µé¾îÁý´Ï´Ù. matplotlib.colors.linearsegmentedcolormap.from_list. ÇØ´ç ¸Þ¼­µå¿¡ ¿É¼ÇÀ» Àü´ÞÇÏ·Á´Â °æ¿ì brewermap.get_mpl_colormap ¸Þ¼­µå¸¦ »ç¿ëÇÕ´Ï´Ù. cmap = bmp.get_mpl_colormap (n = 1000, gamma = 2.0) Á¦Ç° ȨÆäÀÌÁö


Brewer2mpl. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

ž

´Ù¾çÇÑ ¼Ò½º, Ãà¼Ò °ø¹é, Áö¿ø ÄÁÅؽºÆ® (MSGCTXT) ¹× º´ÇÕ .POÀÇ ´Ù¾çÇÑ ²öÀ» ´ç°Ü ... ...

121

´Ù¿î·Îµå