Specify and control how Mathematica formats its output, including rich text, equations and graphics.

learn more… | top users | synonyms

1
vote
2answers
171 views

Changing order of TeXForm output

I am creating Taylor polynomials and exporting them using TeXForm. When a polynomial p[x] is displayed in Mathematica, it shows, ...
1
vote
2answers
95 views

What is the default file path used by the Put function and how do I pre-evaluate an expression to use in Put?

I have a problem of trying to store some output in an external file. In one note book I define a function f[x_]:=AdvancedCalculation, where this function generates ...
1
vote
1answer
40 views

Financial number format

How can I change this function: nFormat=NumberForm[#,{\[Infinity],2},NumberPoint->",",NumberSeparator->".",DigitBlock->3,ExponentStep->10]&; So ...
1
vote
2answers
199 views

Convert a number to a string to use in plot axes label, but keep the exponent

This seems to be a simple, but useful question. I am plotting a basic function: ...
1
vote
1answer
95 views

Appropriate application of plotstyle directives

I am attempting to style a Plot in which all of the lines are Thick and I have selected the colors manually: ...
1
vote
2answers
146 views

Help on output formatting

Again, I am writing homework sheets. I have tried ...
1
vote
1answer
111 views

Removing the white space around plots when using customized FrameTicks

I'm using the CustomTicks package, which is part of the LevelScheme package, for styling the ...
1
vote
1answer
89 views
1
vote
1answer
119 views

Solving Heat equation [closed]

I want to compute the exact solution of the heat equation but I got an error. u(x,t) (equation of transmition of heat) is the solution of this differential equation: $$du/dt - \alpha d^2u/dx^2 = 0$$ ...
1
vote
2answers
174 views

ListLinePlot x-axis units label

If I want to label the $x$-axis of a ListLinePlot , how do I do that? There are two types of label: a units label which would go to the right of the axis, and ...
1
vote
1answer
68 views

Transpose a ragged triangular matrix and display as columns rather than rows

I have a triangular list of lists as follows: ...
1
vote
2answers
80 views

The order of the result $x^2 \left(b-\frac{a}{2}\right)+(a-2) x^3+\left(2-\frac{b}{2}\right) x+4 x^4-1$ [duplicate]

Can you explain me a little how Mathematica sort this result, and how to sort in descending powers of $x$ ...
1
vote
2answers
172 views

Output format in MatrixForm

I have a correlation matrix, which I want to display in the following format: 2 decimal places (e.g., -0.56) number signs "+" and "-" (e.g., +0.76 or -0.34) I've tried many different things, but I ...
1
vote
1answer
277 views

How to copy/paste an OverHat symbol into Microsoft Word 2010 properly?

I have problem with output traditional form of sign above the constant. When I copy/paste in word it is far away up. Is there solution for this? ...
1
vote
1answer
462 views

How to export CSV from Mathematica?

I have previously been using logf[x_, y_] := f[x, y] /. v_ :>(PutAppend[Unevaluated[f[x, y] = v;], "out.txt"];); which produces output like ...
1
vote
1answer
39 views

Formatting All Appropriate Output as Desired Automatically

I want to output in MatrixForm whenever I have a list/vector/matrix, but I do not want to have to type out the command each time. How can I write one command at ...
1
vote
1answer
63 views

How to operate with function body without evaluation

I have several functions (let a[x] and b[x]), defined as expressions with integrals and differentiations. I want to perform some ...
1
vote
1answer
59 views

Avoid unnecessary truncation

Is there any way to change the general settings in Mathematica so that when I type e.g. 0.34*60000000 I get the output ...
1
vote
2answers
118 views

How can I make notebook cell's background become transparent?

How can I make notebook cell's background become transparent? And can be saved as html with the translucent or transparent effect? One of the use is in HTML files, the background of cell hides the ...
1
vote
3answers
152 views

iterate method to find roots

This code gives the roots (lambda-values) of eq1 by using iteration. ...
1
vote
1answer
53 views

Set Page Width of PDF

I have a very simple question. I am using the student version of Mathematica 9, and I often do my homework in it. I type up a notebook, and then save it as a PDF using the "save as" option. However, ...
1
vote
1answer
32 views

MatrixForm control inside Row[]

I would like to pretty print two column vectors of different lengths so that they are aligned at the top rather than centered, which seems to be the default. For example, ...
1
vote
1answer
95 views

Rounding only reals in an expression containing, reals, integers and symbols

I am trying to make a function that would make rounding real numbers in an expression possibly consisting of real numbers, integer numbers and symbols. An example of such an expression is below: ...
1
vote
1answer
151 views

How to convert equations to piecewise form

equations={{2 u,2,1+t,1}=={a c,a b+c,a+b,1},{u,t,0,1}=={c d,c+b d,b+d,1}}; Thread/@equations//TraditionalForm equations was typed to do some ...
1
vote
1answer
103 views

How to apply multiple format to a list

I have a nested list like matrix = {{1.2345664, 2.38673956, 3.567846}, {0.00034554, 124.4554654, 6.34543}, {0.0000233, 244.34454, 2}} and I want to apply ...
1
vote
1answer
81 views

Trig angles simplifying in worksheet

I would like to generate a table of trig questions such as: ...
1
vote
1answer
200 views

Export image data precision

I'm sure there is a very easy way to control this, but I have been searching for an hour now without luck. I plot a function and export it to get a table that I can use in TikZ. ...
1
vote
0answers
24 views

Ordering the Terms in an Expression [duplicate]

Why does Mathematica almost always put subtractions as the first term in a summation (as a negative summed with the rest)? How do I circumvent this feature so that every occurrence of "-" follows ...
1
vote
0answers
62 views

Symmetric FrameMargins problem

Such details are driving me crazy while creating GUIs with Mathematica: ...
1
vote
0answers
129 views

Symbol with Subscript but no quotes in it!

If I use the following function to define me a fancy subscript: ...
1
vote
1answer
91 views

Printing intermediate calculations in an external file, while suppressing the output in the notebook

I'm trying to construct a text-file that contains all the operations that Mathematica performs when evaluating an expression. However, i'd like to suppress all output in the notebook in which I'm ...
1
vote
0answers
74 views

Notebook output behaving erratically

Normally, when reevaluating a cell, the following output cell is overwritten with the new result. I have a lengthy notebook in which at some point for unknown reasons each reevaluation generates a new ...
1
vote
0answers
103 views

TableForm behavior change

In an older version NoteBook, I was able to specify some options for TableForm, which enabled the printing of an expression in a simple fashion: ...
1
vote
1answer
102 views

output format including complex numbers [closed]

I have the following output. How can I convert this unnecessarily long expression into a single result (like z=u+iv) ? $\frac{(\text{} (0.0000540641 +0. i)-(0.0000422121 -0.0000372664 i)) ...
1
vote
0answers
144 views
0
votes
3answers
240 views

Removing -> from list of numbers [duplicate]

Possible Duplicate: Best way to extract values from a list of rules? If I have a vector v = {x->1.03, x-> 2.01, .... }, and I want to use an element in the list, I can get an element as ...
0
votes
2answers
547 views

How to generate table without comma and bracket or get rid of those?

I want just data without comma and brackets. Even TableForm is not working for me. For example, the general pattern of my table is ...
0
votes
3answers
225 views

How to get back name of the number from Max function? [duplicate]

So I have this question, using a toy example: a={1,"this"}; b={2,"that"}; result=Max[0,a[[1]],b[[1]]] the result will be 2. However what I want to obtain is ...
0
votes
2answers
160 views

Sum of roots of a trigonometric equation

The equation $$ \sin x + \sqrt{3} \cos x = 1,$$ where $x \in [-2\pi, 2\pi]$ has four roots $-\dfrac{3\pi}{2}$, $\dfrac{\pi}{2}$, $\dfrac{\pi}{2}$ and $\dfrac{11\pi}{6}$. Sum of roots of the given ...
0
votes
3answers
50 views

Printing the base 'b' value of an integer as a string (without the subscript base indication)

Is there a simple one-liner to convert a given base 10 integer to a string representation of this integer in some desired base 'b'? Is there a way to do this avoiding the subscript indicating the ...
0
votes
2answers
61 views

Hide function arguments (from unknown functions) for simpler output [duplicate]

How can I print my expression with my function's arguments hidden? For example: exp=A[r,z]+B[s]^2; HideArgs[exp] Output: ...
0
votes
2answers
103 views

Put results in multiple columns for comparison

One thing I would like to do in many instances is arrange input/output in columns for comparison. I expect that I need to use Grid to do this, but have not been ...
0
votes
1answer
116 views

Plotting blends of colors over lists of lists in 3D

I have a list of lists containing spectral data, many thousands of points long. Each sublist contains 13 parts, and I need to plot them in 3D with a blend of RGB colors derived from the spectral ...
0
votes
1answer
176 views

Giving value to a constant so that Mathematica simplifies the answer without having to do the whole operation again

I am doing some nasty integrals trying to fill in a matrix, and to save computation time, I set my hbar to be a constant of undefined value, so the answer it spits out consists of a real number plus ...
0
votes
2answers
127 views

How to get special solutions of this system of equations?

I only want to get all the solutions of this system of the solutions with a value of $k$, we have the same values ​​of $m$ ...
0
votes
1answer
50 views

Combine multiple outputs into a pane [closed]

Probably unnecessary detail: So here's what I'm envisioning. I have several outputs from different calculations (perhaps several ListAnimated tables of GraphicsGrids of plots). In one, I did all the ...
0
votes
2answers
143 views

Unwanted parentheses appearing in a notebook that is opened by a button

I am writing an interactive document and have an idea to make in-line buttons that on demand would create and bring up separate notebooks containing some explanations or a remindings. One example of ...
0
votes
1answer
78 views

How to delete duplicate solutions of this system of equations?

I want to find vertices (has integer coordinates) of the triangle $ABC$ with the centorid is $G(1,1)$ and orthocenter is $H(3,3)$. I tried ...
0
votes
1answer
32 views

Substituting a function in the output

I have to calculate the derivatives of the function K defined in the code: ...
0
votes
1answer
47 views

Customize TableForm behavior for a single function

I have a function of this form Garch[a,b,c....] that gives me a list as an output,where the first column collects names of output variables. Is it possible ...