sircar
July 21, 2010, 10:41am
1
Hi
I want to know is there any way to see the labels when a log scale is zoomed
atlasdqm.cern.ch:8080/webdisplay … phi1Barrel .
See the above link . When the log scale is zoomed then only tick marks are visible . Itwould be much better if atleast one point is visible . Does any one has any clue how to do it . A similar question was asked 7 years ago . I some how was not fully able to understand the Here is the link for that thread
Hi,
This is an old subject, but were there any progresses in displaying of labels in Log scale when one is zooming. You sometimes see tickmarks but no labels, depending on the limits of an axis.
(see attached picture, x axis)
I know that secondary ticks are not yet supported in log, but at least being able to always display some labels when the tickmarks are present would be nice.
Cheers
Damir
[image]
couet
July 21, 2010, 3:16pm
2
Try:
h->GetYaxis()->SetMoreLogLabels();
sircar
July 22, 2010, 7:22am
3
Thanxs for your reply . But is there any way we can use the log scale without using TCanvas . I think we cannot . But is there any way ???
Axel
July 26, 2010, 9:40am
4
Hi,
you mean how to switch an axis to log programmatically instead of interactively? E.g. gPad->SetLogY() will do.
Cheers, Axel.
sircar
July 26, 2010, 10:56am
5
Hi Axel
Thank you very much . It worked perfectly for me
Sircar