MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Graphic simple?
  • Next by Date: Re: Moving average type process
  • Previous by thread: plot
  • Next by thread: Re: plot