Message Boards Message Boards

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

How can I join two strings in a PlotLabel without formatting errors?

Posted 10 years ago
Attachments:
POSTED BY: Glen Deering
2 Replies
Posted 10 years ago

That was too easy! Thanks so much!

--Glen

POSTED BY: Glen Deering
Posted 10 years ago

I think you were almost there. Here's one way to do it:

f[x_] := 2/(1 + x^2); 
Plot[f[x], {x, -2, 2}, AspectRatio -> Automatic, 
 PlotLabel -> "9.  " <> ToString[TraditionalForm[f[x]]]]
POSTED BY: Jim Baldwin
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