Tag Info

New answers tagged

0

Just another way using v10 StringTemplate Manipulate[ Plot[Sin[f[[g]] x], {x, -2, 2}, PlotLabel -> TemplateApply[s, g]], {g, Range[6]}, Initialization :> (f = Range[6]; s = StringTemplate["f=<*f[[`1`]]*>"])] If you prefer the traditional form of expressions rather than the version in graphics one way (there are almost certainly ...


2

What you observe is simply because you use a multiplication without noticing it. Basic example: "f=" 2 (* 2 "f=" *) If you look at the full form of this output with FullForm[%] you see that it is indeed Times[2, "f="]. Because the terms in a multiplication are re-ordered by Mathematica, you get the wrong result. The solution is to either use Row like ...


1

You need to specify the actual range of y coordinates using DataRange. Manipulate[ ListPlot3D[ Table[i + j RandomReal[{1, 5}], {i, 50}, {j, 15}][[window - 9 ;; window]], AxesLabel -> {"x", "y", "value"}, DataRange -> {{0, 15}, {window - 9, window}}, Ticks -> {Automatic, tickLabels[[window - 9 ;; window]], Automatic}], {window, ...


0

One very robust way to do such things is using the BoxLanguage of Mma. Your task for example is solved by the construct: SubsuperscriptBox["\[Epsilon]", "2.4", "-"] // DisplayForm placed just where you enter the desired AxesLabel. It can be, however, styled in addition, for example, as follows: StyleBox[SubsuperscriptBox["\[Epsilon]", "2.4", "-"], ...


0

I just wanted to provide this with a complete answer, since I had this very same question. There are two ways to enter both a sub and a superscript, one using the Subsuperscript command (as noted by @Pinguin Dirk), and one using shortcut keys, which is described in the help: To enter a subsuperscript in a notebook, use either Ctrl+_ to begin a regular ...


1

This is not really the answer, but a comment. I need this format to place an image. I think the "Presentations" package of David Park could help. It enables one to draw the text like this:



Top 50 recent answers are included