Re: Remove "Pressure level" label

From: Mateus Teixeira <mateus.teixeira_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 20 2009 - 21:56:13 MST

Hi Dennis,

I have tried it but without success.

I have found the "Pressure" string in other CSM function: set_pres_hgt_axes,
but not in gsn_csm_pres_hgt.

Since I saw that gsn_csm_pres_hgt called set_pres_hgt_axes, I thought
commenting the line

set_attr(res,"tiYAxisString","Pressure (mb)")

will prevent gsn_csm_pres_hgt to plot "Pressure levels" in the left axis,
but not.

The string "Pressure levels" still appears at the graphic.

I couldn't find the source of that string.

I'm using NCL 5.1.0 .

Mateus

2009/11/21 Dennis Shea <shea@ucar.edu>

> A crude approach but .....
>
> You can always extract the "gsn_csm_pres_height"
> code from "gsn_csm.ncl" to your own directory, look for:
>
> "Pressure"
>
> and
>
> "txString" : "Height (km)"
>
> Then delete the appropriate line andcreate
>
> "gsn_csm_pres_height_mateus"
>
>
> Good luck
>
> Mateus Teixeira wrote:
>
>> Dear NCL users,
>>
>> Is there a way to remove the "Pressure levels" in the left axis produced
>> in a plot generated by gsn_csm_pres_hgt?
>>
>> I have tried to apply the same method used to remove "height" label in the
>> right axis changing
>>
>> index = ind(NhlName(am_ids).eq."right_axis")
>>
>> by
>>
>> index = ind(NhlName(am_ids).eq."left_axis")
>>
>> but it doesn't work.
>>
>> I also have tried to set tiYAxisOn to False and tiYAxisString to "", but
>> any works.
>>
>>
>> Best regards,
>>
>>
>> --
>> Mateus da Silva Teixeira
>> Meteorologista
>> Instituto de Pesquisas Meteorológicas - IPMet
>> Universidade Estadual Paulista - UNESP
>> Av. Luis Edmundo Carrijo Coube, 14-01 - Cx. Postal 281 - CEP 17033-360
>> Bauru - SP - Brasil
>> Fone: +55 14 3103-6030 / fax: 3203-3649
>>
>> Registered Linux User #466740 (http://counter.li.org/)
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>

-- 
Mateus da Silva Teixeira
Meteorologista
Instituto de Pesquisas Meteorológicas - IPMet
Universidade Estadual Paulista - UNESP
Av. Luis Edmundo Carrijo Coube, 14-01 - Cx. Postal 281 - CEP 17033-360
Bauru - SP - Brasil
Fone: +55 14 3103-6030 / fax: 3203-3649
Registered Linux User #466740 (http://counter.li.org/)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 20 21:56:30 2009

This archive was generated by hypermail 2.1.8 : Mon Nov 23 2009 - 12:24:02 MST