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


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

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-15 09:16 -0700
Organization gnuplot development team
Message-ID <io9r1e$3qj$1@dont-email.me> (permalink)
References <io4b4m$ju9$1@bruford.hrz.tu-chemnitz.de> <io4p4q$6qn$1@dont-email.me> <io67ch$ldj$1@bruford.hrz.tu-chemnitz.de> <io75l8$j67$2@dont-email.me> <io9hiv$ljc$1@bruford.hrz.tu-chemnitz.de>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Michael Hofmann wrote:

> Am 14.04.2011 17:59, schrieb sfeam:
>> Michael Hofmann wrote:
>>
>>> OK, but why *is* transparency working for "filledcurves" with
>>> PostScript, but *not* for "boxes"? I would expect it works for both,
>>> or for none.
>>
>> The same PostScript commands are used for both plot styles.
>> Perhaps you are noticing a difference between pattern-fill and
>> solid-fill?
> 
> I noticed that transparent pattern-fill with filledcurves works and
> wondered why transparent pattern-fill with boxes fails. Transparent
> solid-fill does not work for both.
> 
> However, pattern-fill with filledcurves in PostScript looks very
> different than pattern-fill with boxes.

I suspect that the difference you see is an artifact of whatever
viewer you are using to look at the PostScript.   Most viewers that
I know of handle pattern fill in rectangular areas OK, although you
may have to disable anti-aliasing.  But many/most of them do a bad
job in non-rectangular areas. More specifically, they do a bad job
of matching the pattern origin in adjoining tiles of a tiled region.

It may be that very recent versions of PostScript support some sort of 
higher-level command to control the rendering of adjoining pattern-fill
areas.  If so, that would be useful - but that's unknown territory for me.

	Ethan


> So I guess these are two
> different routines.
> 
> 
> Michael

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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