<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Kunal,<br>
<br>
the problem is that your data contains a time dimension with units
"day". If you set<br>
the time units like "days since 2012-01-01T00:00:00Z" which is the
TDim startValue<br>
attribute in your file, it will plot from Jan 01 to Mar 31.<br>
<br>
So insert the following line after TDim = f->TDim<br>
<br>
<tt> TDim = f->TDim ; this is our x</tt><br>
<font color="#ff0000"><tt> TDim@units = "days since " +
TDim@startValue</tt></font><tt><br>
</tt><tt> nTDim = dimsizes(TDim)<br>
<br>
</tt>Bye,<br>
Karin<br>
<br>
<div class="moz-cite-prefix">Am 27.10.14 23:03, schrieb Kunal Bali:<br>
</div>
<blockquote
cite="mid:CAOiHCtTHxf2wsEmbiOAOj=W4_vkQbs=zACuB9f0zE6DUTtdN1A@mail.gmail.com"
type="cite">
<div dir="ltr">please find attachment ??<br>
<br>
<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div>Kunal Bali<br>
</div>
<div>Research Scholar <br>
</div>
<div>Radio & Atmospheric Science Division <br>
</div>
<div>CSIR - National Physical Laboratory<br>
</div>
<div>New Delhi - 110012<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font
color="#1F497D"><br>
</font></p>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Oct 28, 2014 at 7:59 AM, Karin
Meier-Fleischer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi Kunal,<br>
<br>
without knowing your data it's nearly not possible to say
what's maybe going wrong.<br>
Can you provide the <a moz-do-not-send="true"
href="http://cloud.nc" target="_blank">cloud.nc</a> file
if it is not too large.<br>
<br>
Bye,<br>
Karin<br>
<br>
<div>Am 27.10.14 06:50, schrieb Kunal Bali:<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Dear NCL users<br>
<br>
</div>
I run the attached script file and result
giving from Jan 01 to Apr 01 with 5 days
intervals. But I want to label x axis from
Jan 01 to 31 Mar ??<br>
<br>
</div>
As i tried to adjust the intervals values but
it didn't work properly. I am not getting the
same interval values for 3 months. <br>
<br>
</div>
please tell me about this <br>
<br>
</div>
Thank You<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div>Kunal Bali<br>
</div>
<div>Research Scholar <br>
</div>
<div>Radio & Atmospheric Science Division
<br>
</div>
<div>CSIR - National Physical Laboratory<br>
</div>
<div>New Delhi - 110012<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font
color="#1F497D"><br>
</font></p>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Oct 27, 2014 at
6:22 AM, Alan Brammer <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:abrammer@albany.edu"
target="_blank">abrammer@albany.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>Forgot ncl-talk. <br>
</div>
<div><br>
</div>
<div><br>
</div>
<a moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/tm.shtml#tmXBMinorOn"
target="_blank">https://www.ncl.ucar.edu/Document/Graphics/Resources/tm.shtml#tmXBMinorOn</a>
<div><br>
</div>
<div>Please try to search your queries it'll
save you 24+ hours and the rest of us 60
seconds doing it for you. <br>
</div>
<div><br>
</div>
<div> Good luck. </div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Oct 25,
2014 at 4:10 AM, Kunal Bali <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:kunal.bali9@gmail.com"
target="_blank">kunal.bali9@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Dear NCL users<br>
<br>
</div>
How to create the minor tick
mark. <br>
<br>
</div>
I am using the scripts given below<br>
<br>
<br>
;****************************************************<br>
load
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
<br>
load
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
<br>
load
"$NCARG_ROOT/lib/ncarg/nclscripts/contrib/time_axis_labels.ncl"
<br>
;****************************************************<br>
begin<br>
;***************************<br>
; read in data<br>
;***************************<br>
f = addfile
("/home/kunal/Pictures/NCL_Scripts/plot/<a
moz-do-not-send="true"
href="http://cloud.nc"
target="_blank">cloud.nc</a>" ,
"r")<br>
t =
f->Cloud_Optical_Thickness_Combined_QA_Mean
<br>
<br>
TDim = f->TDim ;
this is our x<br>
nTDim = dimsizes(TDim)<br>
<br>
<br>
wks_type =
"pdf" <br>
wks_type@wkPaperSize = "A4"<br>
wks =
gsn_open_wks(wks_type,"cloud3")<br>
<br>
<br>
; resources for "left" variable<br>
res =
True <br>
res@xyLineThicknesses =
2.5 ; thicker line<br>
res@xyLineColor = "Blue"<br>
res@trXMinF = 1 ; set minimum
X-axis value <br>
res@trXMaxF = 91 ; set maximum
X-axis value <br>
<br>
res@tmXBMode =
"Manual"<br>
res@tmXBMode = "Explicit" <br>
res@tmXBValues = ispan(1,91,10)<br>
res@tmXBLabels = res@tmXBValues
<br>
res@tmXBMinorLengthF = 0.01<br>
<br>
<br>
<br>
res@tiMainString =
"Cloud_Optical_Thickness" <br>
plot =
gsn_csm_xy(wks,TDim,t,res)<br>
<br>
end<br>
<br>
</div>
<div class="gmail_extra"><span><br
clear="all">
<div>
<div dir="ltr">
<div>Kunal Bali<br>
</div>
<div>Research Scholar <br>
</div>
<div>Radio & Atmospheric
Science Division <br>
</div>
<div>CSIR - National
Physical Laboratory<br>
</div>
<div>New Delhi - 110012<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font
color="#1F497D"><br>
</font></p>
</div>
</div>
</div>
<br>
</span>
<div>
<div>
<div class="gmail_quote">On
Sat, Oct 25, 2014 at 12:21
AM, Maria Gehne - NOAA
Affiliate <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:maria.gehne@noaa.gov"
target="_blank">maria.gehne@noaa.gov</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">You need to
be more specific with
your questions! Did you
read the link in the
previous response you
got? What exactly do you
not understand from the
documentation of the
function? There are even
more examples on how to
deal with time axis
labels here:
<div><a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Applications/time_labels.shtml"
target="_blank">https://www.ncl.ucar.edu/Applications/time_labels.shtml</a><br>
<div><br>
</div>
<div>Replies to
ncl-talk only
please.</div>
<span><font
color="#888888">
<div><br>
</div>
<div>Maria</div>
</font></span></div>
</div>
<div>
<div>
<div
class="gmail_extra"><br>
<div
class="gmail_quote">On
Fri, Oct 24, 2014
at 12:03 PM, Kunal
Bali <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:kunal.bali9@gmail.com"
target="_blank">kunal.bali9@gmail.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">I
am not getting
how to do it
??<br>
</div>
<div
class="gmail_extra"><span><br
clear="all">
<div>
<div dir="ltr">
<div>Kunal
Bali<br>
</div>
<div>Research
Scholar <br>
</div>
<div>Radio
&
Atmospheric
Science
Division <br>
</div>
<div>CSIR -
National
Physical
Laboratory<br>
</div>
<div>New Delhi
- 110012<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font
color="#1F497D"><br>
</font></p>
</div>
</div>
</div>
<br>
</span>
<div>
<div>
<div
class="gmail_quote">On
Fri, Oct 24,
2014 at 7:10
PM, Kyle
Griffin <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">Please
search for
similar issues
before posting
to the list -
this has been
addressed many
times before.
You'll need to
make sure that
your time
variable has a
unit,
something like
"days since
2000-01-01
00:00:00.0" -
the year can
be whatever
you want as it
won't be
plotted if you
set your
strings to be
just "%d %c"
(giving you 1
Jan, 31 Mar)
<div><br>
</div>
<div><a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml"
target="_blank">https://www.ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Kyle</div>
</div>
<div
class="gmail_extra"><br
clear="all">
<div>
<div dir="ltr">----------------------------------------
<div>Kyle S.
Griffin</div>
<div>Department
of Atmospheric
and Oceanic
Sciences</div>
<div>University
of Wisconsin -
Madison</div>
<div>Room 1421</div>
<div>1225 W
Dayton St,
Madison, WI
53706</div>
<div>Email: <a
moz-do-not-send="true" href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div>
</div>
</div>
<br>
<div
class="gmail_quote">
<div>
<div>On Fri,
Oct 24, 2014
at 8:33 AM,
Kunal Bali <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:kunal.bali9@gmail.com"
target="_blank">kunal.bali9@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">
<div>
<div>Dear NCL
users<br>
<br>
</div>
I am running
the attached
CLOUD.ncl
scripts. Its
giving the
result plot
but i am not
getting the
days name in x
axis as i need
to get the x
axis names
from 1jan to
31 march. Its
giving only
numbers. So
please tell me
how label the
x axis <br>
<br>
<br>
</div>
Thank You<span><font
color="#888888"><br>
<br>
<br
clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div dir="ltr">
<div>Kunal
Bali<br>
</div>
<div>Research
Scholar <br>
</div>
<div>Radio
&
Atmospheric
Science
Division <br>
</div>
<div>CSIR -
National
Physical
Laboratory<br>
</div>
<div>New Delhi
- 110012<br>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font
color="#1F497D"><br>
</font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
<br>
</div>
</div>
_______________________________________________<br>
ncl-talk
mailing list<br>
List
instructions,
subscriber
options,
unsubscribe:<br>
<a
moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
ncl-talk mailing
list<br>
List
instructions,
subscriber
options,
unsubscribe:<br>
<a
moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber
options, unsubscribe:<br>
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<a moz-do-not-send="true" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dipl. Geophys. Karin Meier-Fleischer
Visualization
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>
URL: <a class="moz-txt-link-abbreviated" href="http://www.dkrz.de">www.dkrz.de</a>
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
</body>
</html>