Re: Label bar

From: Michael Notaro <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Fri, 31 Oct 2008 11:25:56 -0500

Check out example 5 at:
http://www.ncl.ucar.edu/Applications/labelbar.shtml
You can change res_at_pmLabelBarWidthF and res_at_pmLabelBarHeightF

Mike

On Oct 31, 2008, at 11:22 AM, Lin Su wrote:

> Dear all,
> I had figured out this problem:) (I should put the *rgb file in the
> ****/colormaps directory)
> Also, can I make the vertical label bar slimmer? Just try to make
> more similar with the figure I plan to cite in my JGR paper:)
>
> Thank you so much!
> -Lin
> ---
> Lin Su
> http://atoc.colorado.edu/~sul/
>
>
> ---- Original message ----
>> Date: Fri, 31 Oct 2008 09:31:59 -0600 (MDT)
>> From: Lin Su <sul_at_Colorado.EDU>
>> Subject: Re: Label bar
>> To: Dennis Shea <shea_at_ucar.edu>
>> Cc: Debasish Pai Mazumder <debasish_at_gi.alaska.edu>,ncl-talk_at_ucar.edu
>>
>> Hi Dennis,
>> Great! I just created my own color table based on the RGB, and
>> saved as .ps or .pdf file (such as colortblSu.ps or
>> colortblSu.pdf). More question comes out: how to use my own color
>> table in my NCL script? I will send my color table to you in a
>> separate email because it's over 100k. I am thinking I can't use
>> gsn_define_colormap for this case. I am glad I didn't give this up!
>>
>> Thanks a lot,
>> -Lin
>> ---
>> Lin Su
>> http://atoc.colorado.edu/~sul/
>>
>>
>> ---- Original message ----
>>> Date: Fri, 31 Oct 2008 07:35:23 -0600
>>> From: Dennis Shea <shea_at_ucar.edu>
>>> Subject: Re: Label bar
>>> To: Lin Su <Lin.Su_at_colorado.edu>
>>> Cc: Debasish Pai Mazumder <debasish_at_gi.alaska.edu>,ncl-talk_at_ucar.edu
>>>
>>> The place to look is the Applications page:
>>>
>>> http://www.ncl.ucar.edu/Applications/color.shtml
>>>
>>> There are numerous examples.
>>>
>>> If you wish to set your own RGB triplets ... Example 10
>>>
>>> If you wish to extract specific colors from and existing
>>> color map .... Example 7
>>>
>>> Good luck
>>>
>>>
>>> Lin Su wrote:
>>>> Hello, Dennis and Debasish,
>>>> Thanks a lot for your helpful suggestions:)
>>>> Attached please find the label bar I made. The problem for now
>>>> is there is no similar color tables as the original label bar I
>>>> sent yesterday(I am trying to compare my model results to
>>>> others, so I better set the same/similar label bars). Can I
>>>> define it manually? Any suggestions?
>>>>
>>>> Thanks a bunch,
>>>> -Lin
>>>> ---
>>>> Lin Su
>>>> http://atoc.colorado.edu/~sul/
>>>>
>>>>
>>>> ---- Original message ----
>>>>> Date: Fri, 31 Oct 2008 06:10:51 -0600
>>>>> From: Dennis Shea <shea_at_ucar.edu>
>>>>> Subject: Re: Label bar
>>>>> To: Debasish Pai Mazumder <debasish_at_gi.alaska.edu>
>>>>> Cc: "'Lin Su'" <Lin.Su_at_Colorado.EDU>,ncl-talk_at_ucar.edu
>>>>>
>>>>> Also ....
>>>>>
>>>>> You can also tell NCL to no plot the outer boxes
>>>>>
>>>>> res_at_cnLevelSelectionMode = "ManualLevels"; set manual contour
>>>>> levels
>>>>> res_at_cnMinLevelValF = 0.0 ; set min contour level
>>>>> res_at_cnMaxLevelValF = 1000. ; set max contour level
>>>>> res_at_cnLevelSpacingF = 0.1 ; set contour spacing
>>>>>
>>>>> res1_at_cnLabelBarEndLabelsOn= True
>>>>> res1_at_cnLabelBarEndStyle = "ExcludeOuterBoxes"
>>>>>
>>>>> res_at_lbOrientation = "Vertical" ; vertical label bar
>>>>>
>>>>> res_at_lbTitlePosition = "Top"
>>>>> res_at_lbTitleString = "..."
>>>>>
>>>>>
>>>>> See the label bar examples
>>>>> http://www.ncl.ucar.edu/Applications/labelbar.shtml
>>>>>
>>>>> Debasish Pai Mazumder wrote:
>>>>>> Dear Lin,
>>>>>>
>>>>>> Please set
>>>>>>
>>>>>> res_at_lbBoxLinesOn = False ; turn off box
>>>>>> between colors
>>>>>>
>>>>>> Also check the example sat_3.ncl in webpage
>>>>>> http://www.ncl.ucar.edu/Applications/satel.shtml
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Debasish
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: ncl-talk-bounces_at_ucar.edu [mailto:ncl-talk-
>>>>>> bounces_at_ucar.edu] On Behalf
>>>>>> Of Lin Su
>>>>>> Sent: Thursday, October 30, 2008 8:42 PM
>>>>>> To: ncl-talk_at_ucar.edu
>>>>>> Subject: Label bar
>>>>>>
>>>>>> Dear NCL Users,
>>>>>>
>>>>>> Does anyone have experience to make the attached label bar
>>>>>> using NCL?
>>>>>>
>>>>>> Best regards,
>>>>>> -Lin
>>>>>> ---
>>>>>> Lin Su
>>>>>> http://atoc.colorado.edu/~sul/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> ncl-talk mailing list
>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 31 2008 - 10:25:56 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 31 2008 - 15:58:35 MDT