Questions about solutions and support for mathematical typesetting and layout, and the appearance of elements in input and output as displayed by the front-end.

learn more… | top users | synonyms

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 ...
16
votes
1answer
278 views

What is a printer's point?

Edit 28. IV 2016, Reply from WRI: The developer replied today to the documentation question we are having. He agrees the statements in the 2 reference pages can be clarified. [...] ...
15
votes
2answers
2k views

Any way to make my equations look better, more Latex like?

I find that the equations I write in Mathematica are not always publication quality. Here is a typical example: If I copy as Latex, then I get the following code: ...
14
votes
4answers
1k views

What does DisplayFunction->Identity do to graphics functions?

Does DisplayFunction->Identity do anything at all in Mathematica 8? In the third edition of Programming in Mathematica, Roman Maeder gives the following ...
14
votes
1answer
1k views

Blurred frontend text in Mathematica 10, Windows, High-DPI Display

So I have recently upgraded to a Windows ultrabook with a high resolution display. All my software seems to cope just fine with the high resolution, except for Mathematica 10. Mathematica seems to ...
11
votes
1answer
252 views

How to make datasets display correctly?

NB: The problem illustrated below is truly ubiquitous. I hope the examples given below are sufficiently different to demonstrate this fact, and to discourage answers that hinge on the details of the ...
10
votes
1answer
310 views

How to change the font color of a variable in whole input cell

I want to track the occurrence of a particular variable in a code. So the idea is to change its color. Usually I do it in a crude way - convert the code into text and then use ...
10
votes
2answers
172 views

Can anyone explain this strange behavior of InputForm?

In Mathematica 9.0.0, when to display the input form of two numbers, I come across maybe a puny problem. In order to focus on the problem, I will put up a simplified version. ...
9
votes
2answers
238 views

Pasting monospaced text into Mathematica notebook destroys aligment

I drew the little ASCII-art electronics schema below in vim. When i try to paste it into a Mathematica notebook, with: A) A code cell B) A monospaced font (Courier New) Mathematica insists on ...
8
votes
2answers
105 views

Control of individual Framed edges?

Is there an option or method for Framed analogous to Frame in Graphics to control display of ...
8
votes
2answers
486 views

TeX and TraditionalForm

I have a little problem, and hope, with your help, I'll be able to solve it. As you got from the title, I have some trouble with TeX in Mathematica. Imagine, I want to output a nice DisplayFormula, ...
7
votes
0answers
241 views

Incorrect Display on Linux (+HiDPI)

I have Linux on a HiDPI laptop, and after first installing Mathematica, the default font size is far too small: After searching for a few solutions, this can be fixed by either changing the ...
6
votes
1answer
392 views

Trial version 10 vs Version 10 Prerelease 13

When I open the new trial version (creation id 5099521; 10.0.30732.17750) I get these error messages and only a partial view of the "About" box I haven't run into any particular problem, except ...
6
votes
4answers
118 views

How to add/insert a well aligned graphics on top of another one?

I need to add a small graphics on top of a larger one, and the small graphics should stick very close to the large one, with their axis aligned. Here's a minimal code to work with, using some ...
6
votes
1answer
215 views

Custom display format for custom operator

I've tried searching here and in the WRI documentation, but I haven't found what I'm looking for in either place. I'm defining a dx operator to act as a ...
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 : ...
6
votes
1answer
115 views

How do I format the output to include the function definition?

To explain, I do most of my probability homework in Mathematica, and use the typesetting built into Mathematica to finish answers. Often, I want to output a function as the answer to a problem, but I ...
5
votes
1answer
4k views

How to ask Mathematica to display answer in “$\LaTeX$” form

I am not sure how to explain it, but whenever I compute something in Mathematica, the output always spits back the result in a Mathematica language as opposed to easy-to-read equations. It's ...
5
votes
2answers
151 views

Problem with Raster and custom ColorTable

Context Let me define two colour tables: (which come from brewer and xmedcom respectively) ...
5
votes
1answer
83 views

TraditionalForm overriding settings given to Column for row alignment

With the code below, the alignment at the equal sign is performed as expected: Column[{HoldForm[y] == x, HoldForm[R^2] == 0.998}, Alignment -> "\[Equal]"] ...
5
votes
1answer
101 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 ...
5
votes
1answer
146 views

New display format needed: “drag box”

I want to create a new display type, especially for numbers or text, but potentially for arbitrary objects as well. I want a "drag box" where not all of the number (object) is visible, but dragging ...
5
votes
2answers
1k views

How can I control the number format of exported data?

I'm having issues while exporting a tables of numerical values to "*.dat" data files. Here's the thing, sometimes when I export a table, I get more decimals on some random values. The problem is that ...
5
votes
1answer
238 views

Using CellPrint with a TraditionalForm string

I am trying to use CellPrint to print a cell that asks a user to solve an equation. This equation is randomly generated right beforehand, and I would like to have it print in Blue. The whole Cell ...
5
votes
1answer
940 views

Command to Show Full Output

I have some rather long output from a notebook I run on a remote server. There is a time limit on processes so I typically do NotebookSave[] after any important ...
5
votes
1answer
447 views

Make EventHandler work for clicks and keys in a Dynamic display

