[ncl-talk] Cropping a vertical cross-section plot

Guido Cioni guidocioni at gmail.com
Fri Feb 2 05:11:08 MST 2018


Hey,
have you tried coordinate subscripting? (https://www.ncl.ucar.edu/Document/Language/subscript_coord.shtml <https://www.ncl.ucar.edu/Document/Language/subscript_coord.shtml>)

tc(:,{700,1000},:,:)

Also have you tried to use the special function to plot cross-sections? https://www.ncl.ucar.edu/Applications/height_lat.shtml <https://www.ncl.ucar.edu/Applications/height_lat.shtml> 


> On 2. Feb 2018, at 12:50, Ty Buckingham via ncl-talk <ncl-talk at ucar.edu> wrote:
> 
> Hi there,
> 
> I'm plotting a vertical cross-section through one of my WRF domains using the wrf_user_wrfintrp3d function. Whilst I can easily select a lat-lon section by allocating a plane, I am struggling in doing the same in the vertical. My current plot plots from the surface to ~50hPa, and ideally I'd only like from the surface to ~700hPa. 
> 
> The script has been attached.
> 
> Thanks in advance,
> Ty
> <vertical_slice.ncl>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>

Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180202/47974046/attachment.html>


More information about the ncl-talk mailing list