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

learn more… | top users | synonyms

5
votes
3answers
457 views

Writing Mathematica's Root function output in a academic paper form

I need to write the following (which is the result of a Solve command I ran in Mathematica) in an academic journal paper: ...
3
votes
2answers
152 views

How to expand error messages truncated by Skeleton (<< >>)

I have a command that gives me an error message with lots of abbreviations like Power[<<2>>]. Specifically, I get Sorry for the bad formatting, I don'...
0
votes
1answer
44 views

How to use a PopupMenu in Manipulate? [duplicate]

I need to build a Manipulate to show one of several functions in 3D. The functions should be selected in the Manipulate box using a PopupMenu, but the documentation isn't very helpfull on this. So ...
0
votes
0answers
39 views

Changing default display behaviour for Dataset

I have a function (whose code is in this site) to display Dataset in a more convenient way. To the extent that I never use the default one. I find myself constantly ...
2
votes
1answer
29 views

How to change the number display of output from RecurrenceTable

Is there a way to change how numbers are displayed in the output from RecurrenceTable? ...
3
votes
3answers
120 views

How to remove the white border in Manipulate?

Is it possible to remove the default white space around a 3D graphics, inside the Manipulate box ? Here's a small MWE to show the white border I'm talking about : ...
7
votes
1answer
67 views

How to ask Mathematica to display all the logarithms (in output) in base 2?

Instead it always displays in base $e$. Very often I need to do a lots of things with mixed expressions having some $\log_2$ terms. But Mathematica always convert every $\log_2$ into $\ln$. So I was ...
5
votes
2answers
83 views

Hiding independent variables of a function in Traditional Form

I would like to perform a computation which involves fourth-order derivatives of a composite function of four variables. I am defining my function as ...
6
votes
2answers
126 views

How to horizontally center a button in manipulate?

I just need to center a button in the MWE code below. Currently, all I try doesn't work. I would like to horizontally center the button relative to the sliders over it, for aesthetical reasons only. ...
1
vote
0answers
39 views

How can I change the way a Head is printed on the notebook? [duplicate]

Consider the following simple example: Interpolation[{0, 1, 2, 3}] Despite the FullForm of the output of this expression is ...
3
votes
0answers
103 views

Obtaining a Previously Constructed Function as Desired Output

I was playing around with some Generalized Trigonometric Functions defined as follows; ...
2
votes
1answer
32 views

Conditional Formatting based on Option

Consider the function Foo[symbol_String, opt:OptionsPattern[]] which has as one of its options Label which defaults ...
5
votes
1answer
41 views

How to order terms in a polynomial in two variables negative lexicographically

I have several polynomials in variables p and q, each term in which has total degree n, a constant. I would like to output the polynomial in increasing powers of p (and hence decreasing powers of q), ...
1
vote
0answers
40 views

How to hide arguments of a function in traditional output?

There are some interesting suggestions concerning how to hide function's arguments in output (Hide function arguments (from unknown functions) for simpler output) and how to make traditional output ...
3
votes
1answer
72 views

How to align text to left and output to right, in manipulate?

I need to show a layer of information on a 3D graphics, inside a manipulate box. Currently, all the code is working great, except that the text should be aligned to the left, while the output numbers ...
1
vote
2answers
85 views

How to add text with output on a 3D manipulate

I need to add a string of text with some output data at the bottom-center of a manipulate output. The manipulate output itself is 3D. Here's a MWE to work with : ...
0
votes
1answer
50 views

Grid with recurrence relation terms

I want to get the recurrence relation for several values of n in a grid form. At the moment I am using ...
2
votes
1answer
63 views

Exponential number with negative base? [closed]

Consider the following number: (-1)^(2/3) I want to get output in real field, equal with: (-1)^2 = 1, 1^(1/3) = 1 Thus <...
1
vote
1answer
72 views

Double arrow in the outcome

Does anyone know how do I get rid of one of the double part at the start of the outcome rh-> rh-> ...
0
votes
1answer
67 views

NumberForm pesky warning from Manipulate

I'm using the NumberForm command inside a Manipulate environment, and in some special cases Mathematica gives a pesky and mostly useless warning message : NumberForm::sigz: In addition to the ...
1
vote
1answer
46 views

Formatting the prime factorization of expressions

I have a series expansion in $x$ and $a,b$ are constants which I want to type in $\LaTeX$. But the numbers/integers are pretty large (have a lot of digits) so it becomes a bit messy in $\LaTeX$. ...
14
votes
1answer
227 views

Grid cuts my images

Bug introduced in V9.0 or earlier and persisting through V10.4.0 pic2 = ImageResize[ ImageCrop@Rasterize@Graphics@Disk[], {Automatic, 40}] ...
1
vote
2answers
51 views

change the output of Print command in Article style

I am working with the Article-style. How can I change globally the output of Print command? For example typing ...
1
vote
2answers
61 views

styles and print and output

I know I can use styles to change how the result of Print looks. But I have a case where I use Print to display some ...
2
votes
1answer
63 views

Why the curly bracket? [closed]

