Hi, I have just tried your macro. I saved the result in a PS file and for me it looks correct (see the attachment). Can you send me the PS file you obtained ? Cheers, Olivier Couet -- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155 On Mon, 25 Nov 2002, Alexander Dietz wrote: > Hello Rooters, > > I want to use german umlauts in axis-titles using #ddot{}. > This works well exept the size of the title is changed! > See the following example code: > > // creating example histogram > TH1F* h1=new TH1F("h1","test",100,1,100); > for (int i=0;i<=10000;i++) { > h1->Fill(gRandom->Gaus(50,30)); > } > > // draw the histogram > h1->Draw(); > > // setting titles and changing size > h1->GetXaxis()->SetTitle("#ddot{o}"); > h1->GetXaxis()->SetTitleSize(0.06); > h1->GetYaxis()->SetTitle("H#ddot{a}ufigkeit"); > h1->GetYaxis()->SetTitleSize(0.06); > > > When I execute this example code I can saw the umlauts on the picture > correctly. > But when I save the picture to a file and look at the generated > postscript-file I can see the umlauts no longer! > > What can I do that the picture is saved with the correct umlauts in a > file? > > > ----------------------------------- > Alexander Dietz > Max Planck Institut fuer Kernphysik > Saupfercheckweg 1 > Postfach 10 39 80 > D-69029 Heidelberg > > Phone: +49-6221-516-259 > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET