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"--MaryOn 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.--MaryOn 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
This archive was generated by hypermail 2.1.8 : Mon Oct 10 2011 - 11:43:35 MDT