Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • $\begingroup$ A bit of a hack, this should be supported through a Ticks option no? $\endgroup$ Commented May 13, 2020 at 14:26
  • $\begingroup$ @M.R. It sure should be (indeed that was my first attempt), but I was unable to make Ticks work here, hence the hack, $\endgroup$ Commented May 13, 2020 at 15:20
  • $\begingroup$ So, I did the same hack on my plot and it worked. Now, I need to figure out how it worked. I understand the rule substitution but I do not understand the reason it works. For example, Text[Style[value_Real,{}],opts__] is a pattern match but I would not have been able to come up with that pattern myself. I figure value_Real matches any real value but I have never seen that before "the value part". Also, why the opts__ ? Does this match any options to be used in the substitution (my guess). $\endgroup$ Commented May 13, 2020 at 16:09
  • $\begingroup$ I noted that in my version of Mathematica (should be the most recent) the function SequenceForm is obsolete and no longer exists. It is to be replaced with Row or Text. I am not sure how this SequenceForm adds to the description of the InputForm so not sure how Row or Text would be used as a substitute. $\endgroup$ Commented May 13, 2020 at 16:11
  • 1
    $\begingroup$ @K7PEH The output of InputForm is normally formatted as text and does not allow the usual context-aware selection (e.g. keep clicking with the mouse to expand selection in a syntax aware fashion). SequenceForm makes the output more easily editable. Row does not work as well for this; Text is an acceptable but inferior substitute. $\endgroup$ Commented May 13, 2020 at 16:17