|
From: Ryan M. <rm...@gm...> - 2008-12-02 18:12:05
|
On Tue, Dec 2, 2008 at 11:27 AM, Nils Wagner <nw...@ia...>wrote: > Thank you very much ! > It would be nice to have that information in the docstring > Done. > The next inquiry is related to xticks. > I have added > > xticks(linspace(0,2*pi,24,endpoint=False)) > > The difference between consecutive xticks is varying between 14 and 16 > degrees. > > For what reason ? Looks like roundoff error. For instance: linspace(0, 2*pi, 24)[7] * 180. / pi 104.999999999999 If you format that with '%d', it becomes 104, not 105. Is there an accepted way of doing this rounding in matplotlib that doesn't round in odd cases? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |