MathGroup Archive 2007

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

Search the Archive

Re: listdensityplot, black box?


Try the option:   Mesh->False

Guy Lamouche


"alexxx.magni at gmail.com" <alexxx.magni at gmail.com> wrote in news:ev7j5d
$l36$1 at smc.vnet.net:

> I have a rectangular grid of data (249x400) in the simple form of
> values 0/1, e.g:
> {{1, 1, 0, ......, 1, 1, 1, 0, 0, 0, 0}, ... }
> 
> I read them with
> 
> - lab=Import["...image.pbm"]
> 
> - lab2 = lab[[1, 1]]
> 
> and Show[Graphics[Raster[lab2]]] shows the image OK.
> 
> Now, whenever I do:
> 
> - ListDensityPlot[lab2]
> 
> I get no errors, but a completely black plot - of the correct size
> 249x400, however.
> 
> I played a little with ColorFunction and ColorOutput, but it didnt
> help.
> 
> Do you have any idea what I'm doing wrong???
> 
> thanks for any help...
> 
> 
> Alessandro Magni
> 
> 
> 


  • Prev by Date: Default value
  • Next by Date: Re: listdensityplot, black box?
  • Previous by thread: RE: listdensityplot, black box?
  • Next by thread: Re: listdensityplot, black box?