Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #251

Re: Transparent fillstyle for boxes with postscript

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Transparent fillstyle for boxes with postscript
Followup-To comp.graphics.apps.gnuplot
Date 2011-04-13 11:13 -0700
Organization gnuplot development team
Message-ID <io4p4q$6qn$1@dont-email.me> (permalink)
References <io4b4m$ju9$1@bruford.hrz.tu-chemnitz.de>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Michael Hofmann wrote:

> Hi,
> 
> the postscript terminal (version 4.4 patchlevel 0) does not seems to be
> able to create "boxes" with transparent fill style 

The PostScript language itself does not support transparency.
Can you use PDF instead?

If not, you could try converting PDF output to PostSCript later.
Some (most?) conversion programs will dummy up the effect of transparency
by rendering the net color of each pixel in the PDF version rather than
reproducing the multiple, perhaps transparent, operations that created it. 


> (pattern or solid).
> With "filledcurves" transparency works for the graph, but not for the
> legend.
> 
> Is this a bug or a missing feature of the postscript terminal?
> 
> Additionally, I would expect that the look of the filling for a terminal
> is independent from object that is filled. However, for postscript,
> there seem to be a difference between rectangles and polygones.
> 
> The following plot shows the problem:
> 
> set term postscript eps solid
> set output "test.eps"
> 
> plot x/((x>=0)?1:0) w boxes fs solid 0.4 lc rgb "black", \
>       x/((x>=0)?2:0) w boxes fs transparent solid 0.4 lc rgb "black", \
>       x/((x>=0)?4:0) w boxes fs transparent pattern 4 lc rgb "black", \
>       x/((x<=0)?1:0) w filledcurve y1=0 fs solid 0.4 lc rgb "black", \
>       x/((x<=0)?2:0) w filledcurve y1=0 fs transparent solid 0.4 lc rgb
> "black", \
>       x/((x<=0)?4:0) w filledcurve y1=0 fs transparent pattern 4 lc rgb
> "black"
> 
> unset output
> 
> 
> Best regards,
> Michael

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Transparent fillstyle for boxes with postscript Michael Hofmann <michael.hofmann@s2000.tu-chemnitz.de> - 2011-04-13 16:14 +0200
  Re: Transparent fillstyle for boxes with postscript sfeam <sfeam@users.sourceforge.net> - 2011-04-13 11:13 -0700
    Re: Transparent fillstyle for boxes with postscript Michael Hofmann <michael.hofmann@s2000.tu-chemnitz.de> - 2011-04-14 09:22 +0200
      Re: Transparent fillstyle for boxes with postscript sfeam <sfeam@users.sourceforge.net> - 2011-04-14 08:59 -0700
        Re: Transparent fillstyle for boxes with postscript Michael Hofmann <michael.hofmann@s2000.tu-chemnitz.de> - 2011-04-15 15:35 +0200
          Re: Transparent fillstyle for boxes with postscript sfeam <sfeam@users.sourceforge.net> - 2011-04-15 09:16 -0700

csiph-web