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

learn more… | top users | synonyms

1
vote
2answers
53 views

How can I remove the decimals in the frame ticks?

Is there any way to remove the decimal places in the frame ticks. I would like to make the y axis ticks integers. I use the following code. My only problem is how to manipulate the y axis without ...
0
votes
0answers
49 views

Is there a better way to get nice looking equations in output?

I use Mathematica regularly for my schoolwork, however it's arduous to use TraditionalForm[HoldForm[f[x]==x]] every time I want it to spit out a good-looking bit of ...
3
votes
1answer
41 views

Change Property without re-evaluating [duplicate]

I am working with ContourPlot3D, and my expression takes a long time to evaluate (nearly 20 minutes). So I am wondering if there is a method to changing format ...
8
votes
2answers
97 views

How to sort arguments of Times in nonstandard order?

Is there an elegant way to sort the arguments of Times in e.g. TraditionalForm so that factors go to the front and state ...
-2
votes
3answers
63 views

Formatting Tables in Mathematica [closed]

Ok, I created a table Table[j, {i, 4}, {j, 3}] // TableForm and the result is fine, from 1-4 in each column. Now, what if I wanted to extend this table into ...
0
votes
3answers
76 views

Do not expand matrices in Mathematica calculation

Here is an example of a problem I'm having. Consider that I have defined: omega={{p[t]},{q[t]},{r[t]}} x={{a},{b},{c}} R={{1,2,3},{4,5,6},{7,8,d}} What I would ...
3
votes
1answer
69 views

Engineering notation in mathematica 10 [closed]

It seems there is a bug in Mathematica 10.0.2 which is unable to display EngineeringForm properly: ...
1
vote
1answer
61 views
2
votes
0answers
22 views

Constructing new output object graphics [duplicate]

Occasionally, when you ask Mathematica to carry out a task for which there is no good compact representation for the output, it will generate a special icon in v10, or an abbreviation in lower ...
4
votes
1answer
61 views

How to set default PageWidth for InputForm?

We can control the page width used by InputForm by applying SetOptions to "stdout": ...
1
vote
1answer
56 views

Displaying a matrix with integral entries

I have a matrix nxn with coefficients a[i,j] like: a[i,j]=NIntegrate[T[r], {r, -le, le}] - NIntegrate[T[r] Abs[r]/le, {r, -le, le}] I can solve the matrix but I ...
10
votes
5answers
214 views

Tidy form of numbers with errors using ScientificForm

Say I've computed something and got a number 0.02112398 with a computed error: 0.000331 Formatting it with ScientificForm[0.02112398 \[PlusMinus] 0.000331] gives ...
5
votes
1answer
68 views

Customized FortranForm output

Let's take the following example V = (-G*Mn)/Sqrt[x^2 + y^2 + z^2 + cn^2]; Vx = D[V, x]; FortranForm[Vx] The result is ...
4
votes
2answers
76 views

How to scale multiple graphics to preserve relative sizes?

I'm looking for a simple way to make the displays of different Graphics expressions accurately reflect their relative sizes. (By "simple" I mean that it does not ...
5
votes
1answer
118 views

Set PlotTheme globally?

Can one set a default PlotTheme globally? While I recognize one can make lots of workarounds to sort of do this: Go to ...
2
votes
1answer
62 views

Change Tensor Product symbol for aesthetically pleasing output

I'm trying to find a way of keeping an ordered list of subscripted integers which can be outputted in an aesthetically pleasing way to make analysis easier. The idea is to have a list of numbers that ...
7
votes
1answer
82 views

Prepare mathematica output to be parsed in Python

I have Mathematica output that I would like to parse in python so I can generate equivalent expressions. So suppose I have the following: ...
5
votes
1answer
108 views

How to specify the square-bracket analogue of MatrixForm?

MatrixForm uses "round brackets" as delimiter. These are like parentheses, but contrary to "regular" parentheses, they stretch vertically to accommodate the height ...
0
votes
0answers
45 views

Output of List formatted strangely

I'm running a monte carlo simulation which uses random input data and performs calculations on it, and then outputs a 100 by 100 sized array with my data. The code works without a problem but for some ...
0
votes
0answers
30 views

Mathematica hangs when computing page breaks

I'd like to set pagebreaks in my notebook according to my needs. But now I have huge problem with see print preview or saving as pdf because it gets stuck during computing page breaks on several dozen ...
2
votes
2answers
41 views

Format polynomial output for cutting and pasting into a text file

Suppose I have the polynomial given by the determinant of this matrix: matry = {{1 - R, 3, -3}, {1, 0 - R, 0}, {0, 1, 0 - R}} I am feeding the Mathematica output ...
2
votes
1answer
52 views

Change cell frame color in stylesheet

I am tryin to make a custom stylesheet but I am not able to get rid of the cell frame color from the base stylesheet. In particular I have, where I have changed the background color of the cell to ...
0
votes
2answers
111 views

Formatting the results from solving a differential equation

{{x[t] -> 600 (t + I π t - 50 Log[50] + t Log[50] + 50 Log[50 - t] - t Log[-50 + t])}} After solving a differential equation, I get an answer in a form where I ...
0
votes
1answer
56 views

Showing all Digits

What is the simplest method to display all digits by adjusting this code? t = Table[1 + 10^(-n), {n, 1, 10}] // TableForm Output: 1.1 1.01 1.001 1.0001 ...
4
votes
1answer
68 views

