a better way to remove rhs height title on pressure/height plots? (fwd)

From: Bob Tomas (tomas AT cgd.ucar.edu)
Date: Fri Oct 29 2004 - 13:57:14 MDT


I have an update on this issue.

Adam Phillips suggested using assigning plot(index) to a dummy variable:

        dummy = plot(index)

and then applying the methodology below. I tried this and found that it
works *in general* but not in my more complicated case where I am overlaying
one plot (contour lines) on top of another (contour fill).

This method removes the first right hand title but not the second. Does anyone
have suggestions regarding how I might peel both rhs titles off the plot?

If not, I guess there is always white out...

Bob
-------------------------------------------------------------
Robert A. Tomas
National Center for Atmospheric Research
Climate and Global Dynamics Division - Paleoclimatology
1850 Table Mesa Drive
Boulder, CO 80305-3000
e-mail: tomas@ucar.edu tel: 303-497-1342 fax: 303-497-1348

---------- Forwarded message ----------
Date: Fri, 29 Oct 2004 10:58:12 -0600 (MDT)
From: Bob Tomas <tomas@cgd.ucar.edu>
To: ncl-talk@ucar.edu
Subject: a better way to remove rhs height title on
    pressure/height plots?

Hello,

I am making a pressure/height latitude panel plot and want to remove the
height title on the rhs of the plots. I found an example under pressure/height
time plots that has some code like:

 getvalues plot@contour
  "pmAnnoManagers" : am_ids
  end getvalues

  index = ind(NhlName(am_ids).eq."right_axis")
  if(.not.ismissing(index)) then
    NhlRemoveAnnotation(plot@contour,am_ids(index))
  end if

I get an error when I replace:

        getvalues plot@contour

with:

        getvalues plot(iplot)@contour

where iplot is the index of the plot I just drew.

Is there a better way to remove the height title?

Bob

-------------------------------------------------------------
Robert A. Tomas
National Center for Atmospheric Research
Climate and Global Dynamics Division - Paleoclimatology
1850 Table Mesa Drive
Boulder, CO 80305-3000
e-mail: tomas@ucar.edu tel: 303-497-1342 fax: 303-497-1348
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Fri Oct 29 2004 - 14:23:42 MDT