Changeset 234 for trunk/SRC/Documentation/idldoc_assistant_output/Colors
- Timestamp:
- 03/21/07 10:14:37 (17 years ago)
- Location:
- trunk/SRC/Documentation/idldoc_assistant_output/Colors
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Colors/color24.html
r200 r234 61 61 </dl> 62 62 63 63 64 64 The purpose of this function is to convert a RGB color triple 65 into the equivalent 24-big long integer. 65 into the equivalent 24-big long integer. 66 This routine was written to be used with routines like COLORS or 67 <a href=".//GETCOLOR.html">GETCOLOR</a>. 66 68 67 69 … … 71 73 <a name="#_color24"></a> 72 74 73 <h2>color24 <font size="-1" color="#006633"> Graphics, Color 75 <h2>color24 <font size="-1" color="#006633"> 76 Graphics, Color 74 77 </font></h2> 75 78 … … 79 82 80 83 81 <h3>Return value</h3> 82 a 24-bit long integer that is equivalent the input color. 84 <h3>Return value</h3> 85 a 24-bit long integer that is equivalent the input color. 83 86 The color is described in terms of a hexadecimal number (e.g., FF206A) 84 where the left two digits represent the blue color, the 85 middle two digits represent the green color, and the right 87 where the left two digits represent the blue color, the 88 middle two digits represent the green color, and the right 86 89 two digits represent the red color. 87 90 … … 103 106 </h4> 104 107 105 106 A three-element column or row array representing 108 109 A three-element column or row array representing 107 110 a color triple. The values of the elements must be between 0 and 255. 108 111 … … 112 115 113 116 114 <h3>Examples</h3> 115 To convert the color triple for the color YELLOW, 116 (255, 255, 0), to the hexadecimal value '00FFFF'x 117 <h3>Examples</h3><pre> 118 To convert the color triple for the color YELLOW, 119 (255, 255, 0), to the hexadecimal value '00FFFF'x 117 120 or the decimal number 65535, type: 118 121 119 122 IDL> color = COLOR24([255, 255, 0]) 120 121 This routine was written to be used with routines like COLORS or GETCOLOR122 123 123 <h3>Version history</h3> 124 125 </pre><h3>Version history</h3> 124 126 125 <h4>Version</h4> $Id: color24.pro 163 2006-08-29 12:59:46Z navarro $ 127 <h4>Version</h4> 128 $Id: color24.pro 231 2007-03-19 17:15:51Z pinsard $ 126 129 127 130 <h4>History</h4> -
trunk/SRC/Documentation/idldoc_assistant_output/Colors/colorbar.html
r200 r234 71 71 <a name="#_colorbar"></a> 72 72 73 <h2>colorbar <font size="-1" color="#006633"> Graphics, Widget 73 <h2>colorbar <font size="-1" color="#006633"> 74 Graphics, Widget 74 75 </font></h2> 75 76 … … 180 181 </h4> 181 182 182 183 183 184 Vector which contain color's indexes to trace in a color bar. Therefore 184 we obtain a discrete colorbar which contains only the specified colors 185 we obtain a discrete colorbar which contains only the specified colors 185 186 in the order they appear in the vector 186 187 … … 430 431 431 432 432 <h3>Examples</h3> 433 <h3>Examples</h3><pre> 433 434 To display a horizontal color bar above a contour plot, type: 434 435 … … 438 439 IDL> COLORBAR, NCOLORS=100 439 440 440 <h3>Version history</h3> 441 442 <h4>Version</h4> $Id: colorbar.pro 163 2006-08-29 12:59:46Z navarro $ 443 444 <h4>History</h4> 441 </pre><h3>Version history</h3> 442 443 <h4>Version</h4> 444 $Id: colorbar.pro 231 2007-03-19 17:15:51Z pinsard $ 445 446 <h4>History</h4> 445 447 Written by: David Fanning, 10 JUNE 96. 446 448 10/27/96: Added the ability to send output to PostScript. DWF -
trunk/SRC/Documentation/idldoc_assistant_output/Colors/getcolor.html
r200 r234 61 61 </dl> 62 62 63 63 64 64 The original purpose of this function was to enable the 65 65 user to specify one of the 16 colors supported by the … … 81 81 <a name="#_getcolor"></a> 82 82 83 <h2>getcolor <font size="-1" color="#006633"> Graphics, Color 83 <h2>getcolor <font size="-1" color="#006633"> 84 Graphics, Color 84 85 </font></h2> 85 86 … … 131 132 </h4> 132 133 133 134 134 135 A string with the "name" of the color. Valid names are: 135 136 black … … 153 154 Case is unimportant. 154 155 155 156 156 157 157 … … 168 168 </h4> 169 169 170 170 171 171 The color table index where the specified color should be loaded. 172 172 … … 190 190 </h4> 191 191 192 192 193 193 If this keyword is set, the specified color triple is returned 194 194 as a 24-bit integer equivalent. The lowest 8 bits correspond to … … 211 211 </h4> 212 212 213 213 214 214 If this keyword is set, the return value of the function is 215 215 a 16-element string array containing the names of the colors. … … 233 233 </h4> 234 234 235 235 236 236 If this keyword is set, all 16 colors are automatically loaded 237 237 starting at the color index specified by the START keyword. … … 268 268 269 269 270 <h3>Examples</h3> 270 <h3>Examples</h3><pre> 271 271 To load a yellow color in color index 100 and plot in yellow, type: 272 272 … … 332 332 IDL> PLOT, data, Color=colors.yellow 333 333 334 <h3>Version history</h3> 335 336 <h4>Version</h4> $Id: getcolor.pro 163 2006-08-29 12:59:46Z navarro $ 337 <h4>History</h4> 334 </pre><h3>Version history</h3> 335 336 <h4>Version</h4> 337 $Id: getcolor.pro 231 2007-03-19 17:15:51Z pinsard $ 338 <h4>History</h4> 338 339 Written by: David Fanning, 10 February 96. 339 340 Fixed a bug in which N_ELEMENTS was spelled wrong. 7 Dec 96. DWF … … 351 352 352 353 353 <h4>Restrictions</h4> 354 <h4>Restrictions</h4> 354 355 The TRUE keyword causes the START keyword to be ignored. 355 The NAMES keyword causes the COLOR, INDEX, START, and TRUE parameters to be 356 The NAMES keyword causes the COLOR, INDEX, START, and TRUE parameters to be 356 357 ignored. 357 358 The COLOR parameter is ignored if the LOAD keyword is used. -
trunk/SRC/Documentation/idldoc_assistant_output/Colors/lct.html
r200 r234 61 61 </dl> 62 62 63 63 64 64 Fastest than type loadct, file = 'palette.tbl' 65 65 … … 70 70 <a name="#_lct"></a> 71 71 72 <h2>lct <font size="-1" color="#006633"> 72 <h2>lct <font size="-1" color="#006633"> 73 73 Graphics, Color 74 74 </font></h2> … … 152 152 </h4> 153 153 154 154 155 155 a scalar used to change the Lightness of the color 156 156 palette to be able to adjust according to the printer we use, 157 the media (paper or slide)... 157 the media (paper or slide)... 158 158 lightness < 1 to get lighter colors 159 159 > 1 to get darker colors … … 173 173 174 174 175 Used to pass loadct keywords 176 177 178 179 180 181 <h3>Version history</h3> 182 183 <h4>Version</h4> $Id: lct.pro 163 2006-08-29 12:59:46Z navarro $ 175 Used to pass keywords to <proidl>loadct</proidl> 176 177 178 179 180 181 </pre><h3>Version history</h3> 182 183 <h4>Version</h4> 184 $Id: lct.pro 232 2007-03-20 16:59:36Z pinsard $ 184 185 185 186 <h4>History</h4> -
trunk/SRC/Documentation/idldoc_assistant_output/Colors/newpalette.html
r200 r234 61 61 </dl> 62 62 63 63 64 64 Allows to save the palette which is on the screen 65 65 in a same type file than the one given by default in IDL … … 72 72 <a name="#_newpalette"></a> 73 73 74 <h2>newpalette <font size="-1" color="#006633"> 74 <h2>newpalette <font size="-1" color="#006633"> 75 75 Color 76 76 </font></h2> … … 100 100 101 101 102 a string containingthe name of the new palette we want to write.102 the name of the new palette we want to write. 103 103 104 104 … … 137 137 </h4> 138 138 139 140 the number of the palette we want to replace 139 140 the number of the palette we want to replace. 141 141 142 142 … … 153 153 </h4> 154 154 155 156 Used to pass modifyct keywords155 156 Used to pass keywords to <proidl>modifyct</proidl> 157 157 158 158 … … 160 160 161 161 162 < h3>Version history</h3>162 </pre><h3>Version history</h3> 163 163 164 <h4>Version</h4> $Id: newpalette.pro 163 2006-08-29 12:59:46Z navarro $ 164 <h4>Version</h4> 165 $Id: newpalette.pro 232 2007-03-20 16:59:36Z pinsard $ 165 166 166 <h4>History</h4> Guillaume Roulet (gr@lodyc.jussieu.fr) 167 <h4>History</h4> 168 Guillaume Roulet (gr@lodyc.jussieu.fr) 167 169 30/3/1999 s.masson, add _extra, research of the full name, OVER 168 170 5/5/1999 s.masson -
trunk/SRC/Documentation/idldoc_assistant_output/Colors/xlct.html
r200 r234 61 61 </dl> 62 62 63 64 Like xloadct but fastest to write and call by default the palette 63 64 Like xloadct but fastest to write and call by default the palette 65 65 palette.tbl which can be in any directory 66 66 … … 71 71 <a name="#_xlct"></a> 72 72 73 <h2>xlct <font size="-1" color="#006633"> Widget, Color 73 <h2>xlct <font size="-1" color="#006633"> 74 Widget, Color 74 75 </font></h2> 75 76 … … 98 99 </h4> 99 100 100 101 101 102 Normally, no informational message is printed when a color map 102 103 is loaded. If this keyword is present and zero, this message is printed. … … 115 116 </h4> 116 117 117 118 118 119 The widget ID of the widget that calls Xlct. When this ID is 119 120 specified, a death of the caller results in a death of Xlct … … 275 276 276 277 277 <h3>Version history</h3> 278 279 <h4>Version</h4> $Id: xlct.pro 163 2006-08-29 12:59:46Z navarro $ 280 281 <h4>History</h4> 5/5/1999 copy of xloadct par Sebastien Masson (smasson@lodyc.jussieu.fr) 278 </pre><h3>Version history</h3> 279 280 <h4>Version</h4> 281 $Id: xlct.pro 231 2007-03-19 17:15:51Z pinsard $ 282 283 <h4>History</h4> 284 5/5/1999 copy of xloadct par Sebastien Masson (smasson@lodyc.jussieu.fr) 282 285 283 286 -
trunk/SRC/Documentation/idldoc_assistant_output/Colors/xpal.html
r200 r234 62 62 63 63 64 Choose the best foreground and background colors for 65 the current color maps and set !P appropriately. 66 67 64 68 like xpalette but shorter to write and, moreover, 65 69 possess a hotkey save which (thanks to the newpalette routine) … … 175 179 176 180 177 <h3>Examples</h3> 181 <h3>Examples</h3><pre> 178 182 The XPAL widget has the following controls: 179 183 … … 248 252 horizontally. 249 253 250 <h3>Version history</h3> 251 252 253 <h4>History</h4> 254 </pre><h3>Version history</h3> 255 256 <h4>Version</h4> 257 $Id: xpal.pro 233 2007-03-20 17:04:40Z pinsard $ 258 259 <h4>History</h4> 254 260 Adaptation of xpalette to add a save button by 255 261 Grima Nicolas (nglod@ipsl.jussieu.fr) and by Masson 256 262 Sebastien (smlod@ipsl.jussieu.fr) 257 258 $Id: xpal.pro 163 2006-08-29 12:59:46Z navarro $259 263 260 264
Note: See TracChangeset
for help on using the changeset viewer.