TF2::DrawDerivative() - Question

Hello,

I’m trying to implement the TF2::DrawDerivative using the code:

double function(double *xx, double *par){	
   double x = xx[0]; double y = xx[1];   
   return x**2+3*y**3;
}
void run(){
	TCanvas *c = new TCanvas();
	
	TF2 f("myfunc",function,0,3,0,3,0);
	
	TGraph *g = (TGraph*)f.DrawDerivative("al");
	//f.DrawDerivative();	
}

In the case TF1::DrawDerivative(), the structure code above work, but for TF2 the graph is not generated.

Best regards,
Sony

It’s not implemented for TF2.