پشتیبانی

set ccolor
loading...

free grads

set ccolor This command sets the color of the plotted contours. Syntax set ccolor rainbow | revrain set ccolor color# If ccolor&nb

set ccolor

admin بازدید : 684 شنبه 20 دی 1393 نظرات (0)

set ccolor

This command sets the color of the plotted contours.

Syntax

    set ccolor rainbow | revrain
    set ccolor color#

If ccolor is set to rainbow or revrain, then grads will use the default rainbow sequence to assign colors to individual contours, resulting in a pleasing color palette that spans the range of the plotted values. The rainbow option starts with purple for the minimum contour level and ends with red for the maximum contour level. The revrain option goes the other way, starting with red and ending with purple.

To draw all contours with the same color, use the second option, where color# may be one of the 16 GrADS default colors or the number of a user-defined color created with set rgb.


Usage Notes

  1. set ccolor is reset by entering clear or display.


  2. The color sequence for the default rainbow palette is: 9 14 4 11 5 13 3 10 7 12 8 2 6 (or the reverse order for the revrain option.) These colors may be overridden with theset rbcols command.


  3. If the number of colors in the rainbow palette is smaller than the number of contour levels, then some contour colors will be repeated -- i.e. not every contour color will be unique. Likewise, if the number of colors in the rainbow palette is larger than the number of contour levels, then some colors will be omitted.


  4. When overlaying contour plots, grads will automatically change the color of the contours for each successive plot in order to distinguish between different variables. The default order is: rainbow, foreground, 3 (green), 7 (yellow), 2 (red), 6 (magenta), 9 (purple), ....
برچسب ها color ,
ارسال نظر برای این مطلب

کد امنیتی رفرش
اطلاعات کاربری
  • فراموشی رمز عبور؟
  • آمار سایت
  • کل مطالب : 160
  • کل نظرات : 0
  • افراد آنلاین : 1
  • تعداد اعضا : 4
  • آی پی امروز : 25
  • آی پی دیروز : 64
  • بازدید امروز : 39
  • باردید دیروز : 115
  • گوگل امروز : 0
  • گوگل دیروز : 0
  • بازدید هفته : 39
  • بازدید ماه : 2,925
  • بازدید سال : 21,106
  • بازدید کلی : 257,716
  • کدهای اختصاصی