Message Boards Message Boards

0
|
274 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Why my plot function doesn't work?

Posted 21 days ago

When plotting, I get the following errors: enter image description here What is happening?

2 Replies
Posted 21 days ago

Seems like something has already been attached with the definition of x. Quick fix would be first to clear x then plot like:

Clear[x]

Plot[x,{x,0,6}]

I hope this solves your problem.

POSTED BY: Alam Khan

What does ?x show? What other definitions have you made?

This seems likely to be a bug, but I expect you would have to report enough details to WRI (through the Help > Give Feedback menu command) for their developers to be able to figure it out. For me the code plots a line, as expected.

If you can't figure out how the trouble was created, then restarting the kernel (use Quit[] for instance) should reset the system.

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

Group Abstract Group Abstract