1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> 2 3<!--Converted with LaTeX2HTML 2018.3 (Released July 19, 2018) --> 4<HTML lang="EN"> 5<HEAD> 6<TITLE>planck_colors</TITLE> 7<META NAME="description" CONTENT="planck_colors"> 8<META NAME="keywords" CONTENT="idl"> 9<META NAME="resource-type" CONTENT="document"> 10<META NAME="distribution" CONTENT="global"> 11 12<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> 13<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> 14<META NAME="Generator" CONTENT="LaTeX2HTML v2018.3"> 15 <link rel='apple-touch-icon' sizes='180x180' href='images/favicons/apple-touch-icon.png?v=2017'> 16 <link rel='icon' type='image/png' sizes='32x32' href='images/favicons/favicon-32x32.png?v=2017'> 17 <link rel='icon' type='image/png' sizes='16x16' href='images/favicons/favicon-16x16.png?v=2017'> 18 <link rel='manifest' href='images/favicons/manifest.json?v=2017'> 19 <link rel='mask-icon' href='images/favicons/safari-pinned-tab.svg?v=2017' color='#5bbad5'> 20 <link rel='shortcut icon' href='images/favicons/favicon.ico?v=2017'> 21 <meta name='apple-mobile-web-app-title' content='HEALPix'> 22 <meta name='application-name' content='HEALPix'> 23 <meta name='msapplication-config' content='images/favicons/browserconfig.xml?v=2017'> 24 <meta name='theme-color' content='#ffffff'> 25 26<LINK REL="STYLESHEET" HREF="idl.css"> 27 28<LINK REL="next" HREF="idl_query_disc.htm"> 29<LINK REL="previous" HREF="idl_pix2xxx_ang2xxx_vec2xxx_nes.htm"> 30<LINK REL="next" HREF="idl_query_disc.htm"> 31</HEAD> 32 33<body text="#000000" bgcolor="#FFFFFA"> 34 35<DIV CLASS="navigation"><!--Navigation Panel--> 36<A 37 HREF="idl_pix2xxx_ang2xxx_vec2xxx_nes.htm"> 38<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 39<A 40 HREF="idl_HEALPix_IDL_subroutines.htm"> 41<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 42<A 43 HREF="idl_query_disc.htm"> 44<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 45<A ID="tex2html385" 46 HREF="idl_TABLE_CONTENTS.htm"> 47<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> 48<BR> 49<B> Previous:</B> <A 50 HREF="idl_pix2xxx_ang2xxx_vec2xxx_nes.htm">pix2xxx, ang2xxx, vec2xxx, nest2ring, ring2nest</A> 51 52<B>Up:</B> <A 53 HREF="idl_HEALPix_IDL_subroutines.htm">HEALPix/IDL subroutines</A> 54 55<B> Next:</B> <A 56 HREF="idl_query_disc.htm">query_disc</A> 57<B> Top:</B> <a href="main.htm">Main Page</a></DIV> 58<!--End of Navigation Panel--> 59 60<H1><A ID="SECTION5600"></A> 61<A ID="idl:planck_colors"></A> 62<BR> 63 64</H1> 65 66<P> 67<b><font size=+6><FONT COLOR="#CC0000">planck_colors</FONT></font></b><hr> 68<H3>This IDL facility provides RGB color tables suitable for visualization of 69sky maps dominated by CMB or featuring foreground, and modify current color 70table. 71Those color tables can then be implemented in 72<A HREF="idl_cartview.htm#idl:cartview">cartview</A>, 73<A HREF="idl_gnomview.htm#idl:gnomview">gnomview</A>, 74<A HREF="idl_mollview.htm#idl:mollview">mollview</A> or 75<A HREF="idl_orthview.htm#idl:orthview">orthview</A> and were used in Planck 2013 publications</H3> 76Location in HEALPix directory tree: <a href="https://sourceforge.net/p/healpix/code/1005/tree/trunk/src/idl/visu/planck_colors.pro"><b>src/idl/visu/planck_colors.pro</b></a> 77 78<P> 79<hr><h1>FORMAT </h1><h3>IDL> 80PLANCK_COLORS, 81<A HREF="#idl:planck_colors:option">option</A>, [<A HREF="#idl:planck_colors:get">GET=rgb</A>, 82<A HREF="#idl:planck_colors:help">/HELP</A>, 83<A HREF="#idl:planck_colors:show">/SHOW</A>] 84</h3> 85 86<P> 87<hr> 88<H1>QUALIFIERS</H1> 89 90 <DL COMPACT><DT> 91<B>option</B> 92<DD><A ID="idl:planck_colors:option"></A> required input for color 93table generation, must be either 1 or 2: 94<BR> 951: creates the 'parchment' Blue-red color table suitable for maps 96 dominated by Gaussian signal (eg, CMB) 97<BR> 982: creates a Blue-red-white color table suitable for maps with 99 high dynamic signal (eg, Galactic foreground) 100 </DL> 101 102<P> 103<hr><H1>KEYWORDS</H1> 104 105 <DL COMPACT><DT> 106<B>GET=rgb</B> 107<DD><A ID="idl:planck_colors:get"></A> optional ouput, contains the newly created RGB color table 108 in a [256, 3] array 109 110<P> 111<DT> 112<B>/HELP</B> 113<DD><A ID="idl:planck_colors:help"></A> if set, prints extended help 114 115<P> 116<DT> 117<B>/SHOW</B> 118<DD><A ID="idl:planck_colors:show"></A> if set, the chosen color 119table is shown in a new window 120 121<P> 122</DL> 123 124<P> 125<hr> 126<H1>DESCRIPTION</H1> 127<blockquote> 128<FONT COLOR="#CC0000">planck_colors</FONT> creates a set of RGB color tables suitable for specific purpose, and 129modify the current IDL color table accordingly (using TVLCT). See below the example 130applications. The created color table can also be output as a 256*3 array, or 131shown in a new window 132</blockquote> 133 134<P> 135<hr><H1>RELATED ROUTINES</H1><h3>This section lists the routines related to <b><FONT COLOR="#CC0000">planck_colors</FONT></b></h3> 136 137 <DL COMPACT><DT> 138<B>idl</B> 139<DD>version 6.4 or more is necessary to run <FONT COLOR="#CC0000">planck_colors</FONT>. 140 <DT> 141<B><A HREF="idl_cartview.htm#idl:cartview">cartview</A>, <A HREF="idl_gnomview.htm#idl:gnomview">gnomview</A></B> 142<DD><DT> 143<B><A HREF="idl_mollview.htm#idl:mollview">mollview</A>, <A HREF="idl_orthview.htm#idl:orthview">orthview</A></B> 144<DD>visualization routines that can make use of the color tables created in 145<FONT COLOR="#CC0000">planck_colors</FONT> (via keyword <A HREF="idl_mollview.htm#idl:mollview:colt"><TT>colt</TT></A>) 146 <DT> 147<B>loadct</B> 148<DD>IDL routine to set current color table to one of the 149predefined IDL color tables (thus reverting the effect of <FONT COLOR="#CC0000">planck_colors</FONT>). 150 </DL> 151 152<P> 153<HR><H1>EXAMPLE:</H1> 154<tt><TABLE CELLPADDING=3> 155<TR><TD ALIGN="LEFT"><FONT COLOR="#CC0000">planck_colors</FONT>, 1, /show</TD> 156</TR> 157<TR><TD ALIGN="LEFT"><FONT COLOR="#CC0000">planck_colors</FONT>, 2, /show</TD> 158</TR> 159</TABLE></tt> 160<blockquote>Create and show the two color tables (see Fig. <A HREF="#fig:planck_colors1">6</A> on page <A HREF="idl_planck_colors.htm#page:planck_colors1"><IMG ALT="[*]" SRC="crossref.png"></A>)</blockquote> 161 162<DIV class="CENTER"><A ID="page:planck_colors1"></A><A ID="fig:planck_colors1"></A><A ID="17454"></A> 163<TABLE> 164<CAPTION class="BOTTOM"><STRONG>Figure:</STRONG> 165Illustration of the color tables created by <FONT COLOR="#CC0000">planck_colors</FONT>.</CAPTION> 166<TR><TD> 167<DIV CLASS="centerline" ID="par40877" ALIGN="CENTER"> 168<IMG STYLE="" 169 SRC="./planck_colors1.png" 170 ALT="Image planck_colors1"></DIV> 171<DIV CLASS="centerline" ID="par40878" ALIGN="CENTER"> 172<IMG STYLE="" 173 SRC="./planck_colors2.png" 174 ALT="Image planck_colors2"></DIV> 175 176<P></TD></TR> 177</TABLE> 178</DIV> 179 180<P> 181 182<P> 183 184<P> 185 186<DIV CLASS="navigation"><HR> 187<!--Navigation Panel--> 188<A 189 HREF="idl_pix2xxx_ang2xxx_vec2xxx_nes.htm"> 190<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 191<A 192 HREF="idl_HEALPix_IDL_subroutines.htm"> 193<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 194<A 195 HREF="idl_query_disc.htm"> 196<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 197<A ID="tex2html385" 198 HREF="idl_TABLE_CONTENTS.htm"> 199<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> 200<BR> 201<B> Previous:</B> <A 202 HREF="idl_pix2xxx_ang2xxx_vec2xxx_nes.htm">pix2xxx, ang2xxx, vec2xxx, nest2ring, ring2nest</A> 203 204<B>Up:</B> <A 205 HREF="idl_HEALPix_IDL_subroutines.htm">HEALPix/IDL subroutines</A> 206 207<B> Next:</B> <A 208 HREF="idl_query_disc.htm">query_disc</A> 209<B> Top:</B> <a href="main.htm">Main Page</a></DIV> 210<!--End of Navigation Panel--> 211<ADDRESS> 212Version 3.50, 2018-12-10 213</ADDRESS> 214</BODY> 215</HTML> 216