- Timestamp:
- 09/06/06 12:46:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/COULEURS/colorbar.html
r163 r168 1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">4 5 <!-- Generated by IDLdoc 2.0 -->6 7 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">8 <head>9 <title>colorbar.pro (SAXO Documentation)</title>10 11 12 <style type="text/css" media="all">13 14 /* CSS for all files which appear in the "main" viewing area: overview,15 directory overviews, warnings, index, search, pro files, source16 code, help, and etc files. */17 18 /* Link styles --------------------------------------------------------------- */19 20 a { text-decoration: none; }21 22 a:link, a:visited {23 color: #660000;24 border-bottom: 1px dotted #C0C0F0;25 }26 27 a:hover, a:focus {28 color: #993333;29 background: #FFFFCC;30 border-bottom: 1px dotted #303099;31 }32 33 34 /* Main styles --------------------------------------------------------------- */35 p.preformat {36 font-family: Courier;37 }38 p.preformat {39 font-family: Courier;40 }41 p.preformat {42 font-family: Courier;43 }44 p.preformat {45 font-family: Courier;46 }47 p.preformat {48 font-family: Courier;49 }50 p.preformat {51 font-family: Courier;52 }53 p.preformat {54 font-family: Courier;55 }56 p.preformat {57 font-family: Courier;58 }59 p.preformat {60 font-family: Courier;61 }62 p.preformat {63 font-family: Courier;64 }65 p.preformat {66 font-family: Courier;67 }68 p.preformat {69 font-family: Courier;70 }71 p.preformat {72 font-family: Courier;73 }74 p.preformat {75 font-family: Courier;76 }77 p.preformat {78 font-family: Courier;79 }80 p.preformat {81 font-family: Courier;82 }83 p.preformat {84 font-family: Courier;85 }86 p.preformat {87 font-family: Courier;88 }89 p.preformat {90 font-family: Courier;91 }92 p.preformat {93 font-family: Courier;94 }95 p.preformat {96 font-family: Courier;97 }98 p.preformat {99 font-family: Courier;100 }101 p.preformat {102 font-family: Courier;103 }104 p.preformat {105 font-family: Courier;106 }107 p.preformat {108 font-family: Courier;109 }110 p.preformat {111 font-family: Courier;112 }113 p.preformat {114 font-family: Courier;115 }116 p.preformat {117 font-family: Courier;118 }119 p.preformat {120 font-family: Courier;121 }122 p.preformat {123 font-family: Courier;124 }125 p.preformat {126 font-family: Courier;127 }128 p.preformat {129 font-family: Courier;130 }131 p.preformat {132 font-family: Courier;133 }134 p.preformat {135 font-family: Courier;136 }137 p.preformat {138 font-family: Courier;139 }140 p.preformat {141 font-family: Courier;142 }143 p.preformat {144 font-family: Courier;145 }146 p.preformat {147 font-family: Courier;148 }149 p.preformat {150 font-family: Courier;151 }152 p.preformat {153 font-family: Courier;154 }155 p.preformat {156 font-family: Courier;157 }158 p.preformat {159 font-family: Courier;160 }161 p.preformat {162 font-family: Courier;163 }164 p.preformat {165 font-family: Courier;166 }167 168 body {169 margin: 0;170 padding: 0;171 font-size: 10pt;172 font-family: Verdana, Helvetica, Arial, sans-serif;173 background-color: #FFFFFF;174 }175 176 p {177 margin-top: 0.5em;178 margin-bottom: 0;179 }180 181 #container { margin: 1em; }182 183 code.section { white-space: pre; }184 185 pre.snippet {186 margin-left: 5%;187 background: #F0F0F0;188 border: 1px dashed #999999;189 width: 43em;190 padding: 0.5em 0.5em 0.5em 0.5em;191 white-space: pre;192 }193 194 /* Navbar styles ------------------------------------------------------------- */195 196 #navbar_title {197 color: #000033;198 background-color: #F0F0FF;199 font-family: Arial, Helvetica, sans-serif;200 padding: 20px 30px;201 border-bottom: 1px solid #000033;202 }203 204 #navbar_title * {205 margin: 0;206 padding: 0;207 }208 209 #navbar_title h1 {210 letter-spacing: 0.1em;211 font-variant: small-caps;212 font-size: 250%;213 text-indent: -1em;214 padding-left: 1em;215 }216 217 #navbar_title h2 {218 font-size: 110%;219 font-weight: normal;220 color: #333399;221 }222 223 #main_navbar table {224 width: 100%;225 border-bottom: 1px solid #666699;226 }227 228 #main_navbar td {229 background: #CCCCFF;230 font-size: 80%;231 font-weight: bold;232 font-family: Arial, Helvetica, sans-serif;233 border-top: 3px solid #CCCCFF;234 border-bottom: 3px solid #CCCCFF;235 padding-left: 6px;236 padding-right: 6px;237 margin: 0;238 }239 240 #main_navbar td#selected {241 background: #CCCCFF;242 font-size: 80%;243 font-weight: bold;244 font-family: Arial, Helvetica, sans-serif;245 border-top: 3px solid #333399;246 border-bottom: 3px solid #CCCCFF;247 padding-left: 6px;248 padding-right: 6px;249 margin: 0;250 }251 252 #main_navbar td#flexible {253 width: 100%;254 text-align: right;255 padding-right: 1em;256 background: #CCCCFF;257 font-size: 70%;258 font-weight: normal;259 font-family: Arial, Helvetica, sans-serif;260 text-transform: uppercase;261 border-top: 3px solid #CCCCFF;262 border-bottom: 3px solid #CCCCFF;263 }264 265 #main_navbar a:link, #main_navbar a:visited { color: #660000; border: 0; }266 267 #main_navbar a:hover, #main_navbar a:focus {268 color: #FFFF66;269 background: #CCCCFF;270 border-bottom: 1px none #606099;271 border: 0;272 }273 274 #secondary_navbar {275 font-size: 80%;276 font-weight: normal;277 font-family: Arial, Helvetica, sans-serif;278 margin-top: 4px;279 margin-left: 20px;280 white-space: nowrap;281 }282 283 284 /* Tagline and footer styles ------------------------------------------------- */285 286 div#tagline {287 margin-top: 6px;288 border-top: 1px dotted lightsteelblue;289 padding-top: 6px;290 font-size: 66%;291 font-style: italic;292 }293 294 div#footer {295 margin-top: 6px;296 border-top: 1px dotted lightsteelblue;297 padding-top: 6px;298 font-size: 66%;299 font-style: italic;300 }301 302 /* Basic data presenation styles -------------------------------------------- */303 304 .index_letter {305 font-size: 300%;306 font-weight: bold;307 color: #000066;308 margin: 0.5em 0 0 -0.1em;309 }310 311 h1, h2, h3, h4 {312 font-weight: normal;313 color: #3333CC;314 }315 316 h1 {317 padding-top: 0.75em;318 font-size: 160%;319 }320 321 h2 {322 padding-top: 1em;323 font-size: 120%;324 }325 326 h3 {327 padding-top: 0.75em;328 margin-bottom: 0.25em;329 font-size: 100%;330 }331 332 h4 {333 padding: 0;334 margin: 0.5em 0 0 0;335 font-size: 80%;336 }337 338 table.basic {339 empty-cells: show;340 margin: 1.5em 1em 0 1em;341 border: 1px dotted #CFCFFF;342 font-size: 80%;343 }344 345 table.basic th {346 background-color: #F0F0FF;347 font-weight: bold;348 text-align: left;349 padding: 4px 1em 4px 4px;350 border-bottom: 1px dotted #666699;351 }352 353 table.basic td {354 vertical-align: top;355 padding: 4px 1em 4px 4px;356 }357 358 dd {359 margin-bottom: 0.25em;360 font-size: 80%;361 }362 363 364 /* Warnings styles ----------------------------------------------------------- */365 366 367 #todo dl, #bugs dl {368 margin: 0 0 0 1.5em;369 font-size: 80%;370 }371 372 #todo dd, #bugs dd {373 margin-left: 3em;374 font-size: 100%;375 }376 377 #undoc table, #obsolete table, #statistics table {378 width: 80%;379 margin-left: 2em;380 }381 382 #undoc td, #obsolete td, #statistics td {383 padding: 0 0 0 0;384 font-size: 80%;385 white-space: nowrap;386 }387 388 #undoc td.docroutine, #obsolete td.obsroutine, #statistics td.statroutine { width: 50%; }389 390 #undoc td.docstat, #statistics td.stat {391 width: 50%;392 text-align: right;393 }394 395 #undoc td.partialdoc, #statistics td.caution { color: #CC6600; }396 397 #undoc td.notdoc, #statistics td.warning { color: #993333; }398 399 /* File + routine styles ----------------------------------------------------- */400 401 h1.directory {402 padding: 1em 0 0 0;403 margin: 0;404 font-size: 66%;405 }406 407 h1.directory a { border-bottom: 0; }408 409 h2.pro_file {410 padding: 0;411 margin: 0;412 font-size: 140%;413 }414 415 div#file_attr {416 padding: 0 1em 0 1em;417 margin: 1em;418 background: #F6F6F6;419 border: 1px dotted #999999;420 }421 422 div#file_attr dt {423 font-size: 80%;424 font-weight: bold;425 }426 427 div#file_attr dd {428 font-size: 80%;429 }430 431 div#class_diagram {432 padding: 1em 0 1em 0;433 white-space: pre;434 font-family: 'Courier New';435 }436 437 table#sav_attr {438 font-size: 90%;439 margin: 1em;440 padding: 1em 1em 1em 1em;441 background: #F6F6F6;442 border: 1px dotted #999999;443 }444 445 table#sav_attr th { text-align: left; }446 447 table#sav_attr td { vertical-align: top; padding-right: 2em; }448 449 table#sav_attr td.value { width: 20em; padding-right: 0em; font-style: italic; }450 451 p.sav_warning { margin-left: 4em; font-family: 80%; }452 453 table.variables {454 font-family: 'Courier New', monospace;455 font-size: 80%;456 text-indent: -2em;457 padding-left: 2em;458 }459 460 table.variables td.image { width: 64px; }461 462 div#file_comments { white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre; white-space: pre;463 margin: 2em;464 font-size: 80%;465 }466 467 468 div.field_summary {469 padding: 0 1em 0 1em;470 margin: 1em;471 background: #FFFFF0;472 border: 1px dotted #C0C000;473 }474 475 div#routine_summary {476 padding: 0 1em 0 1em;477 margin: 1em;478 background: #F0F0FF;479 border: 1px dotted #9999FF;480 }481 482 div.field_summary h2, div#routine_summary h2 {483 padding: 0.5em 0 0 0;484 margin: 0;485 }486 487 div.field_summary table, div.field_summary p {488 margin: 1em 1em;489 }490 491 div.field_summary td.name {492 vertical-align: top;493 padding-bottom: 0.25em;494 color: #3333CC;495 }496 497 div.field_summary span.field_type {498 font-weight: normal;499 font-size: 80%;500 color: black;501 }502 503 div.field_summary td.comments {504 vertical-align: top;505 padding-left: 2em;506 font-size: 80%;507 }508 509 p.commaList {510 margin: 1em 1em 1em 1em;511 }512 513 span.warning {514 color: #CC6633;515 font-weight: bold;516 font-size: 66%;517 text-transform: uppercase;518 }519 520 span.categories {521 color: #006633;522 font-weight: bold;523 font-size: 66%;524 text-transform: uppercase;525 }526 527 span.undoc {528 color: #FF6633;529 font-weight: bold;530 font-size: 80%;531 text-transform: uppercase;532 }533 534 span.attr {535 color: #006633;536 font-weight: bold;537 font-size: 80%;538 text-transform: uppercase;539 }540 541 span.value {542 color: #006633;543 font-weight: normal;544 text-transform: none;545 }546 547 a.top {548 font-weight: bold;549 font-size: 66%;550 text-transform: uppercase;551 float: right;552 }553 554 span.result {555 font-family: Verdana, Arial, Helvetica, sans-serif;556 font-style: italic;557 font-size: 80%;558 }559 560 div#routine_summary p, div.routine_details p.header {561 padding-top: 0.5em;562 margin-left: 1.5em;563 text-indent: -1.5em;564 font-family: 'Courier New', monospace;565 }566 567 div.routine_details {568 padding: 0.5em 1em 0.5em 1em;569 margin: 1em;570 border: 1px dotted #CCCCCC;571 }572 573 div.routine_details h2 {574 padding-top: 0;575 margin-top: 0;576 }577 578 div.routine_details div.value {579 margin: 0 1em 0 1em;580 font-size: 80%;581 }582 583 div.routine_details div.comments {584 font-size: 80%;585 margin: 0.75em 1em 1em 1em;586 }587 588 div.routine_details div.preformat {589 white-space: pre;590 }591 592 table.statistics {593 font-size: 80%;594 margin-left: 1em;595 }596 597 table.statistics td {598 padding: 0 2em 0 0;599 }600 601 /* Overview styles ----------------------------------------------------------- */602 603 div.overview {604 width: 100%;605 margin-top: 1em;606 clear: both;607 }608 609 div.overview table {610 empty-cells: show;611 font-size: 90%;612 margin: 1em 1em 1em 1em;613 padding: 1em 0.5em 1em 0.5em;614 background: #F6F6F6;615 border: 1px dotted #999999;616 }617 618 div.overview td {619 padding: 3px 1em 3px 1em;620 }621 622 div.overview td.dir {623 width: 1%;624 vertical-align: top;625 text-align: right;626 padding-right: 1em;627 }628 629 630 /* Navigation list styles for tree structures -------------------------------- */631 632 #tree {633 text-align: left;634 font-size: 90%;635 margin: 0.75em 0 0.75em 0;636 padding: 0;637 }638 639 #tree ul {640 text-align: left;641 margin: 0;642 padding: 0;643 }644 645 #tree li {646 margin: 0 0 0 15px;647 padding: 0;648 list-style-type: none;649 }650 651 #tree .symbols {652 float: left;653 width: 12px;654 height: 1em;655 padding-left: 4px;656 background-position: 0 100%;657 background-repeat: no-repeat;658 }659 660 /* Search styles ------------------------------------------------------------- */661 662 input.writein {663 padding-left: 0.5em;664 border: 1px solid #CCCCCC;665 font-family: 'Courier New';666 background: #FFFFF3;667 }668 669 #search form {670 margin-left: 2em;671 }672 673 #search table {674 margin: 1em 1em 0 2em;675 padding: 1em 2em 1em 2em;676 background: #F6F6F6;677 border: 1px dotted #999999;678 }679 680 #search tr {681 text-align: center;682 }683 684 #search td {685 font-size: 80%;686 text-align: left;687 }688 689 #search td * {690 vertical-align: middle;691 }692 693 #search p {694 font-size: 66%;695 margin: 0 3em 2em 3em;696 }697 698 /* Help styles --------------------------------------------------------------- */699 700 div.toc {701 padding: 0 1em 0 1em;702 margin: 1em;703 background: #F0F0FF;704 border: 1px dotted #9999FF;705 width: 19em;706 }707 708 div.right {709 float: right;710 width: 22em;711 }712 713 ol.toc {714 list-style-type: upper-roman;715 }716 717 ol.toc ol {718 padding-left: 3em;719 margin-left: 0;720 list-style-type: lower-alpha;721 }722 723 dl.variables dt { font-size: 80%; }724 dl.variables dd { margin-bottom: 0.5em; }725 726 </style>727 <style type="text/css" media="print">728 #navbar_title {729 background-color: #FFFFFF;730 }731 732 #main_navbar td {733 background: #FFFFFF;734 border-top: 0.25em solid #FFFFFF;735 border-bottom: 0.25em solid #FFFFFF;736 }737 738 #main_navbar td#selected {739 background: #FFFFFF;740 border-top: 0.25em solid #333399;741 border-bottom: 0.25em solid #FFFFFF;742 }743 744 #main_navbar td#flexible {745 background: #FFFFFF;746 border-top: 0.25em solid #FFFFFF;747 border-bottom: 0.25em solid #FFFFFF;748 }749 750 #secondary_navbar {751 display: none;752 }753 754 </style>755 756 757 <script type="text/javascript">758 function setTitle() {759 parent.document.title="colorbar.pro (SAXO Documentation)";760 }761 </script>762 </head>763 764 <body onload="setTitle();">765 766 <div id="navbar_title">767 <h1>SAXO Documentation</h1>768 </div>769 770 771 <div id="main_navbar">772 773 <table cellspacing="0">774 <tr>775 776 <td><a href="./../../overview.html?format=raw" title="Overview of library">Overview</a></td>777 778 779 780 <td >Directory</td>781 782 783 784 <td><a href="./../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td>785 786 787 788 <td><a href="./../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td>789 790 791 792 <td><a href="./../../search-page.html?format=raw" title="Search library">Search</a></td>793 794 795 <td id="selected">File</td>796 797 798 <td >Source</td>799 800 801 802 <td><a href="./../../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td>803 804 805 <td >Etc</td>806 807 <td id="flexible">Developer documentation</td>808 </tr>809 </table>810 811 </div>812 813 <div id="secondary_navbar">814 815 <a href="color24.html?format=raw"><<prev file</a> | <a href="getcolor.html?format=raw">next file >></a> <a href="colorbar.html?format=raw" target="_TOP">view single page</a> | <a href="./../../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a>816 817 </div>818 819 820 <div id="container">821 822 <h1 class="directory"><a href="directory-overview.html?format=raw">ToBeReviewed/COULEURS/</a></h1>823 <h2 class="pro_file">colorbar.pro</h2>824 825 <div id="file_attr">826 <dl>827 </dl>828 </div>829 830 <div id="file_comments"></div>831 832 833 834 835 836 837 838 839 840 <div id="routine_details">841 842 843 <div class="routine_details" id="_COLORBAR">844 845 <h2><a class="top" href="#container">top</a>COLORBAR </h2>846 847 <p class="header">848 COLORBAR, <a href="#_COLORBAR_keyword_BOTTOM">BOTTOM</a>=<span class="result">BOTTOM</span>, <a href="#_COLORBAR_keyword_CB_CHARSIZE">CB_CHARSIZE</a>=<span class="result">CB_CHARSIZE</span>, <a href="#_COLORBAR_keyword_CB_CHARTHICK">CB_CHARTHICK</a>=<span class="result">CB_CHARTHICK</span>, <a href="#_COLORBAR_keyword_CB_COLOR">CB_COLOR</a>=<span class="result">CB_COLOR</span>, <a href="#_COLORBAR_keyword_DIVISIONS">DIVISIONS</a>=<span class="result">DIVISIONS</span>, <a href="#_COLORBAR_keyword_DISCRET">DISCRET</a>=<span class="result">DISCRET</span>, <a href="#_COLORBAR_keyword_CB_LABEL">CB_LABEL</a>=<span class="result">CB_LABEL</span>, <a href="#_COLORBAR_keyword_FORMAT">FORMAT</a>=<span class="result">FORMAT</span>, <a href="#_COLORBAR_keyword_POSITION">POSITION</a>=<span class="result">POSITION</span>, <a href="#_COLORBAR_keyword_MAX">MAX</a>=<span class="result">MAX</span>, <a href="#_COLORBAR_keyword_MIN">MIN</a>=<span class="result">MIN</span>, <a href="#_COLORBAR_keyword_NCOLORS">NCOLORS</a>=<span class="result">NCOLORS</span>, <a href="#_COLORBAR_keyword_PSCOLOR">PSCOLOR</a>=<span class="result">PSCOLOR</span>, <a href="#_COLORBAR_keyword_CB_TITLE">CB_TITLE</a>=<span class="result">CB_TITLE</span>, <a href="#_COLORBAR_keyword_VERTICAL">VERTICAL</a>=<span class="result">VERTICAL</span>, <a href="#_COLORBAR_keyword_TOP">TOP</a>=<span class="result">TOP</span>, <a href="#_COLORBAR_keyword_RIGHT">RIGHT</a>=<span class="result">RIGHT</span>, <a href="#_COLORBAR_keyword_CB_LOG">CB_LOG</a>=<span class="result">CB_LOG</span>, <a href="#_COLORBAR_keyword__extra">_extra</a>=<span class="result">_extra</span></p>849 850 <div class="comments">851 NAME:852 COLORBAR853 854 PURPOSE:855 The purpose of this routine is to add a color bar to the current856 graphics window.857 858 CATEGORY:859 Graphics, Widgets.860 861 CALLING SEQUENCE:862 COLORBAR863 864 INPUTS:865 None.866 867 KEYWORD PARAMETERS:868 869 BOTTOM: The lowest color index of the colors to be loaded in870 the bar.871 872 CB_CHARSIZE: The character size of the color bar annotations. Default is 1.0.873 874 CB_CHARTICK: The character thick of the color bar annotations. Default is 1.0.875 876 CB_COLOR: The color index of the bar outline and characters. Default877 is ncolors - 1 + bottom.878 879 CB_LOG: to get logarithmic scale for the colorbar880 881 CB_TITLE: This is title for the color bar. The default is to have882 no title.883 884 DISCRET: Vecteur contenant les incices des couleurs a tracer en barre885 de couleur. On obtient ainsi une barre de couleur discrete ne comportant que886 les couleurs specifiees ds l'ordre ou elles apparaissent ds le vecteur.887 888 DIVISIONS: The number of divisions to divide the bar into. There will889 be (divisions + 1) annotations. The default is 2.890 891 FORMAT: The format of the bar annotations. Default is '(F6.2)'.892 893 CB_LABEL: C''est un vecteur qui specifie la valeur des sticks894 presents dans la barre de couleur. Il permet qd on utilise895 DISCRET d''avoir des couleurs qui ne s''incrementent pas de896 facon regulieres.897 898 MAX: The maximum data value for the bar annotation. Default is899 NCOLORS-1.900 901 MIN: The minimum data value for the bar annotation. Default is 0.902 903 NCOLORS: This is the number of colors in the color bar.904 905 NOTITLE: oblige a ne pas mettre de titre meme si cb_title est declare906 907 POSITION: A four-element array of normalized coordinates in the same908 form as the POSITION keyword on a plot. Default is909 [0.88, 0.15, 0.95, 0.95] for a vertical bar and910 [0.15, 0.88, 0.95, 0.95] for a horizontal bar.911 912 PSCOLOR: This keyword is only applied if the output is being sent to913 a PostScript file. It indicates that the PostScript device914 is configured for color output. If this keyword is set, then915 the annotation is drawn in the color specified by the COLOR916 keyword. If the keyword is not set, the annotation is drawn917 in the color specified by the !P.COLOR system variable918 (usually this will be the color black). In general, this919 gives better looking output on non-color or gray-scale920 printers. If you are not specifically setting the annotation921 color (with the COLOR keyword), it will probably922 be better NOT to set this keyword either, even if you923 are outputting to a color PostScript printer.924 925 RIGHT: This puts the labels on the right-hand side of a vertical926 color bar. It applies only to vertical color bars.927 928 TOP: This puts the labels on top of the bar rather than under it.929 The keyword only applies if a horizontal color bar is rendered.930 931 VERTICAL: Setting this keyword give a vertical color bar. The default932 is a horizontal color bar.933 934 COMMON BLOCKS:935 None.936 937 SIDE EFFECTS:938 Color bar is drawn in the current graphics window.939 940 RESTRICTIONS:941 The number of colors available on the display device (not the942 PostScript device) is used unless the NCOLORS keyword is used.943 944 EXAMPLE:945 To display a horizontal color bar above a contour plot, type:946 947 LOADCT, 5, NCOLORS=100948 CONTOUR, DIST(31,41), POSITION=[0.15, 0.15, 0.95, 0.75], $949 C_COLORS=INDGEN(25)*4, NLEVELS=25950 COLORBAR, NCOLORS=100951 952 MODIFICATION HISTORY:953 Written by: David Fanning, 10 JUNE 96.954 10/27/96: Added the ability to send output to PostScript. DWF955 11/4/96: Substantially rewritten to go to screen or PostScript956 file without having to know much about the PostScript device957 or even what the current graphics device is. DWF958 1/27/97: Added the RIGHT and TOP keywords. Also modified the959 way the TITLE keyword works. DWF960 7/15/97: Fixed a problem some machines have with plots that have961 no valid data range in them. DWF962 3/3/98: ajout du keyword discret par</div>963 964 965 966 967 968 969 970 <h3>Keywords</h3>971 972 <h4 id="_COLORBAR_keyword_BOTTOM">BOTTOM 973 974 975 976 977 978 979 980 981 </h4>982 983 <div class="comments"></div>984 985 <h4 id="_COLORBAR_keyword_CB_CHARSIZE">CB_CHARSIZE 986 987 988 989 990 991 992 993 994 </h4>995 996 <div class="comments"></div>997 998 <h4 id="_COLORBAR_keyword_CB_CHARTHICK">CB_CHARTHICK 999 1000 1001 1002 1003 1004 1005 1006 1007 </h4>1008 1009 <div class="comments"></div>1010 1011 <h4 id="_COLORBAR_keyword_CB_COLOR">CB_COLOR 1012 1013 1014 1015 1016 1017 1018 1019 1020 </h4>1021 1022 <div class="comments"></div>1023 1024 <h4 id="_COLORBAR_keyword_DIVISIONS">DIVISIONS 1025 1026 1027 1028 1029 1030 1031 1032 1033 </h4>1034 1035 <div class="comments"></div>1036 1037 <h4 id="_COLORBAR_keyword_DISCRET">DISCRET 1038 1039 1040 1041 1042 1043 1044 1045 1046 </h4>1047 1048 <div class="comments"></div>1049 1050 <h4 id="_COLORBAR_keyword_CB_LABEL">CB_LABEL 1051 1052 1053 1054 1055 1056 1057 1058 1059 </h4>1060 1061 <div class="comments"></div>1062 1063 <h4 id="_COLORBAR_keyword_FORMAT">FORMAT 1064 1065 1066 1067 1068 1069 1070 1071 1072 </h4>1073 1074 <div class="comments"></div>1075 1076 <h4 id="_COLORBAR_keyword_POSITION">POSITION 1077 1078 1079 1080 1081 1082 1083 1084 1085 </h4>1086 1087 <div class="comments"></div>1088 1089 <h4 id="_COLORBAR_keyword_MAX">MAX 1090 1091 1092 1093 1094 1095 1096 1097 1098 </h4>1099 1100 <div class="comments"></div>1101 1102 <h4 id="_COLORBAR_keyword_MIN">MIN 1103 1104 1105 1106 1107 1108 1109 1110 1111 </h4>1112 1113 <div class="comments"></div>1114 1115 <h4 id="_COLORBAR_keyword_NCOLORS">NCOLORS 1116 1117 1118 1119 1120 1121 1122 1123 1124 </h4>1125 1126 <div class="comments"></div>1127 1128 <h4 id="_COLORBAR_keyword_PSCOLOR">PSCOLOR 1129 1130 1131 1132 1133 1134 1135 1136 1137 </h4>1138 1139 <div class="comments"></div>1140 1141 <h4 id="_COLORBAR_keyword_CB_TITLE">CB_TITLE 1142 1143 1144 1145 1146 1147 1148 1149 1150 </h4>1151 1152 <div class="comments"></div>1153 1154 <h4 id="_COLORBAR_keyword_VERTICAL">VERTICAL 1155 1156 1157 1158 1159 1160 1161 1162 1163 </h4>1164 1165 <div class="comments"></div>1166 1167 <h4 id="_COLORBAR_keyword_TOP">TOP 1168 1169 1170 1171 1172 1173 1174 1175 1176 </h4>1177 1178 <div class="comments"></div>1179 1180 <h4 id="_COLORBAR_keyword_RIGHT">RIGHT 1181 1182 1183 1184 1185 1186 1187 1188 1189 </h4>1190 1191 <div class="comments"></div>1192 1193 <h4 id="_COLORBAR_keyword_CB_LOG">CB_LOG 1194 1195 1196 1197 1198 1199 1200 1201 1202 </h4>1203 1204 <div class="comments"></div>1205 1206 <h4 id="_COLORBAR_keyword__extra">_extra 1207 1208 1209 1210 1211 1212 1213 1214 1215 </h4>1216 1217 <div class="comments"></div>1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 </div>1245 1246 </div>1247 1248 1249 1250 <div id="tagline">Produced by IDLdoc 2.0.</div>1251 1252 </div>1253 1254 </body>1255 </html>
Note: See TracChangeset
for help on using the changeset viewer.