How to plot multi circles with different color and size

Hi, all
I want to plot a skymap with multi circle, each circle with different color(mass) and size(distance). I could Draw this with many TEllipses.
Is there an easy way to plot this map with TGraph2D or other way?

How are stored your data ? in which object ?

data saved with TTree

You can easily do a 3D colour plot with:


Can it be a solution ?

can this draw an 2D map?
default is 3D

No. The 2D will be draw with:


may be several map on top of each other with different value of distance …

Or may be at the end it might be easier to get the variables from the tree and produce a custom plot. I can have a look if you post the tree.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.