Re: gsn_csm_xy doesn't honor linecolor and linethickness resources?

From: Christian Pagé (page AT XXXXXX)
Date: Wed Jun 05 2002 - 12:38:34 MDT


Hi,

I do put a whole lot of other resources:

               res_meteog = True
               res_meteog@gsnFrame = False
               res_meteog@vpHeightF = plot_height
               res_meteog@vpWidthF = 0.85
               res_meteog@vpXF = 0.07
               res_meteog@vpYF = plot_y
               res_meteog@tmXBLabelFontHeightF = 0.012
              res_meteog@tmYLLabelFontHeightF = 0.012
               res_meteog@tiMainString = TextStr
               res_meteog@tiMainFontHeightF = 0.015
                   res_meteog@xyLineColor = linecolor
                  res_meteog@xyMonoLineThickness = True
                  res_meteog@xyLineThicknessF = epaissc

                 plot1 = gsn_csm_xy(wks,buffer_step,vect,res_meteog)

So, any value of linecolor and epaissc ends in a B&W plot.

Thanks,

Christian Page
page@sca.uqam.ca
http://meteocentre.com/ http://meteoalerte.com/

Agent de recherche et de planif. +1 514 987 3000 ext. 2376
Departement des Sci. de la Terre et de l'Atmosphere UQAM

On Mercredi, juin 5, 2002, at 02:16 , Dennis Shea wrote:

> You may have to include a bit more information.
>
> Look at:
> http://ngwww.ucar.edu/ngdoc/ng/ug/ncl/gsun/examples/gsun01n.html
>
> and
> http://www.cgd.ucar.edu/csm/support/CSM_Graphics/line.shtml
> example 4
>
> (1) When u make the call: plot = gsn_csm_xy (wks,x,y,res)
> Is "res" set to True
>
> (2) the resources listed below only set one color, thickness.
>
> Let me know if these do not answer your question.
>
> Dennis Shea
>> Date: Wed, 5 Jun 2002 13:32:59 -0400
>> Mime-Version: 1.0 (Apple Message framework v482)
>>>
>> I try to use gsn_csm_xy and set line colors and thicknesses using:
>>
>> xyLineColor
>> xyMonoLineThickness
>> xyLineThicknessF
>>
>> But it is always B&W. How can I do this?
>>
>> Thanks a lot in advance,
>
>

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Wed Jun 05 2002 - 13:41:12 MDT