Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2071 > unrolled thread
| Started by | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| First post | 2011-05-03 12:23 +0000 |
| Last post | 2011-05-03 12:23 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Density Matrix Plots Heike Gramberg <heike.gramberg@gmail.com> - 2011-05-03 12:23 +0000
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Date | 2011-05-03 12:23 +0000 |
| Subject | Re: Density Matrix Plots |
| Message-ID | <ipos3a$i3p$1@smc.vnet.net> |
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
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web