New answers tagged output-formatting
4
votes
Why is Alignment not honored in the first two headline columns?
Why is the third column's headline wrapped although it would fit into the column?
Because you didn't set the width to be wide enough. From what I read in the documentation, it seems that for cells, ...
1
vote
How to apply the style of one set of data to another set of data?
Not entirely sure if this works for you, but this is how I'm interpreting your question...
First thing to know is that BarChart can plot multiple sets of data simultaneously, and it might be easier to ...
3
votes
Accepted
How to set number of digits automatically in NumberForm?
NumberForm[tab = Table[i, {i, 0., 0.005, 0.001}],
{2, -Min[RealDigits[DeleteCases[tab, 0.0]][[All, -1]]] + 1}]
{0.000, 0.001, 0.002, 0.003, 0.004, 0.005}
0
votes
How to set number of digits automatically in NumberForm?
You could parameterize the whole expression:
With[
{digits = 3},
Table[NumberForm[N[i], {digits, digits}], {i, 0, 5 10^-digits, 10^-digits}]]
6
votes
How to generate a list of random numbers with conditional statements
SeedRandom[1];
rlist = RandomReal[{1, 20}, 10];
{16.5304, 3.11697, 16.001, 4.56826, 5.58586, 2.24904, 11.3027,
5.39194, 8.52412, 14.309}
Using ...
5
votes
How to generate a list of random numbers with conditional statements
One way "to generate a list of numbers with certain conditions" is to create an ImplicitRegion based on your constraints, and then use ...
5
votes
Accepted
Applying Style to Around objects
It seems to be an oversight that an explicit font color is specified in the style sheet. For example:
CurrentValue[{StyleDefinitions, "AroundTiny"}]
{...
5
votes
Accepted
How can I preserve parentheses enclosing a dot product in a HoldForm[]?
Putting my comment into an answer
You can use PrecedenceForm to get what you want:
...
7
votes
Accepted
How can I remove the outermost pair of brackets enclosing a Piecewise function when it occurs in an equation?
If you don't mind modifying some internal symbols, you can do:
BoxForm`$PiecewiseSyntaxForm = SyntaxForm -> DirectedEdge;
Then, the parentheses should be gone.
Top 50 recent answers are included
Related Tags
output-formatting × 1261formatting × 120
output × 91
plotting × 82
export × 72
front-end × 55
list-manipulation × 54
table × 54
grid-layouts × 54
graphics × 51
latex × 41
string-manipulation × 37
display × 36
matrix × 31
number-representation × 31
manipulate × 28
evaluation × 26
functions × 25
notebooks × 24
calculus-and-analysis × 22
traditional-form × 22
bugs × 21
style × 21
equation-solving × 20
polynomials × 20