MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ListDensityPlot and transparency

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59996] Re: ListDensityPlot and transparency
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Sun, 28 Aug 2005 03:07:33 -0400 (EDT)
  • References: <demlfs$r90$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Ramiro dell'Erba wrote:
> Dear Mathematica friends,
> Does anybody know as to overimposed two ListDensityPlot? On the other hand 
> there is a mode to make transparency  as option for graphics object in 
> Mathematica?
> Thank you in advance,
> Ramiro 
> 
Hello,

Although Mathematica does not explicitly support transparency, I think 
you could obtain such plots with a bit of work.

Consider something like this:

s = ImportString[ExportString[Plot[Sin[x], {x, 0, 10}, DisplayFunction 
-> Identity], "GIF"], "GIF", ConversionOptions -> {"ColormapOutput" -> 
False}]

This will create a simple plot in the form of a raster of rgb values 
(look at it in InputForm to see its exact structure). Given two of 
those, it would not be hard to blend them together to create some sort 
of transparent effect - just make sure you use PlotRange to force them 
on to the same scale.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: help working with functions
  • Next by Date: Re: help working with functions
  • Previous by thread: Re: Re: ListDensityPlot and transparency
  • Next by thread: Re: Another damn simplifying problem: ArcTan