Re: contour maps

From: Dennis Shea (shea AT cgd.ucar.edu)
Date: Mon Oct 04 2004 - 09:16:43 MDT

  • Next message: alexg: "Complex EOF's"

    >I am attempting to draw a contour plot of global ozone concetrations
    >from CAM3.0, however the ozone array is dimensioned (time(12) x lat(64)
    >x lev(59) x lon(1)), and this seems to confuse gsn_contour_plot(wks,
    >OZONE(0,:,0,0), resources). How do I draw a contour plot when I do not
    >have any longitudes to work with?

    When you use OZONE(0,:,0,0), you are passing a one-dimensional
    array (level) to a contouring routine. Contouring routines
    require 2D arrays.

    Not sure what you want to plot.

       OZONE(:,:,{latitude},0) ; time x lev at some specified lat
       OZONE(:,{level},:,0) ; time x lat level
       OZONT(nt,:,:,0) ; level x lat time
       
    NCL has some graphical contouring templates. See
        http://www.cgd.ucar.edu/csm/support/
        Click Graphics
        Under "PLOT TYPES" see
               Press/Height vs. Lat
               Press/Height vs. Long
               Press/Height vs. Time
               Time vs. Longitude
               Time vs. Latitude

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



    This archive was generated by hypermail 2b29 : Mon Oct 04 2004 - 09:27:07 MDT