Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2071
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Density Matrix Plots |
| Date | 2011-05-03 12:23 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ipos3a$i3p$1@smc.vnet.net> (permalink) |
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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Density Matrix Plots Heike Gramberg <heike.gramberg@gmail.com> - 2011-05-03 12:23 +0000
csiph-web