Skip to main content

Questions tagged [output]

Questions about the form and content of output returned by Mathematica for a given input or function application. This can include specific differences produced by older versions of Mathematica.

Filter by
Sorted by
Tagged with
4 votes
1 answer
56 views

Can't select within output cell anymore

I used to be able to select part of an output cell by mouse (for example to copy it). Now I can't anymore and get a weird plus with a circle when hovering over it and I can't select any text within ...
Kvothe's user avatar
  • 4,491
2 votes
1 answer
160 views

How to get the output of evaluating in place and append the output to the place

I am trying to use MMA for some engineering calculations, and the text cell contains both descriptive text and mathematical formulas. The example is as follows: ...
Yao Li's user avatar
  • 111
0 votes
0 answers
63 views

Ifs Information[] (aka ??) fragile for large lists? Stuck kernel using ?? largeList

I discovered that running the following in a fresh kernel seemed to result in a stuck or very lengthy computation time. ...
Tapiocaweasel's user avatar
0 votes
1 answer
70 views

Minimize doesn't work

I'm trying to minimize the function V(phi) using the code below ...
Gabriel Ybarra Marcaida's user avatar
5 votes
1 answer
175 views

How to improve this atomic orbitals manipulate box output?

I made this Manipulate box to show the atomic orbitals in the $(x, z)$ plane: ...
Cham's user avatar
  • 4,093
1 vote
0 answers
68 views

How to define additional 'OutputForm' formats?