Continuous background color of adjacent cells

I'm trying to make continuous blocks of cells so that their background colors are the same, but without breaks of white space between them. E.g. After some recent digging, I found the option "Show ...
2
votes
1answer
47 views

How to write a function that returns the combined output of several built-in functions

I am trying to make a module that takes a Boolean function, and prints the following: the function's truth table the function's NOR epxression the function's minimal Disjunctive normal form So far ...
1
vote
1answer
62 views

Import a jpeg file and a mov file and display them side by side

I am planning to use Mathematica for a presentation. In one of the slides I need to place a jpeg file side by side to a mov file. ...
0
votes
0answers
28 views

Give the result in separate lines

I have the following command Reap[Do[If[GCD[i, 7280] == 1 && Mod[729*i, 7280] > i, Sow[{i, Mod[729*i, 7280]}]], {i, 0, 7280}]] which gives pairs ...
2
votes
2answers
229 views

How to make Mathematica show matrices and vectors nicely

It shows me like {{0}, {1}, {0}, {-1}} . Is it possible to make it look like a vector, always?
4
votes
2answers
49 views

How to print unevaluated arguments in the form they were originally typed in?

I'm looking for a way to print a function's arguments, not only unevaluated, but also in the way they were originally typed in. By way of experimentation, I tried stuff like this: ...
1
vote
3answers
83 views

how to create, print and use variables using a loop in Mathematica?

I want to create, print and be able to use (i.e. do symbolic operations) variables in Mathematica using a for loop or equivalent. So, I have a bunch of variables of this form: $$dS_i = -\beta_i ...
1
vote
1answer
44 views

Button labels in different platforms

if someone has Mathematica on a mac or a Linux system, could you please evaluate this code: ...
3
votes
2answers
137 views

Alignement of text

I adopted the following clever code from Mr. Wizard (see here ). HoldForm[+##] & @@ RandomInteger[100, 2] I want to prepare a practising table of addition ...
0
votes
1answer
62 views

writing data in defined format into file

I have a code that writes datas into file using PutAppend[]. A simple form of the code is written below, ...
0
votes
2answers
69 views

How can I put the results of TrigFactor function into a more convenient form?

a1 D11 Cos[n x] + a0 a1 D11 Cos[n x] + 1/2 a1 a3 D11 Cos[n x] + 1/2 a2 a4 D11 Cos[n x] I have a large trigonometric expression. Can I factor out different ...
1
vote
0answers
35 views

Partial Differential Formatting by default

I read http://blog.wolfram.com/2011/12/15/mathematica-qa-series-converting-to-conventional-mathematical-typesetting/ and I could use pdConv mentioned there, or ...
1
vote
2answers
45 views

Creating subscripts from a list

I want to use Subscripts to prettify a matrix and started the following way ...
1
vote
1answer
249 views

How to plot a 3D surface from an Excel matrix, using column and row headers as axis labels

I am trying to use Mathematica to plot a surface chart similar to the ones that are created from Microsoft Excel. The point is to be able to easily colorize and manipulate the plot by free 3D ...
0
votes
0answers
62 views

Interpreting Mathematica output or producing cleaner output

Could someone please explain what the following would look like in standard math notation (or explain to me what this means): ...
0
votes
0answers
46 views

DifferentialRoot

I want to obtain y(x) of following answer with mathematica: and my code is ...
0
votes
0answers
59 views

Format something Inactive

...
5
votes
3answers
93 views

How to label only leaves in TreeForm?

I have a Huffman encoding represented as a list in the following manner: encoding = {{{w, d}, {o, s}}, {{{e, q}, a}, {i, j}}}; This means that ...
0
votes
1answer
77 views

Why does my function return an expression rather than a number? [closed]

I feel like I'm going insane. I have a function $f(x)=e^{-x^2}$ which I need to evaluate using forward, backward and central first order finite differences with intervals ...
2
votes
1answer
41 views

Cannot normally underline slash characters and hyperlinks

Really, if you evaluate Style["/", Underlined] or type / and set the font of the character to be underlined through Format|Font..., you get $/$, not ...
1
vote
1answer
65 views

Eigenvectors with imaginary part

I am working on the following: ...
0
votes
0answers
31 views

Problems with my units? [duplicate]

I have my own unit is called "Euros" Input:5 Euros -3 Euros Output:2 Euros Input:5 Euros - 5 Euros Output:0 How can I make to get 0 Euros? Output: 0 Euros->That I want to get.!!!!!!!!
0
votes
1answer
54 views

Is there a function or option to collect factors under one radical sign?

One of the things that frustrates me most about Mathematica's symbolic manipulations is the fact that output is often presented quite differently than most humans would write it. This is especially ...
0
votes
0answers
35 views

How can I export a notebook into multimarkdown?

Mulitmarkdown (.md filetype) is a very nice document format that supports rendering mathematical expressions like latex or mathml, rendering syntax highlighted code blocks for any language, as well as ...
3
votes
2answers
75 views

Two bit strings represented as lists – how to color differing bits as red while printing?

Assume the following code generatedMsg = {1, 0, 0, 0, 1, 1, 0}; transmittedMsg = {1, 1, 0, 0, 1, 0, 0}; Now, I want to print out something along these lines: $$ ...