MathGroup Archive 2005

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

Search the Archive

Re: Re: SparseArray, DensityGraphics, ContourGraphics, and SurfaceGraphics


Maybe, when I set out to create a SparseArray, I don't know that I'll later want to graph it.

Applying Normal at that point solves the problem, however.

Bobby

On Thu, 24 Feb 2005 03:21:22 -0500 (EST), Jens-Peer Kuska <kuska at informatik.uni-leipzig.de> wrote:

> Hi,
>
> what has a sparse matrix to do with a density graphics ?
> ArrayPlot[] is only used to visualize the sparse matrix, but
> all the memory saving of the sparse matrix are destroyed when you
> expand every entry in the matrix (not only the non zero values) to a
> 3D Polygon[] with 4 corners in Plot3D[] ...
> It seems a good design decision not to support this nonsens ...
> Regards
>   Jens
>
> "Mark Fisher" <mark at markfisher.net> schrieb im Newsbeitrag
> news:cvc84d$qrb$1 at smc.vnet.net...
>> DensityGraphics works fine with SparseArray objects, but niether
>> ContourGraphics nor SurfaceGraphics does. (I'm using 5.1 for Windows.)
>> This seems to me like a poor design decision (if it's not a bug).
>>
>> sa=SparseArray[IdentityMatrix[10]];
>> glist=Through[{DensityGraphics,ContourGraphics,SurfaceGraphics}[sa]];
>> Show /@ glist;
>>
>> --Mark.
>>
>
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: finding roots of 1 + 6*x - 8*x^3
  • Next by Date: Re: finding roots of 1 + 6*x - 8*x^3
  • Previous by thread: Re: SparseArray, DensityGraphics, ContourGraphics, and SurfaceGraphics
  • Next by thread: Re: SparseArray, DensityGraphics, ContourGraphics, and SurfaceGraphics