Message Boards Message Boards

Use of FrameLabel to label axes of 2D plots for publication?

Posted 8 years ago

I'm preparing a 2D plot for publication, and would like to label the x-axis "ln t" (natural log of 't'; the 't' in italics), and the y-axis "ln <R(t)^2>" (natural log; angle brackets; superscript '2'; 'R(t)' in italics). What is the script for doing that? I.e., what is the appropriate "xxx" in FrameLabel->{xxx}??? Thank you!

POSTED BY: Clint Van Siclen
2 Replies

Something like this?

Graphics[Disk[], Frame -> True, 
 FrameLabel -> {"\!\(\*FormBox[\(ln\\\ x\),
TraditionalForm]\)", 
   "\!\(\*FormBox[\(ln \[LeftAngleBracket]\*SuperscriptBox[\(R(t)\), \
\(2\)]\[RightAngleBracket]\),
TraditionalForm]\)"}, BaseStyle -> {FontFamily -> "Times"}]

My own procedure is this: I compose the formula in a text cell, math inline cell, copy it and then paste it into the input cell within quotes "". The front end asks me "Do you want to wrap the pasted TraditionalFormn expression in a FormBox?". I answer "OK", whatever that means. As for the angle brackets, I use the TeX aliases \langle, \rangle.

POSTED BY: Gianluca Gorni

You solved my problems! Thank you very much!

POSTED BY: Clint Van Siclen
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