Page 1 of 1

Curve display order 2

Posted: Sat May 14, 2011 11:09 am
by Roberto
Hi,

Currently the legend shows the list of curves like last curve added shows up in the bottom of the legend WHILE the new curve is drawn on top of the other curves in the plot space.

The first behavior makes sense: usually one starts with the main curve, followed by adding other curves and/or helper gadgets (reference lines, curve fills, etc.)

The second behavior might be considered as counter intutive: new curves drawn on top on its own makes sense but the order contradicts the order in the Legend. And more important, new lines are drawn over the main curve(s) so readability of main curve values gets corrupted. Also finishing touches like helper lines/curves, fills, etc. drawn over the main curves looks distracting.

Feature request: when adding curves or other graphic objects the new lines at default better be drawn below the existing curves (and added in the bottom of the legend like they do now). In short: items in top of the legend are drawn over the curves below.

If necessary people always can change orders afterwards but in my opinion the requested behavior taken as "default" offers generally more advantage over the current behavior.

Exclusion: text objects should always show up on top, of course, for the sake of readability.

Currently we can move up and down curves but when I want main curves be drawn on top then they appear in the bottom of the Legend. In my opinion the most important ones should be on top of the legend. The lower, the more redundant.

Cheers,
Roberto

Posted: Sat May 14, 2011 7:13 pm
by DPlotAdmin
Though I understand what you want, I mostly disagree on what should be the default. But that doesn't mean there shouldn't be a new command to specify drawing order. I'll have to think about this some, as it is bound to cause some confusion.

It may be better to allow changing the legend order instead of changing the drawing order of the curves.