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

learn more… | top users | synonyms

0
votes
1answer
22 views

Exponential number with negative base?

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
60 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-> ...
3
votes
3answers
328 views

Postfix with two arguments

This must be duplicate but can't find any related post. I'm want to pas it two argument in postfix like f[a_,b_]:=a+b; 1,2//f ...
0
votes
1answer
55 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 ...
14
votes
1answer
177 views

Grid cuts my images

Bug introduced in V9.0 or earlier and persisting through V10.3.1. pic2 = ImageResize[ ImageCrop@Rasterize@Graphics@Disk[], {Automatic, 40}] ...
1
vote
1answer
33 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$. ...
1
vote
2answers
48 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
52 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
58 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
77 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
64 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 ...
1
vote
5answers
168 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 ...
4
votes
2answers
122 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
143 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 ...
3
votes
2answers
306 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
98 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
50 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
0answers
295 views

Negative power instead of fraction [duplicate]

Solve returns a solution in the form {{ x -> y / a^2 + y^2 / a^7 }}. Since I want to process the input (with another program) in terms of Laurent polynomials, I ...
0
votes
0answers
60 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 ...
11
votes
2answers
432 views

Is there a way to programmatically set global preferences?

Can I set global preferences that are accessible via "Edit"->"Preferences" programmatically from within a notebook? As learned from this question, turning off anti-aliasing can make a huge difference ...
7
votes
3answers
1k views

Replace very small numbers by zero in the output of a list

I have a long nested list, but many elements are numbers of order 10^-18 or less, e.g. ...
7
votes
2answers
365 views

Display Log with desired notation in output

I wish to display logarithms with different bases in the single-term rather than numerator/denominator form during output: ...
17
votes
3answers
1k views

Mathematica Sec and Csc

How can I prevent Mathematica from using the "old fashioned" functions "Sec" and "Csc"? In Germany these functions are "old fashioned" as they are not taught anymore at school.
5
votes
1answer
96 views

How can I make 1+$MachineEpsilon not look like 1?

I undarstand that 1+$MachineEpsilon is actually not equal 1. However, it persists to look like it was equal ...
1
vote
1answer
38 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?
8
votes
5answers
6k views

How to export data files using specific format

Very often, I have to export data files from Mathematica. These output files contain several columns and hundreds of lines with data. For the sake of the question let's create a sample list ...
1
vote
2answers
52 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
60 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 ...
0
votes
1answer
96 views

Place cells side-by-side

Is there any way to place plots/cells side-by-side? I know how to put plots in arrays and grids. The motivation for putting cells side by side is that I want the equations for the plots to be above ...
9
votes
1answer
913 views

Why doesn't PlusMinus[a]^2 simplify to a^2?

So, I've been playing around with Mathematica lately, and I found an interesting (what I presume to be an) error. Trying to simplify (PlusMinus[a])^2 does not give ...
1
vote
1answer
39 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
417 views

How to copy/paste an OverHat symbol into Microsoft Word 2010 properly?

I have problem with output traditional form of sign above the constant. When I copy/paste in word it is far away up. Is there solution for this? ...
1
vote
1answer
55 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
39 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.
1
vote
2answers
82 views

Displaying tensors

I want to display the values of a table with superscirpts and subscripts in a list as bellow. ...
0
votes
1answer
125 views

Convert mathematica equation in c++ math 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
58 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 ...
2
votes
2answers
89 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 ...
3
votes
2answers
166 views

Display Quantity in full form

Is there a way to display Quantity[] in full form in the output? I know you could use Quantity[valuse, Unit]//InputForm, but ...
1
vote
3answers
56 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
107 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 ...
23
votes
3answers
299 views

How to create a dynamic expanding DisplayForm's styled like the ones in v10?

The display forms for objects like ClassifierFunction are nice clickable boxes I like this, and now I'm trying to create my a custom version of this for my ...
2
votes
1answer
58 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 ...
8
votes
1answer
124 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: ...
3
votes
1answer
57 views
2
votes
1answer
39 views

Add text label in the top-left of a TableForm

I have a function that should give a multiplication table for an integer input: TableForm[Outer[Times, Range[#], Range[#]], TableHeadings -> Automatic]& ...
1
vote
2answers
96 views
5
votes
2answers
116 views

Can one prevent operators like `Factor` or `Apart` from changing full form of some algebraic expressions?

In this question I will talk about a toy example, it should be clear what do I actually mean in general. Also, not only Factor but also ...