Group Abstract Group Abstract

Message Boards Message Boards

0
|
18.4K Views
|
6 Replies
|
1 Total Like
View groups...
Share
Share this post:

subscript, superscript in plot label

Posted 10 years ago
POSTED BY: ash ash
6 Replies

My favourite way of inserting properly typeset formulas into plots is to compose them first in a Text cell, within an inline cell. Then I copy the inline cell and paste it into the input within quotation "". What I get, behind the scenes, is something like this:

Plot[x^2, {x, -1, 1}, Frame -> True, 
 FrameLabel -> {"\!\(\*FormBox[\(\*SubscriptBox[\(N\), \(p\)] \
g/\*SuperscriptBox[\(m\), \(2\)]\),
TraditionalForm]\)"}, BaseStyle -> {FontFamily -> "Times"}]

except that I see the readable typeset version.

POSTED BY: Gianluca Gorni

Try this

FrameLabel -> {Style["[Delta]", 13], Row[{Style[Subscript["N", "P"], Italic], " g", Superscript[m, -2]}]}

POSTED BY: S M Blinder
Posted 10 years ago

Following Gianluca Gorni's advice is what you want to do. That will show you all sorts of structures besides the superscript and subscript. The keyboard equivalent for getting just the two structures you're currently using follows:

Super and subscript keyboard shortcuts

POSTED BY: Jim Baldwin
Posted 10 years ago

Sorry .. but How helpful is that..? i have my own data here..

POSTED BY: ash ash
Posted 10 years ago

Sorry .. but How helpful is that..? i have my own data here..

POSTED BY: ash ash

Have you tried the basic math input palette?

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