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

learn more… | top users | synonyms

1
vote
0answers
57 views

Output in FunctionExpand for function of Gamma

I used of this code: α Gamma[α] // FunctionExpand and get output: Gamma[1 + α] Also I used of this code: ...
5
votes
2answers
440 views

How cut any integer number?

I have this output: (323909701210368 Sqrt[3] t^(56/3))/(11 Gamma[2/3] Gamma[59/3]) + ( 23266815064996478976000 t^(71/3))/(Gamma[2/3] Gamma[74/3]) I want to have ...
3
votes
2answers
100 views

How to create some macros

I have two question in one. In the following code, I want to manipulate a plot in a centered cell. It is fastiduous to try always to remember the way to act. Could I define some macro as in a standard ...
2
votes
1answer
60 views

Same mesh graduations on a plane as axes ticks

I need to define a plane with a mesh as a reference plane. Currently, the mesh lines don't match the axes ticks. That plane is defined so it can adapt automatically to a variable scale in a ...
6
votes
1answer
72 views

Problems with Displaying Output for Summation

Consider the following code. ...
4
votes
2answers
88 views

How to override DisplayForm of (mixed) time Quantity

What's the best approach to overriding DisplayForm for specific types of Quantity eg time especially w/ mixed units? Current is ...
0
votes
0answers
19 views

How to remove extra space around polar plot in manipulate? [duplicate]

In Manipulate, PolarPlot adds lots of useless space around the exterior circular grid. Is there a way to remove that space, so the whole circular plot could take more space ? Here's a MWE showing ...
3
votes
1answer
55 views

How to separately define TraditionalForm and TeXForm

According to the documentation, TeXForm uses the TraditionalForm formatting to generate the TeX code. However, for some cases, ...
6
votes
3answers
538 views

Ugly fraction in a label

I'm having difficulties in displaying a proper fraction in a label. Here's the 2D graphics which shows the problem : ...
0
votes
2answers
82 views

Ticks on axes with a frame without frameticks [duplicate]

I would like to draw a simple 2D graphics with a frame, without any FrameTicks, but still having central axes with ticks. The code is this : ...
7
votes
1answer
95 views

Multiple PlotLegends ignore NumberForm

Imagine a set of curves data = Transpose@Table[{Exp[t], Exp[1.1 t], Exp[1.2 t], Exp[1.3 t]}, {t, 0, 5, 0.1}]; which should be labelled with numbers ...
2
votes
1answer
97 views

Can one prevent $\TeX$ conversion from changing form of expressions?

This is similar to my previous question Can one prevent operators like `Factor` or `Apart` from changing full form of some algebraic expressions? but concerns $\TeX$ and I cannot figure out whether I ...
3
votes
1answer
57 views

How is `MakeExpression` processed by Mathematica?

According to the documentation on MakeExpression, MakeExpression[boxes, form] is the low-level function used in Wolfram System sessions to construct expressions ...
5
votes
3answers
458 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
157 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
46 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
127 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
70 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
128 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
113 views

Obtaining a Previously Constructed Function as Desired Output

I was playing around with some Generalized Trigonometric Functions defined as follows; ...
2
votes
1answer
33 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
42 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
43 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
75 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
88 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
73 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
69 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
234 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
64 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
64 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
92 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
86 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
82 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
163 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
105 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
60 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
57 views
1
vote
2answers
74 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 ...