Message Boards Message Boards

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

Equals Sign in Plot Label

Posted 10 years ago

I am trying to label a plot y = Sqrt[x] but Mathematica won't allow the = in the plot label. Is there some way around this?

POSTED BY: Ryan Warner
2 Replies
Posted 10 years ago

Thanks! Exactly what I was looking for.

POSTED BY: Ryan Warner
Plot[Sin[x], {x, -2 Pi, 2 Pi},
 Frame -> True,
 PlotLabel -> HoldForm[y = Sqrt[x]]]

enter image description here

POSTED BY: Nasser M. Abbasi
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