Colours in Postscript files

From: Rafael Arco Arredondo <Rafael.Arco.Arredondo_at_cern.ch>
Date: Wed, 10 Aug 2005 18:07:26 +0200


Hello,

I have a problem with colours when I try to print to a postscript file. I am trying to plot a histogram and then colour the area under the curve that fits the data in the histogram. When I colour the area with the option

SetFillStyle(1001)

I can not see the histogram which I printed before. This is normal because it is the option for solid colours. However, if I choose

SetFillStyle(4000)

I have solid colours as well (not on the screen, where the curve appears with no colour, but in the postscript file).

Finally, if I set

SetFillStyle(3001)

the histogram looks nice on the screen, with the correct pattern it is supposed to have, and I can see both the histogram and the curve on it, but the PS file only has an empty curve with no colour at all.

If I print it to GIF format, for instance, the colours are displayed correctly, but that is not what I want.

In conclusion, I would like to see the histogram under the curve in addition to the coloured curve in a postscript file.

Is there any way to do it? My version of ROOT is 4.04/02.

Thanks in advance,

Rafa Received on Wed Aug 10 2005 - 18:07:33 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET