A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://gist.github.com/2719900 below:

Documenting the matplotlib colormaps · GitHub

From cm._cmapnames Copied from MATLAB: autumn bone cool copper flag gray hot hsv jet pink prism spring summer winter (Not copied from MATLAB: colorcube, lines, white) These were all added here https://github.com/matplotlib/matplotlib/commit/26ffb47e95d7d694a94bb101d17ebcd0622d15f7 spectral (Spectral is not the same! rename to nipy_spectral?) "Tim Leslie's spectral patch" https://github.com/matplotlib/matplotlib/commit/b64652d335d4318d1b1a332843837a0c17a4a202 added after "Spectral" from nipy http://sourceforge.net/mailarchive/message.php?msg_id=8931272 Only non-MATLAB colormap to have a post-hoc function Related to http://www.math.mcgill.ca/keith/surfstat/doc/SurfStat/spectral.html and http://www.mathworks.com/matlabcentral/fileexchange/4706-mia-2-4/content/mia24/Tools/spectralmni.m but none of these have the same endpoints "black-purple-blue-green-yellow-red-white" Copied from GIST/Yorick: # The next 7 palettes are from the Yorick scientific visalisation package, # an evolution of the GIST package, both by David H. Munro. descriptions here http://dhmunro.github.com/yorick-doc/manual/yorick_70.html http://projects.scipy.org/scipy/browser/trunk/Lib/xplt/gistdata?rev=685 These palettes tend to start with dark colors and progress toward lighter colors, except yarg and rainbow gist_earth "is loosely based on mapmaker's colors from dark blue deep ocean to green lowlands to brown highlands to white mountains" "dk blue - lt blue - dk green - yellow green - lt brown - white sort of like mapmakers colors from deep ocean to snow capped peak" gist_gray (identical to gray) gist_heat "a red-orange scale resembling the colors of an iron bar as it grows hotter" "dk red - red - orange - yellow - white color temperatures of hot iron bar" gist_ncar - resembles BkBlAqGrYeOrReViWh200 from National Center for Atmospheric Research http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml gist_rainbow "runs through the colors in spectral order at nearly constant intensity" "colors in spectral order" gist_stern # red - dk blue - lt blue - gray green - white "Stern special" color table from IDL (c) Research Systems, Inc. gist_yarg (identical to gray_r and binary) sources here: https://github.com/dhmunro/yorick/tree/master/g no explanation of what ncar or stern are for 'Earlier versions of SkyView used the "Stern Special" color table by default, but we now default to more realistic if less colorful black and white images.' 'In appearance the most significant change is that by default images are now black and white. Users can select any of the old and many new color tables if desired but we feel that the black and white images most accurately reflect the intensity scaling. Some novice users were confused about the meaning of the colors in the old versions. The old system used the Stern Special color table.' In [4]: array_equal(cm.cmap_d['gist_gray'](arange(256)), cm.cmap_d['gray'](arange(256))) Out[4]: True ColorBrewer # 34 colormaps based on color specifications and designs # developed by Cynthia Brewer (http://colorbrewer.org). # The ColorBrewer palettes have been included under the terms # of an Apache-stype license (for details, see the file # LICENSE_COLORBREWER in the license directory of the matplotlib # source distribution). Added here https://github.com/matplotlib/matplotlib/commit/31c07815140e97becf2f2e037b8a214e263290b2 Categorizations here http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=RColorBrewer:ColorBrewer maxcolors category Diverging BrBG 11 div PiYG 11 div PRGn 11 div PuOr 11 div RdBu 11 div RdGy 11 div RdYlBu 11 div RdYlGn 11 div Spectral 11 div (not the same as spectral) Qualitative (these aren't supposed to be continuous! bug report?) Accent 8 qual Dark2 8 qual Paired 12 qual Pastel1 9 qual Pastel2 8 qual Set1 9 qual Set2 8 qual Set3 12 qual Sequential Blues 9 seq BuGn 9 seq BuPu 9 seq GnBu 9 seq Greens 9 seq Greys 9 seq Oranges 9 seq OrRd 9 seq PuBu 9 seq PuBuGn 9 seq PuRd 9 seq Purples 9 seq RdPu 9 seq Reds 9 seq YlGn 9 seq YlGnBu 9 seq YlOrBr 9 seq YlOrRd 9 seq cubehelix Unlike most other color schemes cubehelix was designed by D.A. Green to be monotonically increasing in terms of perceived brightness. Also, when printed on a black and white postscript printer, the scheme results in a greyscale with monotonically increasing brightness. This color scheme is named cubehelix because the r,g,b values produced can be visualised as a squashed helix around the diagonal in the r,g,b color cube. discussion http://sourceforge.net/mailarchive/message.php?msg_id=28065739 paper http://arxiv.org/abs/1108.5083 see cm.cubehelix() (no way to view the docstring?) coolwarm # This bipolar color map was generated from # "Diverging Color Maps for Scientific Visualization" by Kenneth Moreland. # <http://www.cs.unm.edu/~kmorel/documents/ColorMaps/> Discussion about patch: http://sourceforge.net/mailarchive/message.php?msg_id=27816391 – The map yields images that are aesthetically pleasing. – The map has a maximal perceptual resolution. – Interference with the shading of 3D surfaces is minimal. – The map is not sensitive to vision deficiencies. – The order of the colors should be intuitively the same for all people. – The perceptual interpolation matches the underlying scalars of the map. http://www.cs.unm.edu/~kmorel/documents/ColorMaps/index.html CMRmap Default colormaps on color images often reproduce to confusing grayscale images. The proposed colormap maintains an aesthetically pleasing color image that automatically reproduces to a monotonic grayscale with discrete, quantifiable saturation levels. # Implementation of Carey Rappaport's CMRmap. # See `A Color Map for Effective Black-and-White Rendering of Color-Scale Images' by Carey Rappaport # http://www.mathworks.com/matlabcentral/fileexchange/2662-cmrmap-m misc others added at the same time afmhot - Used in atomic force microscopy? brg bwr gnuplot gnuplot2 ocean rainbow seismic terrain - from "a measurement program called 'Igor'" http://www.wavemetrics.com/products/igorpro/creatinggraphs/colortab.htm all added here: http://sourceforge.net/mailarchive/message.php?msg_id=23330302 seismic from here? http://soliton.vm.bytemark.co.uk/pub/cpt-city/gery/index.html http://www.mathworks.com/matlabcentral/fileexchange/30585-large-data-in-matlab-a-seismic-data-processing-case-study/content/migration/seismic.m afmhot, ocean, rainbow from here? http://gnuplot.sourceforge.net/docs_4.2/node216.html apparently AFM because heat is a common palette for atomic force microscopy? https://www.google.com/search?q=atomic+force+microscopy&tbm=isch "The color selection uses the HSB-color model where the color (H) is set in ° value. The color is selected by entering a number or by clicking a color in the color bar." binary identical to gray_r and gist_yarg In [8]: array_equal(cm.cmap_d['binary'](arange(256)), cm.cmap_d['gray_r'](arange(256))) Out[8]: True added here: https://github.com/matplotlib/matplotlib/commit/47af03d985d9729f3eedc41354fe11a22eff35c4 meant for barcodes? identify which are isoluminant/monotonic, sequential/diverging/cyclic/spectral, etc "sequential (quantitative) variables, discrete (qualitative) variables, and bipolar (diverging) variables"

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4