Re: Errors While Creating Simple Graph

• To: mathgroup at smc.vnet.net
• Subject: [mg8388] Re: [mg8282] Errors While Creating Simple Graph
• From: Allan Hayes <hay at haystack.demon.co.uk>
• Date: Tue, 26 Aug 1997 20:41:26 -0400
• Sender: owner-wri-mathgroup at wolfram.com

```ironwolf at dangerousgames.com (Ironwolf)
Subject: [mg8388] [mg8282] Errors While Creating Simple Graph
notes that the following does not work

>In[2]:=
>   {x + 1, 2x - 1}
>Out[2]= {1 + x, -1 + 2 x}
>In[3]:=Plot[%2, {x, 0, 5}]
(give error messages and empty display}

Robert:
The following works

In[4]:={x + 1, 2x - 1}
Out[4]={1+x,-1+2 x}
In[5]:=Plot[Evaluate[%2], {x, 0, 5}]

But so do

In[2]:= {x + 1, 2x - 1}
Out[2]= {1+x,-1+2 x}
In[3]:= Plot[%, {x, 0, 5}]

and

In[4]:=x^3
Out[5]= x^3
In[5]:= Plot[%4, {x, 0, 5}]

Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk/training.html
voice:+44 (0)116 2714198
fax: +44 (0)116 2718642
Leicester,  UK

```

• Prev by Date: ParametricPlot3D
• Next by Date: Re: Graphics manipulation question
• Previous by thread: Re: Errors While Creating Simple Graph
• Next by thread: Re: Errors While Creating Simple Graph