From: SourceForge.net <no...@so...> - 2006-11-13 19:31:44
|
Bugs item #1590992, was opened at 2006-11-05 21:46 Message generated for change (Settings changed) made by anmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1590992&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jacob Ilsø (jacobilsoe) >Assigned to: Angel Marin (anmar) Summary: Plotting a histogram with an empty dataset Initial Comment: Hi. Attempting to use a histogram with an empty dataset (empty array of doubles in my case), causes the following exception: Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at System.Array.System.Collections.IList.get_Item (Int32 index) [0x00000] at NPlot.AdapterUtils+DataGetter_IList.Get (Int32 i) [0x00000] at NPlot.SequenceAdapter.get_Item (Int32 i) [0x00000] at NPlot.HistogramPlot.SuggestXAxis () [0x00000] at NPlot.PlotSurface2D.UpdateAxes (Boolean recalculateAll) [0x00000] at NPlot.PlotSurface2D.Add (IDrawable p, XAxisPosition xp, YAxisPosition yp, Int32 zOrder) [0x00000] at NPlot.PlotSurface2D.Add (IDrawable p, Int32 zOrder) [0x00000] at NPlot.PlotSurface2D.Add (IDrawable p) [0x00000] /Jacob ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1590992&group_id=161868 |