Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.6K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

Assigning an equation and then plotting it does not work?

Posted 11 years ago

First I assign an equation to cir1:

In[21]:= cir1 = x^2 + y^2 == 1

Out[21]= x^2 + y^2 == 1

then if I plot the equation it works fine

ContourPlot[x^2 + y^2 == 1, {x, -1, 1}, {y, -1, 1}]

But if I try the same thing with the variable cir1, I get a blank graph

ContourPlot[cir1, {x, -1, 1}, {y, -1, 1}]

Am I missing something simple to make that work? Newbie here... Thanks!

POSTED BY: Peter Kipping
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard