we have looked all over and cannot find much on spline cubuc. Could
you supply us with a few lines of code showing how to
implement spline cubic, with factor=4,interpolatrion=true?.
Thannks,
Jennifer Good
spline cubic help
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jennifer,
Yes, there's and example of it at the TeeChart features demo included within the installation. You can search for spline and have a look at the Smoothing Spline.
Yes, there's and example of it at the TeeChart features demo included within the installation. You can search for spline and have a look at the Smoothing Spline.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
spline help{contd}
Thanks Mark-
We went into Function_smoothing and we understand what it said. I think
we need a little more help, but heres what we have-
Assume the series we want to smooth is Series1 and the smoothing function is TeeFunction1 and the Series1 is populated. Then, it looks what we want do is:
tempseries.create(self);
chart1.addseries(tempseries);
tempseries.setfunc(TeeFunction1.create(self));
tempseries.interpolate:=true;
tempseries.factor:=5;
tempseries.datasources.clear;
tempseries.datasources.add(series1);
series1.visible:=false;
Is this close?
Thanks,
Jennifer
We went into Function_smoothing and we understand what it said. I think
we need a little more help, but heres what we have-
Assume the series we want to smooth is Series1 and the smoothing function is TeeFunction1 and the Series1 is populated. Then, it looks what we want do is:
tempseries.create(self);
chart1.addseries(tempseries);
tempseries.setfunc(TeeFunction1.create(self));
tempseries.interpolate:=true;
tempseries.factor:=5;
tempseries.datasources.clear;
tempseries.datasources.add(series1);
series1.visible:=false;
Is this close?
Thanks,
Jennifer