Re: gsn_attach_plots()

From: Mary Haley (haley AT XXXXXX)
Date: Tue Oct 28 2003 - 13:48:59 MST

  • Next message: Constantine Nenkov: "Re: plotting in polar coordinates"

    > Dear all,
    > Adam Phillips and and Dennis Shea kindly answered my question.
    > I would like to share their answer.

    Dear Enomoto and others,

    The gsn_attach_plots routine was set up to attach plots that have
    data associated with them (contour, vector, streamline, etc). The map
    plots are a special case, because they don't have data, and their
    tickmarks are handled differently than they are for the other types
    of plots.

    It is on my list to have gsn_attach_plots work with map plots, but
    meanwhile, Adam found a nice work-around, and I encourage people to
    use it.


    Mary Haley haley AT
    NCAR/SCD/VETS 303-497-1254 (voice)
    1850 Table Mesa Dr 303-497-1804 (fax)
    Boulder, CO 80305

    > On 2003.10.23, at 02:12 PM, ENOMOTO Takeshi wrote:
    > >> I am trying to attach a map drawn with gsn_csm_map_ce below a
    > >> Hovmoller
    > >> (drawn with gsn_csm_contour rather than gsn_csm_hov for some reasons),
    > >> following the example, panel_10.ncl.
    > > Dennis and I have been looking at your script, and we figured out why
    > > it wasn't
    > > working. For one reason or another, the function gsn_csm_map_ce (draws
    > > a blank
    > > CE map) will not work with gsn_attach_plots.
    > >
    > > I circumvented the problem by using gsn_csm_contour_map_ce and using a
    > > dummy
    > > array. I then set the contour lines to be transparent. I set other
    > > resources to
    > > clean it up a bit, for instance vpHeightF had to be set, or the label
    > > bar went
    > > off the page. You may want a bigger CE plot attached, if so, use
    > > mres@mpShapeMode = "FreeAspect",
    > > and then also set mres@vpWidthF/mres@vpHeightF....
    > Dr. Takeshi Enomoto
    > eno AT
    > Frontier Research System for Global Change
    ncl-talk mailing list
    ncl-talk AT

    This archive was generated by hypermail 2b29 : Tue Oct 28 2003 - 13:50:06 MST