Re: plot help
- To: mathgroup at smc.vnet.net
- Subject: [mg39582] Re: plot help
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 25 Feb 2003 02:54:59 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <b3cjuc$7pt$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Plot[Evaluate[Table[k^2 + y, {k, -Pi, Pi, 2Pi/5}]], {y, -3, 3}] may help. Regards Jens Po-Wen Chiu wrote: > > Dear Mathgroup, > > I am a new mathetica user and learning to plot my band diagram, > i.e., energy E vs wave vector k. Assumed that E(k, y) and y is a > series of integers. > > I use the following function: > > Plot[k^2+y, {k, -Pi, Pi}, {y, -3, 3}] > > and would like to plot "a series of" bands in a 2D plot, however, it > did not work. > Anybody can help me out? > > Thanks, > > Regards, > > Po-Wen