Message Boards Message Boards

0
|
3535 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Ask a question about Table & Plot

【The original formula】 Table[Plot[f[x], {x, 0, 5 Pi/4}, Epilog -> Text[Style[f[x], 15]], Scaled[{1, 1}], {1, 1}], {f, {Sin, Cos, Exp}}]

【Error!】 Plot::nonopt: Options expected (instead of {1,1}) beyond position 2 in Plot[f[x],{x,0,(5 [Pi])/4},Epilog->f[x],Scaled[{1,1}],{1,1}]. An option must be a rule or a list of rules. enter image description here

POSTED BY: Chunyang Luan
3 Replies

It works well. Thanks a lot!!

POSTED BY: Chunyang Luan
Posted 4 years ago

Hi Chunyang,

Misplaced ]

Table[Plot[f[x], {x, 0, 5 Pi/4}, 
  Epilog -> Text[Style[f[x], 15], Scaled[{1, 1}], {1, 1}]], {f, {Sin, Cos, Exp}}]

enter image description here

POSTED BY: Rohit Namjoshi
Posted 4 years ago

Try

Table[Plot[f[x],{x,0,5Pi/4},Epilog->Text[Style[f[x],15],Scaled[{1,1}],{1,1}]],{f,{Sin,Cos,Exp}}]

instead of

Table[Plot[f[x],{x,0,5Pi/4},Epilog->Text[Style[f[x],15]],Scaled[{1,1}],{1,1}],{f,{Sin,Cos,Exp}}]
POSTED BY: Bill Nelson
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