Drag and drop to plot multi-column data

Found a bug? Tell us about it here

Moderator: DPlotAdmin

Post Reply
dcl9000
Posts: 26
Joined: Mon Mar 28, 2011 8:15 pm

Drag and drop to plot multi-column data

Post by dcl9000 »

Hi!

I have a simple multi-column data file like this:

X Y1 Y2 Y3 Y4
1 2 3 4 5
2 4 6 8 10
3 6 9 12 18

It is saved as a text file named "data.txt"

Everytime when I drag and drop this file into a opened empty DPlot Viewer, it always plot 5 curves instead of 4. The first column is always recognized as a Y-column instead of an X-column.

I've set the "Pick Columns to Plot" and assign column-1 manually to plot as what was described in the previous subject (http://www.dplot.com/forums/viewtopic.p ... =drag+drop). It works fine and plot 4 curves correctly if the DPlot Viewer is not closed. But when DPlot Viewer is closed and re-opened, this problem comes up again. It is not persistent at all.

Is there a way to add a format line (something like XYY) somewhere in this simple data file to tell DPlot Viewer to plot it correctly? I know in the help file it says DPlot uses the first column as X-column by default, but it doesn't when you use "drag and drop" to plot the simple data format. Could you please fix this problem? Many thanks!
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Fixed. Thanks for the heads up. I'll likely post an update this coming weekend.
Visualize Your Data
support@dplot.com
dcl9000
Posts: 26
Joined: Mon Mar 28, 2011 8:15 pm

Post by dcl9000 »

Great! So it will be in the 2.3.1.0 version, right?
Really looking forward to it......
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Yes on the version number. Sorry it didn't make it last weekend, but it will be coming soon.
Visualize Your Data
support@dplot.com
dcl9000
Posts: 26
Joined: Mon Mar 28, 2011 8:15 pm

You fixed it!

Post by dcl9000 »

Ah! The long-awaited drag-and-drop function is finally fixed.
Now my director won't have more excuses not to sign the PO to purchase DPlot. Thanks a lot for the new 2.3.1.0 version!
Post Reply