Re: X-11 plots

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu May 01 2014 - 09:54:28 MDT

On Apr 30, 2014, at 12:48 PM, Ipshita Majhi <ipmajhi@alaska.edu> wrote:

> Hi,
>
> I feel my x-11 plots have white background instead of black that is why the axis doesn't show up. How to resolve this issue.
>
> Thank You
> Ipshita

Ipshita,

By default, NCL plots have a white background and a black foreground, and all lines, axis backgrounds, contour lines, text, markers, etc, are black by default, unless you specfically set a resource like “tmBorderLineColor” to white.

So, you have two possible solutions: don’t use white as a color for these type of plot elements, or, if you really want a black background and a white background, then you can change this when you call gsn_open_wks:

  type = “x11"
  type@wkBackgroundColor = "black"
  type@wkForegroundColor = "white"
  wks = gsn_open_wks(type,”example”)

—Mary

> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu May 1 09:54:37 2014

This archive was generated by hypermail 2.1.8 : Tue May 20 2014 - 10:19:31 MDT