Re: Density Matrix Plots
- To: mathgroup at smc.vnet.net
- Subject: [mg118589] Re: Density Matrix Plots
- From: Heike Gramberg <heike.gramberg at gmail.com>
- Date: Tue, 3 May 2011 08:22:46 -0400 (EDT)
Do you mean something like this?
mat = Table[Sin[x + y + a] + 1, {x, -5, 5}, {y, -5, 5}];
ListPlot3D[mat /. a -> 1, InterpolationOrder -> 0, Filling -> Bottom,
Mesh -> None, FillingStyle -> Opacity[1]]
You can animate it with Animate:
Animate[ListPlot3D[mat /. a -> t,
InterpolationOrder -> 0, Filling -> 0,
Mesh -> None, FillingStyle -> Opacity[1]], {t, 0, 2 Pi, Pi/10}]
Heike.
On 3 May 2011, at 10:43, math_new wrote:
> Hi,
>
> When I read papers I often see plots of density matrices in the form
> of a 3D dimensional plot where each matrix element is depicted as a
> column.
> How can I do such a plot with mathematica and moreover could I plot
> the density matrix over time by creating a movie where the columns
> shrink and grow?
>
> Thank you
>