From: SourceForge.net <no...@so...> - 2007-03-28 23:29:18
|
Bugs item #1671259, was opened at 2007-02-28 16:32 Message generated for change (Comment added) made by jamcquay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1671259&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: randalx (randalx) Assigned to: Jamie McQuay (jamcquay) Summary: Removing Plot does not Update Axes accurately Initial Comment: When removing Plots I noticed that the Axis were not being recalculated properly. The problem occurs because "position" is used instead of "i" in the UpdateAxes function. The problem occurs in: PlotSurface2D.cs private void UpdateAxes( bool recalculateAll ) It should be the following: -------------------------------------------------- private void UpdateAxes( bool recalculateAll ) ... for (int i = position; i < drawables_.Count; ++i) { // only update axes if this drawable is an IPlot. if (!(drawables_[i] is IPlot)) continue; IPlot p = (IPlot)drawables_[i]; XAxisPosition xap = (XAxisPosition)xAxisPositions_[i]; YAxisPosition yap = (YAxisPosition)yAxisPositions_[i]; ---------------------------------------------------------------------- >Comment By: Jamie McQuay (jamcquay) Date: 2007-03-28 19:29 Message: Logged In: YES user_id=613279 Originator: NO Fixed for version 0.9.10.1 ---------------------------------------------------------------------- Comment By: Jamie McQuay (jamcquay) Date: 2007-03-10 09:16 Message: Logged In: YES user_id=613279 Originator: NO thank you for your bug fix. I will look it over and make the appropriate changes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1671259&group_id=161868 |