From: SourceForge.net <no...@so...> - 2006-11-14 23:08:34
|
Bugs item #1590992, was opened at 2006-11-05 21:46 Message generated for change (Comment added) 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: Closed 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 ---------------------------------------------------------------------- >Comment By: Angel Marin (anmar) Date: 2006-11-15 00:08 Message: Logged In: YES user_id=627967 Originator: NO Sorry, the GTK# part has not been merged yet so it's not part of nightlies nor regular releases. Anyway, last release (made a few hour ago) has the fix too, so you can avoid the nightly :) ---------------------------------------------------------------------- Comment By: Jacob Ilsø (jacobilsoe) Date: 2006-11-14 22:44 Message: Logged In: YES user_id=1430979 Originator: YES Thanks! Will have a look. Does the nightly build contain a Gtk# version as well? ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2006-11-13 22:41 Message: Logged In: YES user_id=627967 Fixed in r11. It'll be in tomorrows nightly (http://nplot.sourceforge.net/nightly/) if you want to give it a try. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1590992&group_id=161868 |