<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Mary, <br>
Well that's the thing - I want other values than the real ones, I d
want to put another array than the real one - replace the values
with some that I specify. <br>
Ioana <br>
<br>
<div class="moz-cite-prefix">On 12/11/15 17:17, Mary Haley wrote:<br>
</div>
<blockquote
cite="mid:CACNN_C+GD-cJdTXHYkWMucH8aQdHtu5aa8XLE5+KusoTZ9BvLg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">When you set
XBValues, these have to match the actual values on your X
axis. </div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Your X axis
values are log(spec17@frq), but you are specifying spec17@frq
as X axis values.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Try:</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"><span
style="font-size:12.8px">res@tmXBValues = log(spec17@frq)</span><br>
</div>
<div class="gmail_default" style="font-size:small"><span
style="font-size:12.8px"><br>
</span></div>
<div class="gmail_default" style="font-size:small"><span
style="font-size:12.8px">--Mary</span></div>
<div class="gmail_default" style="font-size:small"><span
style="font-size:12.8px"><br>
</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Nov 12, 2015 at 9:43 AM, Ioana
Colfescu <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ioana.colfescu@ed.ac.uk" target="_blank">ioana.colfescu@ed.ac.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I'm trying to make a plot and put on the x axis my own
labels ( which are different from the original ones).<br>
For some reason I don't get any labeling and if I get the
labeling I don't get the plot ( the original values are
negative while I want to put positive values on the axis).<br>
This is my code with some random values I try to give but
doesn't work with this either. Could someone tell me what I
do wrong ? ( the plot I get is attached and I'd need the
values I want on the x axis).<br>
<br>
res = True<br>
res@txFontHeightF = 0.04<br>
res@gsnDraw = False<br>
res@gsnFrame = False<br>
res@tmXBOn = True<br>
res@tmXBLabelsOn = True<br>
res@tmXBMode = "Explicit"<br>
res@tmXBValues = spec17@frq<br>
res@tmXBLabels = fspan(0,0.5,0.1)<br>
bot_plot(0) = gsn_csm_xy(wks,log(spec17@frq),splt17,res)<br>
<br>
<br>
Thanks,<br>
Ioana<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
The University of Edinburgh is a charitable body,
registered in<br>
Scotland, with registration number SC005336.<br>
<br>
</font></span><br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a moz-do-not-send="true" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>