Re: plot
- To: mathgroup at smc.vnet.net
- Subject: [mg18274] Re: plot
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 25 Jun 1999 15:05:21 -0400
- Organization: Universitaet Leipzig
- References: <7ktt58$939@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Frank, lst={ 1, 2, 3, 4, 4}; Show[Graphics[ MapIndexed[Line[{{#2[[1]],0},{#2[[1]],#1}}] & ,lst], Axes->True]] will do it. Regards Jens ywang at hmsi.com wrote: > > If I have a list such as { 1, 2, 3, 4, 4}, I want to plot the list that > a verticle line will be draw from the x axis to end at the value. How > to do it? > > Thank you! > > Frank Wang