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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
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 Wed, 13 Apr 2011 11:13:42 -0700
Organization gnuplot development team
Lines 45
Message-ID <io4p4q$6qn$1@dont-email.me> (permalink)
References <io4b4m$ju9$1@bruford.hrz.tu-chemnitz.de>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Wed, 13 Apr 2011 18:13:46 +0000 (UTC)
Injection-Info mx03.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="6999"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uxQHwADAn+j9xS3MxjQhd"
User-Agent KNode/4.4.3
Cancel-Lock sha1:xXk9Oet7sPDnbjDb2Yx/l56TePs=
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:251

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | 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