Why does edit>sort not work for me?

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
scooter
Posts: 2
Joined: Sat Jul 11, 2009 5:40 pm

Why does edit>sort not work for me?

Post by scooter »

I cannot get edit>sort to work. (Note that I have only been using DPlot for one day.)

Dropping the following sample data on DPlot does give me a curve, and I can work with it using most program options:

0 148
1 125
2 126
3 141
4 191
5 178
6 173

But clicking "sort" does not change the data order. Why? Thanks.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Because it's already sorted in increasing X order. Not sure what you want to do here; if you'd give a bit more info it might be that you can do it in some other way.
Visualize Your Data
support@dplot.com
scooter
Posts: 2
Joined: Sat Jul 11, 2009 5:40 pm

Post by scooter »

It is obvious to me now that I read the "sort" definition. The sort function operates on XY data pairs, not just the Y value. What I wanted was sorted Y values, altering the pairings, like this:

0 125
1 126
2 141
3 148
4 173
5 178
6 191

So that should be done before importing the data. Thanks.
Post Reply