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

learn more… | top users | synonyms

2
votes
1answer
65 views

How to create a Text with certain size given in a specified way?

I have some text and I would like to show them in some order in Graphics, but I want them to be in certain size so it will looks good. (Primarily for improving my ...
1
vote
1answer
21 views

Size of headings for a table with graphs

I want to change the size of the heading of a table that includes graphs and am having no luck. The command I am currently using is ...
0
votes
0answers
14 views

How to type greek letters on mathematica.stackexchange [migrated]

I usually ask questions on this website, and many of them contain greek letters in the code part. For instance: \[CapitalTheta]=0 After a while, someone edits ...
13
votes
2answers
394 views

Disconnected Frame/Axes in Plots

Is it possible to have "Tufte" style figure axes? That is so that the axes do not need to connect or span the entire data range? For an example of what I mean from the R's default histogram style: ...
1
vote
1answer
62 views

Einstein summation and traditional form of partial derivative of implicit function

I am quite new in Mathematica (1 week new) and after many trials I did not manage to make my partial derivatives to look traditional way. There are few topics such as How to make traditional output ...
10
votes
2answers
2k views

How to make traditional output for derivatives

Hello again after some pause. i have a problem how to present partial derivatives in traditional form, not as Mathematica gave it to me in its notation. So I want to present this ...
1
vote
0answers
23 views

Make a .C3D file in Mathematica

I have two different groups of points in an excel file, which are captured by two different cameras from two different angles (Motion Capture Process). These points are extracted by using markers on a ...
18
votes
6answers
2k views

Annoying display truncation of numerical results

I have a lot of data to inspect. An example of a number in my program is 123.189094 This gets displayed as 123.189 ...
4
votes
1answer
291 views

How do I edit the background of Axis labels in my plot?

I'm using the standard report stylesheet in Mathematica and when I output a plot, I've set it up so that I get a white background, however the axis labels still have a gray background. How do I change ...
10
votes
1answer
112 views

How to Copy formatted code without backslashes added?

By default code copied from the FrontEnd is formatted with backslashes added at the ends of lines. For example, evaluating in a Notebook Range[40] and copying ...
6
votes
1answer
103 views

TeXForm output in a tabular environment

As far as I can see TeXForm of a matrix produces LaTeX arrays, which assume LaTeX is in math mode. However, Mathematica can be used to produce whole tables ...
1
vote
0answers
24 views

FormBox in pretty strings

My goal is to write usage messages in the same style as Mathematica's built-in ones, such as List::usage. This involves a mess of ...
0
votes
1answer
91 views

Interpreting Mathematica output or producing cleaner output [closed]

Could someone please explain what the following would look like in standard math notation (or explain to me what this means): ...
8
votes
1answer
140 views

Is it possible to Print into a collapsable CellGroup?

During rather long computation I have intermediate steps Printed with useful information which should be collected for possible use in future inside of the ...
2
votes
2answers
124 views

How to plot an Eddington-Finkelstein diagram

I need to plot the same thing as what is shown on the third picture of the site below (sorry, I'm unable to poste that picture here) : http://ion.uwinnipeg.ca/~vincent/4500.6-001/Cosmology/...
5
votes
1answer
105 views

How to copy formatted numbers as MathML without extra quotes?

I have the following code: a = 6.08717*10^6; b = a/3; c = a*1.5; d = a^2; matrix={{a, b, c, d},{b, c, d, a},{c, d, a, b},{d, a, b, c}} // EngineeringForm ...
18
votes
2answers
310 views

Understanding evaluation and typesetting

Background So, one could be surprised by the fact that: Hold @ Grid[{{1, 2}}] (*or*) Hold @ Graphics @ Disk[] This issue and methods of prevention are ...
9
votes
3answers
1k views

How to change an expression to Fortran90 form?

I have a large expression produced by Mathematica. To use this expression in my Fortran program I need to change it to a Fortran90 form. I am not satisfied with the ...
3
votes
1answer
100 views

Can evaluation show what was evaluated along with results? [duplicate]

After I write and evauate the following lines in Mathematica: a = 1 b = 2 x = a + b It will show only the result : 3. I want mathematica to show the following ...
16
votes
3answers
222 views

What does the symbol Continuation do?

There is a symbol Continuation (residing in the System` context). There is no usage or documentation for this symbol. ...
6
votes
4answers
107 views

Multiple output cells, suppressed by semicolon

I'd like to write a function that outputs multiple cells, as in Multiple output cells, but not when the function is called with a semicolon at the end. Any idea how?
6
votes
4answers
219 views

Getting AbsoluteTiming to display in hours, minutes, and seconds

I'm doing some extended length calculations and was wondering how I could get AbsoluteTiming to display in hours, minutes, and seconds. I googled and found nothing, ...
9
votes
3answers
1k views

Why does N[1.000 01, 10] return 1.00001, but N[1.000 001, 10] returns only 1.?

Why is it so? When I ask for N[1.00001, 10] I get quite reasonably 1.00001 But when I ask for ...
6
votes
1answer
82 views

Visualize Pascal's triangle with the product of the terms in the $n$th row

How to make the following graphics by using Mathematica? What I tried: I used J.M's answer for the Pascal triangle ...
49
votes
8answers
2k views

How to “Copy as Unicode” from a Notebook?

I spent some time manually editing a post replacing Mathematica ASCII \[Alpha] with Unicode α. I did this by laboriously ...
13
votes
2answers
638 views

Automatically add appropriate prefix to Quantity

Is there a function that automatically adds the appropriate prefix to a Quantity object? For example, I would like a function ...
2
votes
1answer
101 views

Can I improve this sloppy code used with Manipulate?

I'm not an advanced user of Mathematica, and yet I managed to get the Manipulate command work to do something interesting. The problem I have is that I have the ...
2
votes
1answer
67 views

Save a fraction matrix in Mathematica into C++ friendly format

In MMA I have a 2d matrix whose each entry is a irrational number(in fraction format in MMA). Say: ...
24
votes
2answers
4k views

Way to improve “show me this decimal number to M places, don't use scientific notation”?

The best way I can come up with to say "show me this fraction as a decimal number to M places, don't use scientific notation" is: ...
15
votes
2answers
203 views

How do I use the third and fourth arguments of Parenthesize?

Parenthesize seems to do a good job with constructing boxes that need to be appropriately parenthesized: ...
4
votes
3answers
179 views

Using different style on segments of a plot [duplicate]

Is it possible to plot a function with two different colors? To illustrate, let's have: Plot[Sin[x], {x, 0, 2 π}] which plots a curve. And I would like it to be ...
3
votes
2answers
151 views

How can I get LogIntegral[z] to be printed as “li[z]”?

I have no problem with the current formatting of the function, but for the sake of the reader less familiar with Mathematica functions, is there a way to define, say, ...
5
votes
1answer
54 views

Using TraditionalForm to express equations

I have a notebook in which a couple of partial derivatives are calculated. At the time of publishing this notebook, I'd like to make the resulting equations look the way they would in standard ...
0
votes
1answer
39 views

Sum over abstract value

My plan is to write a sum over an index. Currently I write Sum[f[OverTilde[q]], OverTilde[q] ∈ Subscript[l, i]] but Mathematica always tells me that "The ...
5
votes
1answer
104 views

To style Sound object

While doing some signal processing research my aesthetic feelings were heavily struck by following output: The problem here is that 211.96 s label is partially ...
6
votes
2answers
128 views

Bar chart scale in multi-chart visualisation

This is a rewording of a previous question which probably wasn't very well explained, and so didn't get any responses(!). I'm trying to create a chart which shows the smooth kernel distribution of ...
2
votes
1answer
69 views

Using Mathematica to batch-produce text files

I need to make a bunch of plaintext files, all of which differ only in a single parameter. The text I want to "copy" or "batch produce" is a little bit complex, since it contains quoted areas and ...
2
votes
1answer
71 views

Output short denominator as pre-factor

How can I make the output print like the input, with the short denominator written as a factor in front of the long expression? I was messing with styles earlier today to do something else, and at ...
2
votes
1answer
33 views

Delete Cell Inside of Module

I want to print a dynamic output while some code is running and then automatically delete it when when the output is done. PrintTemporary is not quite what I am looking for -- I want the output to be ...
3
votes
2answers
99 views

Are there any code which just derivative of piecewise function(same distence)?

I wrote this code: Piecewise[{{x^2, 0 <= x <= 1}, {x, x <= 4}}] and I got derivative of this code: ...
3
votes
2answers
74 views

How to set global style of controls in Manipulate?

I created a Manipulate code which is using several sliders, with the same font output (style, size, font familly, ...). How can I save some space by defining a global style for all the slider ...
2
votes
0answers
31 views

Indenting Bulleted List in Notebooks [duplicate]

I am writing a paper using Mathematica Notebook and need to create a bulleted list. I saw this answer (Indenting bulleted lists in notebooks) and was able to create a new stylized notebook with the ...
6
votes
1answer
44 views

Heading in Table Form Question

I have: modadd = Table[Mod[i + j, 3], {i, 0, 2}, {j, 0, 2}]; TableForm[modadd, TableHeadings -> {{0, 1, 2}, {0, 1, 2}}] Which produces: How can I put a ...
28
votes
1answer
340 views

How to speed up TextJustification in Mathematica 10

Based on this question: - Version 7 print environment - I set up two 10 page test documents in version 7.0.1 and version 10.1. The version 7 document exported to PDF in 4.18 seconds whereas the ...
0
votes
0answers
44 views

CForm and Piecewise

I am trying to use Mathematica to evaluate a long function and I would like to export the result to C using CForm. However, my function is a ...
2
votes
2answers
43 views

Output lists with new line for each record element [closed]

When Mathematica outputs nested lists, it just gloms one record right after the next record and it wraps around in the space available, for example: ...
1
vote
1answer
42 views