I would like to define an additional OutputForm command such that, when applied to a long expression involving several variables (probably at different levels, ...
JuanC97's user avatar
  • 612
0 votes
1 answer
67 views

How to use multiple output from Nsolve? [closed]

I have 3 simultaneous equations and 3 unknowns. The values are coming to be right. But how do I assign these 3 values in the respective variables? ...
Sheersha Karmakar's user avatar
0 votes
1 answer
127 views

TexForm for powers of PolyLog gives unexpected form [closed]

Although the current TeXForm in Mathematica is far from ideal, I wonder if there is any reason for writing power of PolyLog as ...
BabaYaga's user avatar
  • 1,888
1 vote
1 answer
83 views

Nicer display of output with TeXForm

I am summing some terms by first transforming it to TeXForm. Example: Sum[TeXForm[x^i],{i,1,50}] I want to break the line in ...
BabaYaga's user avatar
  • 1,888
2 votes
1 answer
76 views

How do I export/import lists with their assigned names?

I want to write lists of expressions into an output file with names assigned to each list. Later I want to import them in a new notebook for further use. Example. ...
BabaYaga's user avatar
  • 1,888
2 votes
1 answer
103 views

How to add a round disk in a ListPlot?

This should be very easy, but I can't make it to work properly. I need to add a circular disk in the following ListPlot code: ...
Cham's user avatar
  • 4,093
1 vote
0 answers
96 views

Tick marks: How to force powers of 10 in a ListPlot with logarithmic scale?

I'm sure this is very simple to do, but I'm yet unable to find the trick. Here's a simple ListPlot with a Log scale on the horizontal axis: ...
Cham's user avatar
  • 4,093
0 votes
2 answers
77 views

Using Dynamic string output inside Block

Inside a Block, I have (among other things) a string output that is updated during an internal for loop in the following (schematic) way: ...
michelangelov's user avatar
2 votes
1 answer
89 views

How to change the plot style of several curves, in this manipulate box?

I'm sure this is very easy, but I'm currently unable to make it to work properly. I just need to give different colors and style to the three curves shown in this manipulate box: ...
Cham's user avatar
  • 4,093
0 votes
1 answer
33 views

Print into different cell groups inside module

I have a function with the following (simplified) structure: ...
michelangelov's user avatar
2 votes
1 answer
63 views

How to print all output in FullForm

How do I set all output to be printed/shown in FullForm. Setting the FormatType of the stream as in e.g. https://mathematica....
Kvothe's user avatar
  • 4,491
3 votes
1 answer
57 views

Insert a cell to "push" an output cell down so that my next output will not overwrite the last output [duplicate]

Normally when you evaluate a function, its result overwrites previous results. I would like to insert a cell between my function so and the last output (push down the last result} so that the new ...
George Wolfe's user avatar
  • 5,462
3 votes
1 answer
70 views

Functions from the output of Solve

The output of the equation Solve[f[x] - x^2 == 0, f[x]] is: {{f[x] -> x^2}} I would like the output to be ...
MaxB's user avatar
  • 311
1 vote
1 answer
144 views

How to print integers in padded hexadecimal form?

I have a bunch of numbers that I want to print in hexadecimal form using exactly 16 symbols, padded left with zeros if needed. For example, if $x=255$, I want to get $f[x]="00000000000000FF"$ or $f[x]=...
Georgy's user avatar
  • 305
2 votes
2 answers
195 views

Avoid condensing and use original terms in result of RowReduce

[Note: The given 2 solutions deal only with a simple example but not with the real problem] Can I force MMA to use original expressions in a result of RowReduce ...
granular_bastard's user avatar
1 vote
1 answer
142 views

Creating and printing a real-time evaluation timer

I want to print a timer that starts at 0 when an evaluation begins and stops when the evaluation is completed. I have come up with the following solution using Clock...
oakley09's user avatar
0 votes
0 answers
18 views

How to print output within an input block? [duplicate]

I would like to print data within a signle input block in a way something like this: ...
Mari's user avatar
  • 1
1 vote
0 answers
47 views

Printout precision [closed]

For debugging, I print out the SessionTime. In the Notebook it looks like: ...
Aharon Naiman's user avatar
1 vote
2 answers
99 views

Series from an integral and output as a function

I have a simple question, I am just stuck on syntax. I want to have a series of function $Z(\lambda)=\frac{1}{\sqrt{2 \pi}} \int_{-\infty}^{\infty} d x e^{-\frac{x^2}{2 !}-\frac{\lambda}{4!} x^4}$ ...
Хранитель Рощи's user avatar
0 votes
1 answer
57 views

Association does not work in package environment

I'm trying to be sneaky with a function and try to have an expression stored as a string (unevaluated) until a desired moment when it will be converted from a string to an expression and then have it ...
alex's user avatar
  • 1,418
2 votes
0 answers
102 views

On numbers with N digits after comma in Mathematica

Consider a table tabb={{1.233546576,2.454546565},{22334.46687875465,6787233.3565665655}} I want to convert it into a table where all the numbers are only with 4 ...
John Taylor's user avatar
  • 5,827
0 votes
1 answer
53 views

Problem in displaying output when finding eigenvalues of a Matrix

Basically I am trying to find symbolic eigenvalues of a 4x4 Matrix. Using the below code ...
Anik's user avatar
  • 15
4 votes
1 answer
82 views

Suppress printed output from ExternalEvaluate

ExternalEvaluate likes to print whatever hits stdout or stderr in the course of evaluation. For example, ...
thorimur's user avatar
  • 9,020
1 vote
1 answer
64 views

How to understand the output of following integration?

If one tries to evaluate the following integral, Integrate[(u Cos[k])/( 4 \[Pi] (u^2/16 + (-\[CapitalLambda] + Sin[k])^2)), {k, -\[Pi], \[Pi]}] one gets following ...
user824530's user avatar
1 vote
0 answers
102 views

How to acquire the background color and font color of output cells?

The following is how I grab the general colors used for an EvaluationNotebook but how does one target the colors to be used when creating an ...
Jules Manson's user avatar
  • 2,467
3 votes
1 answer
195 views

How to force Mathematica to simplify expression with Dirac Delta distribution?

I would like to make Mathematica print DiracDelta[a x] as 1/Abs[a] DiracDelta[x] Is there any way to do this for any a?
user824530's user avatar
1 vote
0 answers
100 views

Code to delete all output in a notebook

I am looking for a code I can paste at the beginning of a notebook to delete all the output cells so that when I execute the "Evaluate notebook" command, all the output cells are also ...
akr's user avatar
  • 177
1 vote
0 answers
168 views

Getting an exact solution using Solve

I run the command: Solve[{Tan[x] == Coth[x], 1/2 <= x <= 1}, x] And I get the following output: ...
ainz smith's user avatar
0 votes
1 answer
45 views

I am trying to plot a function I already defined, but the plot keeps showing up empty? [closed]

I defined g[x_] := 10 (x^7) e^(-2 x) and I am trying to plot it so I put in Plot[g[x], {x, 2, 6}, AxesOrigin -> {0, 0}, Filling -> Axis] and it keeps showing up empty. What am I doing wrong?
katie's user avatar
  • 3
1 vote
1 answer
127 views

Minimize output interpretation [closed]

...
KArrow'sBest's user avatar
0 votes
2 answers
51 views

Confused by SolveValues Output [closed]

When I plug in an equation involving ArcSin to SolveValues, I get a result involving Root ...
Cat Bisque's user avatar
2 votes
2 answers
362 views

How to define the density of random 3D points and plot it?

The following code draws a random distribution of particles in 3D. The Manipulate box allows to change a few parameters (number of particles, size of clusters, ...). I would like to define the local ...
Cham's user avatar
  • 4,093
1 vote
0 answers
107 views

Is there "absolute" point size for Graphics3D?

I would like to get points size that vary when the viewer is zooming in/out through the 3D graphic. The point size I want should be defined as "absolute", relative to the coordinates used ...
Cham's user avatar
  • 4,093
5 votes
1 answer
220 views

How to get fuzzy points in a 3D view?

I would like to produce fuzzy random points (sprites like) in a 3D view. Applying a Blur command doesn't do the trick since the view is then frozen and we couldn't rotate the view anymore, and I don'...
Cham's user avatar
  • 4,093
9 votes
2 answers
250 views

Output of code generated by CellPrint goes to the end of notebook

Bug introduced in 3.0 and persisting through 13.0.1. Wolfram Cloud is not influenced. This is an issue raised up when I use the function importCode, the following ...
xzczd's user avatar
  • 66.9k
0 votes
0 answers
19 views

Not getting evaluated output [duplicate]

I just started using Mathematica. When doing the matrix calculation I encountered some problem, output is not evaluated instead it just gives the input as the output. Example:
Kabilan Mahathevan's user avatar
1 vote
0 answers
58 views

How to get rid of the unwanted first output? [closed]

I have the following code: ...
Anixx's user avatar
  • 3,585
0 votes
1 answer
110 views

How to use "Replace" in matrix? [closed]

I would like to change the form of matrix output, for example: A = {{1, 0}, {0, 0}}; B = {{0, 0}, {1, 0}}; B.A This will give me a matrix that is the same as the ...
林怡君's user avatar
3 votes
1 answer
207 views

Using subscripted variables in the LaTeX output [closed]

When I run the following code in Mathematica: ...
Moo's user avatar
  • 3,344
0 votes
2 answers
83 views

Why are my specified ranges being ignored while using Table?

I am trying to plot a complex function with ListPointPlot3D, which requires the use of a table. My code is as follows: SampleLevel = 0.1; ...
JackaJacka's user avatar
3 votes
1 answer
116 views

How can I move the expression down from numerator in TeXForm?

In[1]:=f[n]/9 // TeXForm Out[1]//TeXForm=\frac{f(n)}{9} but I need \frac{1}{9}f(n) instead.
Patchouli Nine's user avatar
2 votes
1 answer
42 views

Output of Reduce processed by ToRules - how to preserve sublist structure?

I have some output from reduce as follows: ...
1729taxi's user avatar
  • 777
0 votes
2 answers
138 views

How to put the evaluated result in a text cell?

If I use the function Print, the result is not in a text cell. So I wonder If there's a function that I can use to put behind the function ...
Lawrence's user avatar
1 vote
1 answer
75 views

Extracting coefficients in a table [closed]

How can I extract the coefficients in tab1 and have them written in a table? In the case above, the coefficients are the numbers multiplying ...
Slayer147's user avatar
  • 247
3 votes
1 answer
80 views

Parallel Cellprint Not Rendered

I'd like to parallelly construct cells (possibly dynamically updating ones) and output render them on the front-end. However, I found this is not working. For example, ...
Louis Yu's user avatar
  • 857

1
2 3 4 5
7