Re: How can I plot for array variable?

• To: mathgroup at smc.vnet.net
• Subject: [mg16080] Re: How can I plot for array variable?
• From: "Allan Hayes" <hay at haystack.demon.co.uk>
• Date: Thu, 25 Feb 1999 08:24:48 -0500
• References: <7atpnp\$7f3@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Kwon, Rak-Beom wrote in message <7atpnp\$7f3 at smc.vnet.net>...
>I'm sorry.
>How can I plot Dream variable in Mathemetica?
>
>Dream[1]=0.25
>Dream[2]=0.0790569
>Dream[3]=0.025
>Dream[4]=0.00790569
>Dream[5]=0.0025
>Dream[6]=0.000790569
>Dream[7]=0.00025
>Dream[8]=0.0000790569
>

Enter the dreams
In[1]:=
Dream[1]=0.25
Dream[2]=0.0790569
Dream[3]=0.025
Dream[4]=0.00790569
Dream[5]=0.0025
Dream[6]=0.000790569
Dream[7]=0.00025
Dream[8]=0.0000790569

Make list of pairse {i, Dream[i]}

In[9]:=
dreamList = Table[{i,Dream[i]},{i,8}]
Out[9]=
{{1,0.25},{2,0.0790569},{3,0.025},{4,0.00790569},{5,0.0025},{6,0.000790569},
{
7,0.00025},{8,0.0000790569}}

Use ListPlot

In[10]:=
ListPlot[dreamList,PlotJoined -> True]

Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

```

• Prev by Date: sphere coordinates???
• Next by Date: Mathematica for Alpha-Linux
• Previous by thread: RE: How can I plot for array variable?
• Next by thread: Re: How can I plot for array variable?