Re: changing the backgournd color of an yx plot/histogramm ...

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 28 2013 - 09:58:51 MDT

Hi Kristina,
One can change the background of a workstation by setting wkBackgroundColor:

See examples here:

However, if you only wish to set the background of specific plots in a
panel plot, then the best thing I can think of would be to use
gsn_add_polygon to draw a black polygon. You will also likely want to
specify the draw order of the polygon by specifying tfPolyDrawOrder =

There might be a more elegant solution that I don't know of, but
hopefully that all helps. If not, please respond to ncl-talk.

On 06/28/2013 09:37 AM, Kristina Fröhlich wrote:
> Hi,
> I am searching für an attribute which allows to change the default
> white background of any xyplots/histograms or barcharts.
> My idea is to give a special background colour for instance using the
> example histo_10.ncl , if one of the 3 data set reaches a special
> threshold. I think this method makes sense if one would imagine a busy
> panel plot of such histograms where e.g. the regions of the earth are
> investigated using the 3 datasets.
> Is there already something available? my search in the ressources for
> "background" was not successful ...
> best regards, Kristina
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

Adam Phillips                      
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Jun 28 09:59:04 2013

This archive was generated by hypermail 2.1.8 : Mon Jul 01 2013 - 12:35:42 MDT