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

learn more… | top users | synonyms

0
votes
0answers
31 views

Transforming parametric representation of coordinates into cartesian coordinate system

Is it possible in Wolfram Mathematica to transform output of BSplineFunction so it returns results in cartesian coordinates not in parametric representation?
1
vote
1answer
82 views

Incompatibility of Row and TeXForm

In Mathematica 7 Row and TeXForm work harmoniously: ...
9
votes
2answers
88 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 ...
-1
votes
1answer
78 views

Formatting and inserting a parameter table into a plot

I'm fitting data, and I want to put the parameter table generated by NoninearModelFit into the plot. How can I do that in a reasonable way? I want to format the ...
5
votes
1answer
163 views

Restrict Mathematica command to what is inside parentheses

I have a bunch of expressions like this one: $\frac{e^{-\frac{7 J}{2 k T}} \left(2 e^{-\frac{2 g H \mu _B}{k T}}+e^{-\frac{g H \mu _B}{k T}}-e^{\frac{g H \mu _B}{k T}}-2 e^{\frac{2 g H \mu _B}{k ...
2
votes
0answers
46 views

Is there any way to get Times displayed as $\cdot, *,$ or $\times$ in output form? [duplicate]

In the output of Mathematica, operators $\cdot$ or * or $\times$ are usally displayed as space; e.g., $x * y$ becomes $x \, y$ in output. Is there any option that can be set to make "space" becomes ...
2
votes
2answers
50 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 ...
1
vote
0answers
86 views

How could I make an Excel-like table?

I am looking to build a simple Excel type of a table with four columns. I have spent some time researching Mathematica documentation, but haven't come across a way to implement that. Here is a ...
4
votes
3answers
104 views

Why does TraditionalForm[Inactivate[x y]] show x * y ? instead of x y?

Given that both x and y are expressions, in my case x is ...
10
votes
5answers
359 views

TableAlignments -> Left not working

Bug present in versions 7 through 10.0.0. For a very simple dataset TableAlignments->Left does not work: ...
0
votes
0answers
73 views

Displaying subscripted symbols with TraditionalForm

I have pasted this code in from Mathematica 10 ...
1
vote
2answers
42 views

How do I format expressions so that replacement rules correctly apply to exponents? [duplicate]

I have a series of rules that I would like to apply to a series of expressions with variables, but cannot get Mathematica to correctly recognize that these rules should apply when my variables have ...
12
votes
3answers
740 views

Why doesn't PlotMarker option None return no PlotMarkers?

After reading the PlotMarkers documentation it seems to be all or nothing. For example if you wanted markers on some of you lines the code below seems ...
2
votes
2answers
78 views

Inconsistency of output format in `Eigenvalue`

I am bothered by the output format of the last two elements of efre. Is there a way to make these two look like the same format as the first two in ...
3
votes
1answer
71 views

how to write TableForm expression into file?

Now I have a list stored in data as follows data = {{"Ca", 1, 1, 1}, {"Ca", 2, 2, 2}, {"Ca", 3, 3, 3}} the ...
4
votes
2answers
74 views

Why can't I pass in a product of matrices in my modified matrixform? [duplicate]

In attempt to build a function that would work like MatrixForm but would wrap a matrix with brackets, I tried the following function: ...
5
votes
0answers
50 views

Bug in TreeForm: “Plot” formatted as True

I believe I have come across a rather curious bug in TreeForm: {"foo", "bar", "Plot"} // TreeForm Note that the string ...
3
votes
1answer
56 views

Set number of columns in text-based interface

Is it possible to set the number of columns in Mathematica's text-based interface? Or disable word wrapping in the text-based interface ? Specifically, my concern is output from ...
4
votes
3answers
181 views

Why do quote marks appear in output when saved with Save Selection As?

Update: As Simon Woods astutely observed this problem only occurs when you select the cell contents rather than the entire cell via the bracket. Those two tested this and reported, please check again ...
2
votes
1answer
56 views

TreeForm expression that will automatically spread nodes vertically so labels do not overlap

My deeply and unevenly nested lists and equations generate a TreeForm image which is too small and compressed to use. Then we must expand it manually by grabbing the edge of the image, and sometimes ...
8
votes
2answers
292 views

Telling mathematica to output * instead of space for multiplication, so I can copy as plain text

I am trying to get some symbolic expressions in Mathematica which I would like to paste into my C/MATLAB codes. This can be accomplished nicely by selecting the expression and right-clicking to ...
1
vote
1answer
45 views

How to increase significant digits in Mathematica

How can I increase the number of significant digits in Mathematica? When I import a matrix, an element like 112.5276 is rounded to 112.528. I would like to increase the number of significant digits ...
1
vote
1answer
44 views

How to update Print-out “in place”?

I want to run an exhaustive search algorithm that will take several hours to finish, so I'd like to have it execute Print statement periodically, showing the ...
0
votes
1answer
49 views

Forcing an integral to be solved in separate terms

Using Mathematica I want to solve an integral over a function that contains both determined and undetermined parts which looks like this: ...
3
votes
1answer
272 views

How can I export specific data into different pages in .PDF format?

I have made various Grid-s and arranged them column-wise in another Grid. All Grids are ...
1
vote
2answers
117 views

Stopping Mathematica from reordering expressions [duplicate]

I want Mathemtica to stop manipulating my polynomials! I mean, I want the output of Print[3 x + 5 + x^2] to be just $3x+5+x^2$, not $5+3x+x^2$ as Mathematica ...
4
votes
3answers
547 views

Simplify function notation

I have some calculations with arbitrary functions. In the output, Mathematica always shows the functions with its arguments. I would like to tidy the notation a bit, by hiding the arguments in the ...
0
votes
1answer
55 views

sorting of expression with complex parts

I have an expression: a + i*b + d + i*e + r = 0 Now I want Mathematica to sort this like: a + d + r + i(b + e) How can I ...
3
votes
1answer
73 views

Symbolic Output after numerical computation

I have a small question about the symbolic output. I started to write a program that generates the coordinates of n-dimensional polytopes by Wythoff construction. For crystallographic groups, all is ...
1
vote
2answers
49 views

How to eliminate (hide) output numbers in a slide show

I am creating a slide show with several imbedded Manipulate objects. I can hide the Manipulate command by clicking on the ...
0
votes
1answer
57 views

User defined output forms

I have a mathematica program which performs some manipulation which I then want to continue in another language, as I already have some code written in it. Syntactically this language is very similar ...
2
votes
2answers
77 views

Assign named placeholder to a variable (as a string)

If I want to assign a regular placeholder as a string, it's very easy: (anything the user types in will automatically be given quotes around it, so when they evaluate the cell str is a string) ...
0
votes
2answers
50 views

How to output (anything) if any error happens

I have long code which goes through iteration process. some times I get error messages. I want to get the iteration numbers (or any kind of output indications) when errors happen. for example, how ...
2
votes
2answers
71 views

Rounding only coefficients

does Mathematica have built in functionality to round the coefficients of a polynomial to a certain accuracy. Say, we do Print[0.2134320980x^2+0.0023432x] Can ...
3
votes
1answer
53 views

Print prints into the Messages notebook rather than into the evaluation notebook

Some time ago I noticed that the results of the evaluating the function Print[something] does not emerge in a new cell created in the notebook where the operation ...
3
votes
1answer
149 views

Control over the way matrix is displayed

I am wondering how to change the output format in Mathematica. For example, I have $x=\binom{3}{1}$ and $y=\binom{2}{5}$, and I want to find what linear combination of $x$ and $y$ produces ...
0
votes
4answers
119 views

Conditionally formatting elements in a list

I have a list {{a1, a2, a3},{b1, b2, b3}, ...} and I want to replace the numbers less than 10 by 0x (just insert a 0 before the ...
1
vote
1answer
36 views

How to use Notation package with TraditionalForm

I know that I can use the Notation package to define my own custom notation. This works great for StandardForm output, but I ...
2
votes
1answer
77 views

Write numbers to a file

I want create file with some text (and numbers). This is my code. ...
10
votes
1answer
258 views

Formatting Framed - some FrameStyle graphic directives don't work?

The FrameStyle option in Framed seems to work for some graphics directives but not others, eg: Framed["yo", FrameStyle -> Blue] But ...
3
votes
1answer
110 views

Frame thickness in Framed[] [duplicate]

I need to change the frame thickness in Framed[] in order to create a legend box. How can I set the frame thickness in Framed[]? ...
1
vote
3answers
101 views

Row and Column Headings for a Grid

It would be useful for me if I could write: Grid[{{a, b}, {c, d}, {e, f}}, GridHeadings -> {{"r1", "r2", "r3"}, {"c1", "c2"}}] just like ...
2
votes
2answers
89 views

Set all output to be of specific form

I want every output expression in a notebook to use //PowerExpand and also to format numbers as scientific. Is there a way to do this without explicitly calling ...
1
vote
2answers
66 views

How to remove a gap between the chart labels and the frame in a BoxWhiskersPlot

When making a nested BoxWhiskersPlot with chart labels, the labels are nicely spaced below the bottom frame when using labels for all nested data ...
2
votes
2answers
100 views

Use only exponents (no radicals) in output expressions

Radical symbols ($\sqrt{\,\,\,\,}$) are the devil. Is there any way to get mathematica to never use them, and instead express everything as an exponential? i.e. I want ...
1
vote
1answer
72 views

Typesetting help

I have a rather simple question that has me flummoxed. Let's say I have two matrices: m1 = {{a1, a2}, {b1, b2}}; m2 = {{u1, v1}, {u2, v2}}; I am looking to ...
1
vote
1answer
51 views

Save selection as PDF - non-image format

I am trying to save the following plot as a pdf, so that I can import it into LaTeX: ...
1
vote
1answer
37 views

Evaluation of m.v is blocked by applying MatrixForm. Why? [duplicate]

I'm trying to understand what is happening in the notebook session below. I have a 2x2 matrix m = {{-1,-1}, {-1,-1}}. And a vector ...
38
votes
6answers
1k 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 ...