From: SourceForge.net <no...@so...> - 2007-02-28 21:32:01
|
Bugs item #1671259, was opened at 2007-02-28 21:32 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None Priority: 5 Private: No Submitted By: randalx (randalx) Assigned to: Nobody/Anonymous (nobody) 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]; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1671259&group_id=161868 |