Re: anti-aliased plots

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Tue, 6 Mar 2012 09:24:19 +0000


In fact we already have it thanks to OpenGL. Just do:

gStyle->SetCanvasPreferGL(true);

Cheers,
Olivier

On Mar 6, 2012, at 10:11 AM, Olivier Couet wrote:

> It will be possible with the new TGQuartz and TGCocoa classes (native graphics on Mac)
> we are working on now.
> 
> On Mar 6, 2012, at 1:31 AM, Anton Korneev wrote:
> 

>> Dear rooters,
>> is it possible to produce anti-aliased png plots with ROOT (without any external tools)?
>>
>> Please, see attached:
>>
>> pic.png - this is what I have from ROOT currently
>> pic-a.png - this is what I want to get directly from ROOT
>>
>> File pic.png was produced by attached macro pic.cxx:
>>
>> $ root -b -q -l pic.cxx
>>
>> And pic-a.png by convert utility:
>>
>> $ convert -density 88 pic.eps pic-a.png
>>
>> Thank you,
>> Anton
>> <pic.cxx><pic.png><pic-a.png>

> Received on Tue Mar 06 2012 - 10:24:24 CET

This archive was generated by hypermail 2.2.0 : Tue Mar 06 2012 - 11:50:01 CET