View previous topic :: View next topic |
Author |
Message |
jsc
Joined: 02 Dec 2005 Posts: 222
|
Posted: Fri Aug 10, 2007 11:55 am Post subject: SelectCurve(-1) or EditDecimate error |
|
|
David,
I've got a macro where I think my first SelectCurve(-1) is not reset by subsequent SelectCurve(n) commands, and is performing operations on ALL curves instead of the selected curve.
Here's a piece of what I have:
PostponeRedraw() 'for correcting and scaling data
SelectCurve(-1) 'from chk vlv test
EditOperateX("x/3000") 'data collection rate was 3000/sec
XAxisLabel("Time, sec")
SelectCurve(1) 'first curve to import is AiCoInT
EditDecimate(0,1,25) 'do not need so many points
EditOperateY("y-273.15") 'K to C conversion (some were F to C)
After that SelectCurve(-1) command, and the operation on the X axis, the next SelectCurve(1), when I wanted the following operation to apply to JUST curve 1, instead it operates on all curves, not just curve 1. At least the EditDecimate worked on all curves, but the EditOperateY seemed to work correctly on just curve 1. So is there something wrong with the EditDecimate command that it is ignoring the SelectCurve command?
Jon |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Fri Aug 10, 2007 3:12 pm Post subject: |
|
|
Quote: | So is there something wrong with the EditDecimate command that it is ignoring the SelectCurve command? |
Yes, will fix it before the next release. Thanks for pointing out the problem. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|