Appending Multiple Curves

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
jksmurf
Posts: 36
Joined: Tue Sep 27, 2005 10:37 pm

Appending Multiple Curves

Post by jksmurf »

Hi David,

Right, I have created a bunch of separate Tripartite Plots, but I want to overlay say 4 curves on one other existing one. If I choose the append function, I can do this for ONE plot over another.

But if I choose multiple files (which it allows me to do), it still only appends ONE curve onto another, the remainder get opened as seperate graph windows. If this is not already a function, can you please add it to the wishlist? I know I can add, then add to that, then add to that, but that becomes silly after a while.
Cheers,

k.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Actually that should be the default behavior - it is an oversight that it doesn't do that now. I'll add this on the to-do list.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

After taking a look at this... this IS the behavior I get when selecting file type D: all selected files are placed in the same plot. If you're using a different file format, which one? And if you are choosing that file format, what version of DPlot are you running?
Visualize Your Data
support@dplot.com
jksmurf
Posts: 36
Joined: Tue Sep 27, 2005 10:37 pm

Post by jksmurf »

I am using v2.01.2. I can replicate this. I am using saved .grf files.
If I open any one and try to overlay the the other three, it behaves as above. I will send you 4 plots. If I do it 1 by 1 one, it works.
k.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Ah! That's different. Append will always open new document windows for every .grf file. That's be design, because the .grf files contain quite a bit more info than just the data.
Visualize Your Data
support@dplot.com
jksmurf
Posts: 36
Joined: Tue Sep 27, 2005 10:37 pm

Post by jksmurf »

So how can I overlay them all together (except for trying to graph them all from the same spreadsheet, but actually I'd prefer NOT to do this)? There doesn't seem to be a format other than grf which makes sense?

I mean if DPLOT can do one + one with all that data and I saved that and appended another one etc., surely it must be OK to to do 1 + 3 or 200... ?

Wishlist?

k.

I don't mind it opening lots of new windows (though it doesn't HAVE to) , as long as it appends all the data :-)
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

I mean if DPLOT can do one + one with all that data and I saved that and appended another one etc., surely it must be OK to to do 1 + 3 or 200... ?
It's not a matter of whether it can but whether it is appropriate. And doing it with one is a mistake that I'll likely remove in the next version, sorry.

I understand in your case you know what you're doing and there are probably no gotchas involved with your files. But in general there are too many potential sources of confusion for this to be a good idea. Different axis types, manual scale and tick mark entries, legend locations, notes that hide each other, etc.

You can fairly easily move the data from one document to another, though. Options>Move/Copy Curves will do it. I started to suggest a macro... unfortunately the MoveCurves command requires the destination document's caption, which will change most every time you want to do this. I'll likely amend MoveCurves so that if the "destination" is a number instead of a quoted character string, the destination will be the document with that index. So you'll be able to

MoveCurves(1,-1,1)

to move all curves from the currently active document to the first document (and close the active document when done).
Visualize Your Data
support@dplot.com
jksmurf
Posts: 36
Joined: Tue Sep 27, 2005 10:37 pm

Post by jksmurf »

Bummer :(

I do appreciate your efforts in that regard, but I if there is some other way, I'd really like to see it done. Your solution is certainly better than none, though not preferred. I am not a programmer by any stretch apart from some Fortran at Uni, a little Basic and some Visual basic in Excel, but it must be possible (at some stage, he pleads) to have it be allowed if the base file is identical and checking for identicality can't be that bad/difficult ...

I do firmly think it remains appropriate though :P
Cheers and thanks for coming back so quickly on this.

k.
jksmurf
Posts: 36
Joined: Tue Sep 27, 2005 10:37 pm

Post by jksmurf »

Not sure if you have had any other requests for this, but I would still really really like to see it implemented :-)

k.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

OK. Next release.
Visualize Your Data
support@dplot.com
jksmurf
Posts: 36
Joined: Tue Sep 27, 2005 10:37 pm

Post by jksmurf »

David,

Much appreciated. I am sure this will make others very happy too.

k.
Post Reply