Re: Errors While Creating Simple Graph
- To: mathgroup at smc.vnet.net
- Subject: [mg8394] Re: [mg8282] Errors While Creating Simple Graph
- From: John Kiehl <jkiehl at interport.net>
- Date: Tue, 26 Aug 1997 20:41:34 -0400
- Organization: Soundtrack Recording
- Sender: owner-wri-mathgroup at wolfram.com
Ironwolf wrote: > > When I ask Mathematica (2.2) to perform the following plot, it works as > expected, drawing a plot of two intersecting lines: > > In[1]:= > Plot[{x + 1, 2x - 1}, {x, 0, 5}] > > Out[1]= > -Graphics- > > However, when I use substitution to provide the list of equations, > something goes wrong, and the resulting graph is empty: > > In[2]:= > {x + 1, 2x - 1} > > Out[2]= > {1 + x, -1 + 2 x} > > In[3]:= > Plot[%2, {x, 0, 5}] > I'm very new to mathmatica, but I ran into this exact problem and found it was solvable by using Plot[Evaluate[%],{...}]. I believe old versions use Release[%]. But no doubt you'll hear from the big boys on this.