DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SelectCurve(-1) or EditDecimate error

 
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
jsc



Joined: 02 Dec 2005
Posts: 222

PostPosted: Fri Aug 10, 2007 11:55 am    Post subject: SelectCurve(-1) or EditDecimate error Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Fri Aug 10, 2007 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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