[ncl-talk] concatenate 2 variables

Rashed Mahmood rashidcomsis at gmail.com
Sun Feb 25 13:27:54 MST 2018


I am not if the following is what you want: try

xy = new((/2,36/),float)
xy(0,:) = x
xy(1,:) = y


Hope this helps.

Rashed



On Sun, Feb 25, 2018 at 11:38 AM, Vanúcia Schumacher <
vanucia-schumacher at hotmail.com> wrote:

> how can I create a matrix joining the output of two different variables?
> To 36 rows and 2 columns? each column being a variable from x and y:
>
> x    = new( (/36/), float )
> y    = new( (/36/), float )
>
>
>
> Thanks for any help.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180225/3f68f7c5/attachment.html>


More information about the ncl-talk mailing list