diff --git a/tutorials/twoscales.C b/tutorials/twoscales.C
index 16bf62dcec35528e4df90b21dbabce278bc65d2e..8516c2e216a0487e7e221f896cfbebe884a204fc 100644
--- a/tutorials/twoscales.C
+++ b/tutorials/twoscales.C
@@ -39,6 +39,6 @@ void twoscales()
    TGaxis *axis = new TGaxis(gPad->GetUxmax(),gPad->GetUymin(),
          gPad->GetUxmax(), gPad->GetUymax(),0,rightmax,510,"+L");
    axis->SetLineColor(kRed);
-   axis->SetTextColor(kRed);
+   axis->SetLabelColor(kRed);
    axis->Draw();
 }