[ncl-talk] warning:TextItemInitialize: Cannot set x, y, width, and height

Wenshan Wang wenshanw at uci.edu
Thu Sep 4 16:08:14 MDT 2014


*Hi NCL group and users~~~*

*I get this warning recently with all my plots and have no idea what the
cause is.*

warning:TextItemInitialize: Cannot set x,y,width,and height when other text
attributes have been specified also, proceding with other text attribute
requests

*Here is a simple script that can produce this msg:*

; Written by Wang Wenshan 2014-09-04 Thursday 14:37:05
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
;*************************************************************
; warning:TextItemInitialize: Cannot set x,y,width,and height when other
text attributes have been specified also, proceding with other text
attribute requests
;************************************************************
begin
x = ispan(1,100,1)
y = 0.1*x

wks   = gsn_open_wks ("x11","xy")                ; open workstation

res                  = True                     ; plot mods desired
;res at tiMainString     = "Basic XY plot"          ; add title
;res at gsnLeftString  = "left"
res at gsnRightString = "right"

plot  = gsn_csm_xy (wks,x,y,res) ; create plot

print("done!")
end

*NCL version: 6.2.0*
*System: Linux grele 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux*

*Thank you very much!*

*BTW, there is a 404 Not Found Error when I tried to download NCL 6.2.1
from earthsystemgrid.*

404 Not Found

The following file was not found:

ncl_ncarg-6.2.1.Linux_Debian6.0_i686_nodap_gcc445.tar.gz
If this file was part of a Archive Storage request, the file might have
been removed from our cache. Please consider resubmitting your Archive
Storage request.



Best,
Wenshan
------------------------------------------------------------------------------
Graduate Student Researcher
Earth System Science
University of California, Irvine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140904/446f7f64/attachment.html 


More information about the ncl-talk mailing list