Page 1 of 1
Appending Multiple Curves
Posted: Thu Oct 13, 2005 4:36 am
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.
Posted: Thu Oct 13, 2005 9:10 am
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.
Posted: Thu Oct 13, 2005 3:39 pm
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?
Posted: Fri Oct 14, 2005 11:27 pm
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.
Posted: Sat Oct 15, 2005 12:34 am
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.
Posted: Sat Oct 15, 2005 12:49 am
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

Posted: Sat Oct 15, 2005 2:27 am
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).
Posted: Sat Oct 15, 2005 5:36 am
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
Cheers and thanks for coming back so quickly on this.
k.
Posted: Thu Feb 23, 2006 4:33 am
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.
Posted: Thu Feb 23, 2006 10:43 am
by DPlotAdmin
OK. Next release.
Posted: Thu Feb 23, 2006 7:33 pm
by jksmurf
David,
Much appreciated. I am sure this will make others very happy too.
k.