Re: Changing color of fill pattern

From: Karin Meier-Fleischer <meier-fleischer_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 28 2014 - 12:26:59 MDT

Hi soumik,

with the following resource setting examples for cnFillColors and cnFillPatterns,
you can set different colors and patterns of a contour plot.

 res@cnMonoFillPattern = False
 res@cnFillOn = True
 res@cnFillColors = (/"blue4","blue","darkgreen","green","cyan3",\
                                            "gold","orange","darkorange","red","red4",\
                                           "violet","purple","mediumorchid4","purple4"/)
 res@cnFillPatterns = (/0,1,2,3,4,5,6,7,8,17,10,11,12,16/)

Bye,
Karin

Am 28.03.2014 um 19:20 schrieb Soumik Basu <sbasu@iarc.uaf.edu>:

> Hi,
>
> Is it possible to change the color of the fill pattern?
>
> Thanks,
> Soumik
>
> --
> "Numbing the pain for a while will make it worse when you finally feel
> it.
> ~J.K. Rowling"
> *****************************************
> Soumik Basu
> Graduate Student, Research Assistant
> International Arctic Research Center
> University of Alaska Fairbanks
> Fairbanks,Alaska,USA
> *****************************************
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_________________________________
Karin Meier-Fleischer
Deutsches Klimarechenzentrum GmbH

Application Support

Visualization

Bundesstrasse 45a
D-20146 Hamburg, Germany

E-Mail:
meier-fleischer@dkrz.de

Internet:
http://www.dkrz.de/

Phone: +49 40 460094 126
Fax: +49 40 460094 270

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 28 12:27:18 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 31 2014 - 11:47:09 MDT