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

learn more… | top users | synonyms

0
votes
1answer
53 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 ...
3
votes
1answer
58 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
2answers
43 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
54 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
25 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
208 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
38 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
51 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
39 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
129 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
43 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
63 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
33 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
38 views

Creating subscripts from a list

I want to use Subscripts to prettify a matrix and started the following way ...
1
vote
1answer
152 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
55 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
42 views

DifferentialRoot

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

Format something Inactive

...
5
votes
3answers
85 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
73 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
33 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
63 views

Eigenvectors with imaginary part

I am working on the following: ...
0
votes
0answers
30 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
48 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
31 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
74 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: $$ ...
1
vote
1answer
77 views

Why does Mathematica remove some formatting?

I'm trying to save a file as PDF. Using SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Printout"] so it looks nice. There are a bunch of formulas, and every ...
0
votes
1answer
106 views

Problem with using GraphicsColumn

I have three plots defined as: ...
3
votes
1answer
71 views

Show Full Output button broken for all large outputs

I use Mathematica 9.0.1.0 on Mac OS X 10.10.3. As an example of my issue, we can follow along with the example from the documentation page for $OutputSizeLimit. ...
0
votes
1answer
58 views

How do I apply a conditional append rule to plot randomly chosen points?

I'm working on an attempt at forming a sort of "Mandelbrot" set using Newton's method and randomly chosen points. Effectively I need to define a loop for Newton's method to determine whether my points ...
0
votes
1answer
70 views

Unexpected results from output with NumberForm and ScientificForm

I wrote this little function to help me export tables with formatted numbers to files: (By the way, if you have suggestions on how to make it more efficient and compact, it would be great) ...
0
votes
0answers
30 views

Is there any way to format the results of Wolfram|Alpha

I have noticed that when getting Wolfram|Alpha results via WolframAlpha[], the output is formatted to (what appears to be) Times New Roman and Helvetica for units ...
1
vote
1answer
108 views

How to get output in a specified format

In Fortran, we can easily get the stardard and easy output format. Now, we only focus on the Integer output. See here How to realize this kind of output as formatted text file using Mathematica ? ...
0
votes
1answer
41 views

Weird subscript name in output [duplicate]

One of my first times using mathematica, I'm getting a weird Subscript(1,0) output when I try to solve a derivative. What is going on and how can I fix this?
4
votes
2answers
113 views

How do I display function application with square brackets in traditional form?

If I type C[x, y] // TraditionalForm I get something that looks like C[x, y] But if I type ...
3
votes
0answers
36 views

Out[x] not the same as assigned expression [duplicate]

There seems to be a difference in the way Mathematica assigns a value to a variable and the way it assigns a value to the next Out object. I don't understand why this is happening. For instance, take ...
1
vote
1answer
47 views

Printing names of indexed variables instead of values

I'd like to display only the variable (indexed variable) name (in symbol form, not in string form) instead of its value in Mathematica. Say I have a variable foo[i] ...
0
votes
1answer
44 views

Simplify huge output or using the output without showing it in full [closed]

I'm trying to solve a system of differential equations. It works fine but Mathematica creates a huge output, which, when shown in full, results in a file size about 100 mb. Using Simplify doesn't work ...
2
votes
1answer
56 views

Mathematica output format

Basically Mathematica is giving me outputs in a format I do not recognise. I've just started Year 12, so there are mathematical terms I do not understand. For example, ...
4
votes
1answer
80 views

Transforming expressions in terms of Csc and Sec to expressions in terms of Sin and Cos [duplicate]

I am writing a code to compute some matrix quantities. The result involves Sec andCsc functions, and I want a form displayng ...
2
votes
1answer
46 views

Is it possible to set Mathematica output to be in InputForm by default?

Mma's output cells are by default in StandardForm. While this has obvious advantages, sometimes it can get annoying, for example when I wish to copy paste the output. When this happens, I usually ...
1
vote
2answers
91 views

How can I control 'TraditionalForm' substitutions and formatting in special cases?

I have eqns = TraditionalForm[HoldForm[Subscript[W, #][#] = ρ^s[#] Subscript[ω, #] ρ^-s[#]],] & /@ Range[4] which (with ...
2
votes
3answers
205 views

Creating an image grid that displays a full-size image when a thumbnail in the grid is clicked on

I am working on some teaching resources and pulled a whole bunch of images off the internet to illustrate the idea of "angle". I can get Mathematica to import them and display them in a nice ...
3
votes
1answer
85 views

TabView Alignment problem for content larger than a view area

When content is larger than ImageSize of TabView then the top edge is cut off even with ...
-1
votes
1answer
37 views

Equation output is in terms of e? [closed]

I have a Mathematica notebook containing the following: ...
0
votes
0answers
31 views

All output in TexForm [duplicate]

In the Preferences -> Evaluation panel, there are only options for StandardForm, TraditionalForm and ...
0
votes
2answers
69 views

Function that creates a table from two lists

I have two lists shown below: list1 = {(0,0,0,0),(0,0,0,1),(0,0,1,0),...,(1,1,1,1)} list2 = {1,5,5,5,...,5} How can I construct a function that outputs a table similar to this: $$\begin{array}{c|c} ...
1
vote
2answers
94 views

Format a formula in human readable form

Is there a way to make a formula display in a human readable form? I have something like Binomial[(10000000 - 1), x]*(1/2^24)^x and I'd like it to display using ...
0
votes
0answers
30 views
1
vote
1answer
27 views

Using MatrixForm in a Manipulate

I have declared some lists vAwG = {{{0}, {0}}, {{1}, {1}}}; psi = {0, 1, 2, 3}; vBwB = {{{1}, {0}}, {{0}, {1}}}; and created a function ...