Duplicating curve

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

Moderator: DPlotAdmin

Post Reply
User avatar
Roberto
Posts: 102
Joined: Sun Mar 16, 2008 6:11 am
Location: Netherlands Beek en Donk

Duplicating curve

Post by Roberto »

Hi,

Does anyone know how to "duplicate" a curve within the same DPlot file?
I tried to "copy/ move curve" but I couldn't figure out how to paste it again -as basically adding an extra data column to the data set-.
So far I only managed to let DPlot create a new data column with only one value in it and for some reason DPlot recognizes the Y value as a date while the original data set only contains normal numbers within the range 0 and 2000.

At first glance it makes no sense to duplicate curves but the initial goal was to duplicate an existing curve as a preparation for further processing (operate on Y) and in the end I would see two curves within one plot: a "before" and "after" curve.
I wanted to use this approach to trial and error for finding the right analogue signal amplification (it will be close to pure logarithmic) in order to get a close to linear output signal while the sensor output now has a more like tangens-look. (converting one axis to logarithmic it already shows a more decent curved line but still not linear so an exponential amplifier will do the job).
After this trial-and-error approach in DPlot it would save me a lot more trial-and-error time over doing it straight in the circuit design.

IF there's already a workaround for dealing with this issue WITHIN DPlot then I gladly would hear about it. Otherwise (or maybe anyway) please see it as a feature request for in the Edit menu: a new "Duplicate curve" option :-P So the user picks a graph from the file and that feature adds a column to the list of data inwhere the X and Y values are identical as in the data set of the picked curve.
To me personally I think it actually is a useful feature for future use of DPlot as well so I suspect others might find it handy as well.

Cheers,
Roberto
jsc
Posts: 222
Joined: Fri Dec 02, 2005 8:56 am

Post by jsc »

Roberto,

You tried Edit > Copy > Data Values and picked the curve you want to copy. Then Paste or Paste Special?

Works for me to completely copy a curve on top of itself, but I do notice it does so without any curve label, so it may look like nothing happened. Possibly a bug or oversight.

David, would it be possible to create some kind of label to alert the user that something happened? (Ideally it would be nice in this situation to prepend "Copy of -" to the curve you just copied then pasted, but that doesn't cover the case when you paste data from outside of DPlot.)

Jon
User avatar
Roberto
Posts: 102
Joined: Sun Mar 16, 2008 6:11 am
Location: Netherlands Beek en Donk

Post by Roberto »

Hi Jon,

Thanks! Works perfectly as you described :-P .
For some reason I never noticed the " :arrow: " on the right of "Copy" in the Edit-menu so I overlooked that submenu :lol: .

But before I did NOT use Edit - Copy at all; I was focussing on the "Move/Copy curves" option in the Edit menu instead and tried to paste, paste special and looked if I could paste in the "Edit Data" dialog.
Nothing worked out.

Oh well, it happens more often that I need to look hard in DPlot for an option or to figure out how-to; the menu's layout is not quite ideal but I understood in the past that it has pretty low priority.

But thanks, Jon! I can move on again with what I was doing 8) .

Sorry for replying this late; never received an e-mail that a reply was posted (probably in a spamfolder).

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

Post by DPlotAdmin »

Jon,
David, would it be possible to create some kind of label to alert the user that something happened? (Ideally it would be nice in this situation to prepend "Copy of -" to the curve you just copied then pasted, but that doesn't cover the case when you paste data from outside of DPlot.)
Sorry, I missed this (and thanks for filling in). As of now this is a bit of a problem. I can fairly easily determine whether DPlot is the source of the data, but there's presently no mechanism to be more specific than that: if you have 10 curves and Copy/Paste one, there's no way to know which of curves 1-10 was copy/pasted. But I'm just whining here and this should be easy enough to implement. Good suggestion, thanks.
Visualize Your Data
support@dplot.com
Post Reply