Home » Developing U++ » UppHub » Scatter: FEATURE IDEAS (1 already done)
Re: Scatter based on Callbacks [message #30236 is a reply to message #30233] |
Fri, 17 December 2010 13:28 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
i'd do this instead for the old api, not to have to hassle with it in the code, simply map old api to new api like that..
inline static void PlotFuncCB(double& y, double x, double (*f)(double)) { y = f(x); }
void PlotFunction(double (*f)(double),const String& legend="", const class::Color& fcolor=Green,const int& weight=6)
{
PlotFunction(callback1(&PlotFuncCB, f), legend, fcolor, weight);
}
inline static void PlotParamFuncCB(XY& xy, double t, XY (*pf)(double)) { xy = pf(t); }
void PlotParaFunction(XY (*pf)(double),const String& legend="", const class::Color& fcolor=Green,const int& weight=6,const int& Np=100)
{
PlotParaFunction(callback1(&PlotParamFuncCB, pf), legend, fcolor, weight, Np);
}
-
Attachment: Scatter.rar
(Size: 739.43KB, Downloaded 276 times)
|
|
|
|
|
Scatter: FEATURE IDEAS (1 already done)
By: kohait00 on Sun, 07 March 2010 12:31
|
|
|
Re: Scatter: FEATURE IDEAS (1 already done)
By: koldo on Wed, 17 March 2010 22:43
|
|
|
Re: Scatter: FEATURE IDEAS (1 already done)
|
|
|
Re: Scatter: FEATURE IDEAS (1 already done)
By: tojocky on Fri, 19 March 2010 09:17
|
|
|
Re: Scatter: FEATURE IDEAS (1 already done)
By: koldo on Mon, 12 April 2010 18:57
|
|
|
easying the API
|
|
|
capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
By: koldo on Tue, 11 May 2010 16:12
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
By: koldo on Tue, 11 May 2010 16:53
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
By: koldo on Wed, 12 May 2010 22:29
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
By: koldo on Thu, 13 May 2010 09:06
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
|
|
|
Re: capsulated Scatter Vectors
|
|
|
My current Diagram
|
|
|
Re: My current Diagram
|
|
|
Re: My current Diagram
|
|
|
Re: My current Diagram
|
|
|
Scatter based on Callbacks
By: kohait00 on Wed, 15 December 2010 16:19
|
|
|
Re: Scatter based on Callbacks
By: koldo on Wed, 15 December 2010 21:56
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Thu, 16 December 2010 06:58
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Thu, 16 December 2010 07:51
|
|
|
Re: Scatter based on Callbacks
By: koldo on Thu, 16 December 2010 14:41
|
|
|
Re: Scatter based on Callbacks
By: koldo on Thu, 16 December 2010 14:41
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Thu, 16 December 2010 15:55
|
|
|
Re: Scatter based on Callbacks
By: koldo on Thu, 16 December 2010 17:15
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Fri, 17 December 2010 11:30
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Fri, 17 December 2010 13:28
|
|
|
Re: Scatter based on Callbacks
By: koldo on Sun, 19 December 2010 21:10
|
|
|
Re: Scatter based on Callbacks
By: koldo on Mon, 20 December 2010 13:35
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Mon, 20 December 2010 13:44
|
|
|
Re: Scatter based on Callbacks
By: koldo on Tue, 21 December 2010 17:19
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Tue, 21 December 2010 17:56
|
|
|
Re: Scatter based on Callbacks
By: koldo on Thu, 23 December 2010 16:19
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Thu, 23 December 2010 17:05
|
|
|
Re: Scatter based on Callbacks
By: kohait00 on Sun, 26 December 2010 10:32
|
|
|
Re: Scatter based on Callbacks
|
|
|
Re: Scatter based on Callbacks
By: koldo on Wed, 22 June 2011 23:28
|
|
|
Re: Scatter based on Callbacks
|
|
|
Re: Scatter based on Callbacks
By: koldo on Thu, 23 June 2011 16:05
|
|
|
Re: easying the API
By: koldo on Tue, 11 May 2010 15:50
|
Goto Forum:
Current Time: Wed May 08 02:34:16 CEST 2024
Total time taken to generate the page: 0.01790 seconds
|