RE: How to plot a graph in polar coordinats?

From: Olivier Couet <>
Date: Fri, 5 May 2006 09:52:16 +0200


Polar Coordinates plots are on our "to-do list". We are now working on a new class TPolarGraph. See: Also I can point to this page: Note that the option "POL" works only for 2D histogram in combination with the option LEGO and SURF.

Cheers, O.Couet

-----Original Message-----
[] On Behalf Of Anton Korneev Sent: Thursday, May 04, 2006 4:04 PM
Subject: [ROOT] How to plot a graph in polar coordinats?

Dear rooters,

I need to make a 2D graph in polar coordinates,

  1. for example "r = phi", I try TF1 f1("f1", "x", 0, 10); f1.Draw("COL");
     But it is do not work. Then I read html documentation on TF1 and
     found that TF1 does not support "COL" option.

  2) 1d histogram
       TH1F h1("h1","h1", 100, 0, 6);
       h1.FillRandom("gaus", 10000);

     Also don't work.

So, my question: how I can draw a polar graph like in attached file "x.png"?

Best regards,
Received on Fri May 05 2006 - 09:54:11 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET