Hello,
I have a six panel plot that has two color scales: three with BlGrYeOrReVi200 and three with BlWhRe. Two generate the plot, I use two plot variables (plot1 and plot2) and gsn_panel_return twice:
plot1 = new(6,graphic)
plot2 = new(6,graphic)
wks = gsn_open_wks("pdf",fname)
…
plot1(0) = gsn_csm_contour_map(wks,v0,res0)
plot1(1) = gsn_csm_contour_map(wks,v1,res1)
plot1(2) = gsn_csm_contour_map(wks,v2,res2)
plot2(3) = gsn_csm_contour_map(wks,v21,res21)
plot2(4) = gsn_csm_contour_map(wks,v10,res10)
plot2(5) = gsn_csm_contour_map(wks,v20,res20)
panelid1 = gsn_panel_return(wks,plot1,(/2,3/),resp)
panelid2 = gsn_panel_return(wks,plot2,(/2,3/),resp)
With X11 and PNG output everything works as desired. With PS and PDF, I receive the following error:
fatal:Could not determine type class. Incorrect BasicType requested by builtin function
fatal:Illegal right-hand side type for assignment
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 2720 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 3110 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 7042 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 499 in file ncl_plotFluxMaxLwn.ncl
Line 499 is: panelid2 = gsn_panel_return(wks,plot2,(/2,3/),resp).
Any suggestions on how to fix the problem?
Thanks,
Jeremy
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 23 12:00:37 2014
This archive was generated by hypermail 2.1.8 : Tue Apr 29 2014 - 09:04:20 MDT