hello , I am having a painfull time with the following: I want to visuzlize a function , so I put it in a TH1F. Now I want (in a script) to change non-linearly the x scale, so I write some transfer function from one binning to another and copy the values into another variable-sized histo. However the axis of my variable histo, still keep the linear ticks/labels... If I set manually each bin Label, my axis is crowded by labels (that I can reduce by putting dummy names "") but still my ticks are linear... I tried to use the TGaxis methods to superimpose a new scale but in the compressed part of the axis the labels overcross (as is actually on the "exponential axis" example in the web doc). How can I define where to put the labels on my TGaxis? How can I define otherwise the number of painted labels? My problem is that the default labels woudl be OK if printed vertically but it seems like the "v" option does not do anaything in: TGaxis *A2 = new TGaxis(0,0,xmax,0,"f1",510,"v"); -->still horizontal Another solution would be variable x axis for TGraphs, but is that possible? thanks, stephane
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET