visualdatatools.com Forum Index visualdatatools.com
Discussion for DataTank and DataGraph
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fitting when hidden

 
Post new topic   Reply to topic    visualdatatools.com Forum Index -> DataGraph Framework
View previous topic :: View next topic  
Author Message
rdouglas



Joined: 20 Jul 2008
Posts: 9
Location: Vancouver Canada

PostPosted: Thu Mar 11, 2010 5:39 pm    Post subject: Fitting when hidden Reply with quote

I'm finding the DGFitCommand command to be very useful for fitting a logistic function to my raw data. Unfortunately I have a tabbed interface so much of the time the user will be looking at other plots (including how a fit parameters changes as new data comes in). The problem is that I only get a fit when the raw data plot is visible and redrawn. So is there a way to force a fit when the graph is not visible?
Thanks,
Rob
Back to top
View user's profile Send private message
David
Site Admin


Joined: 25 Nov 2006
Posts: 1964
Location: Chapel Hill, NC

PostPosted: Thu Mar 11, 2010 11:27 pm    Post subject: Reply with quote

The method
Code:
- (NSNumber *)valueForParameter:(NSString *)str;

will compute the fit even if you are not displaying the fit.

David
Back to top
View user's profile Send private message Send e-mail
rdouglas



Joined: 20 Jul 2008
Posts: 9
Location: Vancouver Canada

PostPosted: Fri Mar 12, 2010 8:34 pm    Post subject: Reply with quote

Thanks. Works great. I had been using valueForProperty and was getting zeroes.

Rob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    visualdatatools.com Forum Index -> DataGraph Framework All times are GMT - 3 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