- #1
NeoDevin
- 334
- 2
Is there any way to make Mathematica display the variable name in the output?
For example, if I have the following:
By default Mathematica outputs this:
I would like it to instead output something like this:
Or in some other way indicate what variable the output value corresponds to. Often times I have large cells with may lines that I want printed out, so I can copy the values into other documents. With the default output, I have to keep track of which line of output corresponds to which variable, which is a nuisance when there are 20-30 lines of output.
For example, if I have the following:
Code:
In[1]:= A = 1 + 2 + 3
By default Mathematica outputs this:
Code:
Out[1]:= 6
I would like it to instead output something like this:
Code:
Out[1]:= A = 6
Or in some other way indicate what variable the output value corresponds to. Often times I have large cells with may lines that I want printed out, so I can copy the values into other documents. With the default output, I have to keep track of which line of output corresponds to which variable, which is a nuisance when there are 20-30 lines of output.