I am trying to write a way that will do certain events depending on what screen is showing. What happens so far is that the screen will change in accordance to a click, but when you try to do the ...
5
votes
0answers
104 views

How can I add column-rearrangement-by-mouse-dragging to my dataset display function?

A subject that I seem to take at heart... I was expecting an upgrade of the default Dataset display in MMA 10.3.1. It did not happen. Among the features I would have liked to see improved is a better/...
5
votes
0answers
102 views

Can Mathematica poll the dimensions of the individual monitors of its host computer?

The command SystemInformation["Devices", "ScreenInformation"] returns the screen area in the monitors connected to its host computer: ...
5
votes
0answers
163 views

Very poor subpixel antialiasing using rotated monitor

I use Mathematica 10 for Linux with my monitor rotated 90-degrees. Fonts in all applications look very good (I have configured Gnome and Xft to do subpixel antialiasing in "vertical RGB" order). But ...
4
votes
3answers
238 views

How can I reproduce the MatrixForm, NumberForm, XyzForm behavior?

I wish to write a function like MatrixForm, that affect only display but not evaluation, i.e. a function that automatically is stripped away from output. More ...
4
votes
1answer
244 views

Is the System Information that Mathematica displays not completely correct?

Or maybe I did not understand the meaning of Resolution. This is the code I used - SystemInformation["Devices", "ScreenInformation"] I get 120 as my system ...
4
votes
1answer
110 views

How to toggle visibility of all the evaluatable cells (but not their output)?

I know that I can select individual evaluatable cells and disable their Open property (through Cell > Cell Properties), but ...
4
votes
1answer
176 views

Where can I find a list of functions, specifically views, that can be translated to a C standalone executable?

I want to create a standalone mathematica executable. I would like to have some view capabilities like CreateDialog or TabView or those kinds of things. I would like my users to have an interface to ...
4
votes
0answers
56 views

How to display EntityProperty objects with their CanonicalName?

Is there a way to display EntityProperty objects with their CanonicalName instead of the text they are currently displayed with. ...
3
votes
2answers
127 views

How to make the determinant formula visible even in cases when det=0

When I compute the determinant analytically in Mathematica, I do it with Det[{{a, b}, {c, d}}] which gives the output ...
3
votes
2answers
96 views

Question about formatting subscripts and superscripts for display

I want to display a variable with multiple subscripts (divided by commas) and a superscript surrounded by parentheses. Namely, I want something like this: ...
3
votes
2answers
142 views

How to extract input part of a notebook?

For example, how to make Mathematica display only the lines beginning with In[some number]? ...
3
votes
1answer
117 views

Import displays Dicom Image differently in mathematica 9 and 10

Mathematica 9 (windows 10) displays image as: mathematica 10.2 (windows 10:) displays image as: Here is the source file: Import["https://dl.dropboxusercontent.com/u/68983831/46405725"] How to ...
3
votes
1answer
200 views

How to normalize histogram height to unity?

When doing Histogram[data], I get the total nummber of counts in each bin. Doing Histogram[data,Automatic,"Probability"] ...
3
votes
1answer
60 views

How to enter integral bounds when in two-dimensional input?

Whenever I try to write down a definite integral in two-dimensional mode I have the issue that the superscript and subscript for the integral aren't recognised properly and rather than showing up ...
3
votes
1answer
167 views

TimeSeries - Values & Dates

How can I display a TimeSeries object in a Table or Grid so that I could see the Dates and corresponding Values next to each other? I wrote the following code: ...
3
votes
1answer
252 views

Download Youtube Videos

Is there a way to display or download youtube videos in Mathematica. Youtube is HTML5 enabled so I am hopeful there might be an easy way.
3
votes
1answer
320 views

How to iteratively display the nth derivative?

I am new to Mathematica, but not so new to programming. What I'd like to do in Mathematica (not using an API) is to display on each line, the nth derivative of a function, e.g. for n = 1..10. Is there ...
2
votes
1answer
196 views

How to visualize multiple errorbars for one data set with ErrorListPlot?

I have a following problem: I am performing error analysis for my data set using multiple technics. Obviously, at the end of my analysis I want to compare the errorbars plotting them on the same ...
2
votes
3answers
116 views

How to display elements of a product in a certain order [duplicate]

I have several product states, represented by a string of variables - for example, "ABC". I'd like to multiply this state by a constant, call it J, to which I don't want to pre-assign a value. Using J ...
2
votes
2answers
190 views

ToExpression from commandline [duplicate]

I like to use Mathematica 8.0 from the commandline, then I just have to SSH in, no matter where I am, and go. I also like to do this without forwarding X, because that is slow and lags on my ...
2
votes
1answer
64 views

Evaluate within Hold

When I do... p=3; HoldForm[Evaluate[p]-2] I get: Evaluate[p]-2 BUT I'd like to get: ...
2
votes
1answer
80 views

How to do literal replacement to format expression?

I can do a replacement of an expression with some variables to alternate symbols: ...
2
votes
1answer
67 views

Custom display for constructed functions

In a similar vein to my previous question, is it possible to define a function that displays differently to its default? eg I would really like Binomial[a,b] to be ...
2
votes
1answer
76 views

How to Overwrite the DisplayFunction?

How to overwrite the display function of TemplateBox? For example, if I have: ...