Why are there the curly braces in the output of DY = {{Cos[ay], 0, Sin[ay]}, {0, 1, 0}, {-Sin[ay], 0, Cos[ay], 0}}; DY // MatrixForm It looks inconsistent ...
0
votes
1answer
65 views

How can I get Mathematica to print ConjugateTranspose[c] as $c^{\dagger}$? [closed]

Is there some kind of pretty print option that I can use? I'm writing down a lot of matrix elements. They would print out much more concisely as $c^{\dagger}$ than as ...
3
votes
2answers
88 views

Frame with round corners does not look the same in Working and Printout environments

I want to generate some graphics that contain framed texts with rounded corners that display correctly in the Working and ...
1
vote
1answer
84 views

change color of the face in a 2D ConvexHullMesh [duplicate]

If I say tri = ConvexHullMesh[{{0, 1}, {1, 1}, {1, 0}}] a triangle is rendered in blue. How can I change that color? An answer to an earlier question suggested ...
2
votes
3answers
81 views

How to express Log[b,x] in traditional format in Epilog without changing to base e

I'm having difficulty understanding how to express text in epilog that is dynamically updated using Log[b,x]. Mathematica changes this to base e but I would like ...
5
votes
2answers
134 views

How to transform the output of FactorInteger to a traditional format?

I changed the FactorInteger output to a format which is more suitable to my needs. I used: ...
4
votes
3answers
160 views

Dynamically updated text in Graphics

I created a Manipulate function that graphs a line along with its formula next to its graph. But the formula doesn't display what I want. As I use the controls sometimes I'll get the slope or the y-...
3
votes
2answers
323 views

Represent a positive integer as a product of its factors

I am trying to illustrate some simple ideas with exponents. I can manually express something like $5^4$ as $5 \cdot 5 \cdot 5 \cdot 5$, but wondered how to get Mathematica to do that for me. I ...
6
votes
2answers
104 views

How to recover “pretty” format after split?

I'm doing this: And get this: But what I wanted is: How can I get the desired output? Is there a way to recover the format from the cryptic output? Note: my "real" list is way longer than ...
4
votes
1answer
57 views

Export data with the number form but is not same as shown in notebook

I want to export data nicely with NumberForm, However it displays Ok in the note book, but not the exported file. Here is the code: ...
3
votes
1answer
56 views
1
vote
2answers
71 views

Why is output arranged in grid fuzzy (especially when printed)?

If I arrange output in a Grid, which is nice to summarize work, the output ends up greyed (or not bold?) compared to regular output. Here's an example: ...
3
votes
1answer
69 views

Convert an expression to use a specific analytic form

I have an expression that evaluates to an expression containing multiple ExpIntegralEi expressions. However, I would prefer that Mathematica use ...
1
vote
1answer
45 views

Output form option for symbolic or decimal form

How do I set up a function's options so that the function returns its results in either the exact form (default) or with N decimal places?
1
vote
1answer
61 views

How to add a `Style` string or `Hyperlink` in CloudDeploy?

There are two wrong code like this: The first problem is I want to put the red string to Title. ...
1
vote
1answer
102 views

Output arrays in format that can be compared with Python numpy

Is there a way to convert an array in Mathematica such that its output format resembles that of Python's numpy arrays? I want to go from: ...
1
vote
1answer
43 views

Express the WhiteNoiseProcess in number form [closed]

I have this function However, I want to export its values so that I can plot the graph in the TecPlot May I know How to achieve that.
3
votes
1answer
438 views

Convert Mathematica equation to C/C++ expressions

I have written some mathematica-code which allows me to compute some equation in general relativity, which I would like to solve using a C++-program. However, the equations are roughly 1000 characters ...
-1
votes
1answer
80 views

Export table to latex - copy as

I have the following final expression which is a table (I am posting only a subsection of the table to illustrate the problem). I am pasting it from mathematica without table formatting (to the bottom ...
1
vote
2answers
91 views

Displaying tensors

I want to display the values of a table with superscirpts and subscripts in a list as bellow. ...
1
vote
3answers
59 views

Difficulty achieving the desired output configuration [closed]

In order to describe the associated issues please see code sample below. The code presented is a simplified to include only whats needed as to better communicate the problems at hand. Following code ...
2
votes
1answer
128 views

Pretty Printing in Mathematica

I have a list ep = {I Sqrt[2], {{I, 1/GoldenRatio, Sqrt[2]}, {1, 0, 1}}} and I want to write a function that will output the list ...
2
votes
2answers
97 views

How to show formula and substitute variable values?

I'm looking for an easy way to make a 'dynamic' paper for some engineering calculations (I'm talking about hundreds of pages with lots of different formulas). The problem is hard to describe so I'll ...
9
votes
1answer
140 views

How do I turn off the little display icons for `SparseArray`, `InterpolatingFunction` and so on? [duplicate]

As noted elsewhere, in Mathematica 10.x, many functions that return "opaque" objects display them as cute little icons: ...
2
votes
1answer
68 views

How do I make those nice summary boxes like Dispatch and SparseArray do? [duplicate]

Dispatch and SparseArray have nice output forms that summarise their contents: The contents even manage to be retained fully ...
3
votes
1answer
58 views

Annotating output without changing the value [duplicate]

I like to annotate output, using something like the following: ...