Hi,
Thanks for sending the full script. I think if you add:
res_at_xyComputeYMin = True
the problem should go away. I think you're right that this is
a bug, but I need to get confirmation from Dave Brown.
--Mary
On Mon, 19 Jan 2009, [ISO-8859-1] "Álvaro M. Valdebenito B." wrote:
> Hi everyone,
>
> while testing a ncl script for scatter plots,
> I found a bug-ish behaviour on gsn_csm_xy.
>
> When I changed the xyXStyle and xyYStyle
> resources from "Linear" to "Log",
> 4 straight lines disappeared from the plot.
>
> I thing that the reason for this
> is that the extremes of the lines are a bit outside of the
> window on "Log" style, and then the lines are not plotted.
>
> I have found a solution to my problem,
> but I think that this behaviour may be a bug.
>
> To see the solution, look on the attached script for:
> datax(1,0:1) = (/dmin,dmax/) ; lines disappear on "Log" plots
> ; datax(1,:) = fspan(dmin,dmax,npts); incomplete lines on "Log" plots
> ; datax(1,:) = dmin*(dmax/dmin)^fspan(0,1,npts); SOLUTION
>
> Sincerely,
> Álvaro.
>
> --
> Álvaro M. Valdebenito B. alvaro.valdebenito_at_met.no
> Air Pollution Section/Research Department Tel. +47-2296 3397
> Norwegian Meteorological Institute http:\\www.met.no
> P.O. Box 43 Blindern, 0313 Oslo, NORWAY http:\\www.emep.int/CWF
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 20 2009 - 09:13:35 MST
This archive was generated by hypermail 2.2.0 : Wed Jan 21 2009 - 13:09:21 MST