Drawing three one dimensional histogram in one canvas

Hi All,

I want to plot three histograms in one canvas . Where one will be on the x-axis, second one in the left side of y-axis and another one will be on the right side of y-axis. If somebody can give some example code, thanks in advance.

debashis

You need to define 3 TPad with this layout. Then cd() to the required pad before drawing the histogram.

Hi,
this is a small working example I did for myself some times ago, maybe can be useful for you.
xy_proj.c (2.5 KB)

Cheers
Stefano

Hi,

Thank You very much for your answer. I will take help from this.

Thanks
debashis

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