Re: overlay plot

From: Xiaoyan Ma <xiaoyan.ma_at_nyahnyahspammersnyahnyah>
Date: Mon Oct 10 2011 - 09:31:14 MDT
It works now. one minor problem ... I still got 2 plots, second one is what I want. How to make the first one not created.
thanks, xiaoyan


On 10/10/11, Mary Haley <haley@ucar.edu> wrote:

This is because you are using "RasterFill" for the second plot, which doesn't allow for transparency. When you use RasterFill, all the white areas in plot2 are actually white and not transparent, so they cover up everything in plot1.


Try using CellFill instead of RasterFill:

  res2@cnFillMode = "CellFill"


--Mary


On Oct 10, 2011, at 9:05 AM, Xiaoyan Ma wrote:

Thanks, Mary.

But this doesn't work for me. overlay.ps on ftp site is what I got. I also have upgraded my ncl version to 6.0.

What else possible wrong? thanks

xiaoyan


On 10/09/11, Mary Haley <haley@ucar.edu> wrote:

Hi,


As I stated in my previous email, simply replace the second gsn_csm_contour_map_ce call with gsn_csm_contour. I downloaded your data and script, and this change seemed to work.

--Mary

On Oct 8, 2011, at 9:00 AM, Xiaoyan Ma wrote:

Hi,

I wanted to make a overlay contour, and failed. I have transfered the below files to ftp.cgd.ucar.edu, cd /incoming

0.dat, 1.dat, overlay.ncl

NCL is Version 5.1.0
I am running on linux x86_64.

Can anybody help me? thanks!

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


Received on Mon Oct 10 09:31:16 2011

This archive was generated by hypermail 2.1.8 : Mon Oct 10 2011 - 11:43:35 MDT