Merge two arrays

From: <Oliver.Fuhrer_at_nyahnyahspammersnyahnyah>
Date: Thu, 4 Jun 2009 16:58:41 +0200

Hi all!

Is there any simple way to merge two arrays into one? Simple example...

colors = (/"OrangeRed","Olivedrab1"/)
stdcols = (/"white","black"/)

;... cmap = merge(stdcolors,colors)

gsn_define_colormap(wks,cmap)

Cheers,
Oli
 
________________________________________

Oliver Fuhrer
Numerical Models

Federal Departement of Home Affairs FDHA
Federal Office of Meteorology and Climatology MeteoSwiss

Kraehbuehlstrasse 58, P.O. Box 514, CH-8044 Zurich, Switzerland

Tel. +41 44 256 93 59
Fax +41 44 256 92 78
oliver.fuhrer_at_meteoswiss.ch
www.meteoswiss.ch - First-hand information
  
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 04 2009 - 08:58:41 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 08 2009 - 09:30:31 MDT