Group Abstract Group Abstract

Message Boards Message Boards

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

Possible bug on Plot and ReplaceAll

Posted 10 years ago

Hi, I use ReplaceAll a lot, and I've been having some trouble with it. This

Plot[a x,{x,-5,5}]/.a->3

does not give the result I was expecting

Plot[3 x,{x,-5,5}]

and gives instead blank graphics with an axis. Any ideas why?

POSTED BY: Darwin Kim
Posted 10 years ago
POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard