Re: error using gsnPanelLabelBar

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 02 2013 - 13:09:28 MDT

Xi,

How is "plot" created, and what version of NCL do you have?

In order to create a labelbar, your plots must either be contour plots or vector plots.
You can't generate a panel labelbar from XY plots.

--Mary

On Oct 2, 2013, at 6:51 AM, Xi Chang <xi.chang01@gmail.com> wrote:

> Hallo NCL folks,
>
> I got this following errors once I want to show the panel label bar from "overlay panel plots"
>
> warning:cnInfoLabelFontHeightF is not a valid resource in zonmean_irregular at this time
> warning:NhlGetValues:Error retrieving cnInfoLabelFontHeightF
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 6418 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 7108 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 166 in file comb_plot.ncl
>
> what was wrong with my codes:
>
> resP = True ; panel only resources
> resP@gsnMaximize = True ; maximize plots
> resP@gsnPanelYWhiteSpacePercent = 5
> resP@gsnPanelXWhiteSpacePercent = 5
> resP@gsnPanelLabelBar = True ; add common colorbar
> gsn_panel(wks,plot,(/2,3/),resP) ; now draw as one plot
>
> once I remove resP@gsnPanelLabelBar = True , I did not get those errors.
> Thanks for your concern,
>
> Xi.
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 2 13:09:43 2013

This archive was generated by hypermail 2.1.8 : Fri Oct 04 2013 - 16:45:17 MDT