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
1 vote
1 answer
65 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,604
2 votes
1 answer
83 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
  • 3,959
1 vote
0 answers
64 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
  • 3,959
0 votes
2 answers
59 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
77 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
  • 3,959
0 votes
1 answer
32 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
56 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,197
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,422
3 votes
1 answer
65 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
143 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
194 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
89 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
46 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
90 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
54 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,396
2 votes
0 answers
87 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
  • 4,642
0 votes
1 answer
46 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
62 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
  • 8,960
1 vote
1 answer
62 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
95 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,397
3 votes
1 answer
170 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
81 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
  • 145
1 vote
0 answers
132 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
123 views

Minimize output interpretation [closed]

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

Confused by SolveValues Output [closed]

When I plug in an equation involving ArcSin to SolveValues, I get a result involving Root ...
Allison B's user avatar
  • 344
2 votes
2 answers
296 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
  • 3,959
1 vote
0 answers
89 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
  • 3,959
5 votes
1 answer
214 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
  • 3,959
9 votes
2 answers
247 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
  • 63.8k
0 votes
0 answers
18 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
55 views

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

I have the following code: ...
Anixx's user avatar
  • 3,553
0 votes
1 answer
105 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
197 views

Using subscripted variables in the LaTeX output [closed]

When I run the following code in Mathematica: ...
Moo's user avatar
  • 3,044
0 votes
2 answers
81 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
41 views

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

I have some output from reduce as follows: ...
1729taxi's user avatar
  • 747
0 votes
2 answers
124 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
67 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
  • 207
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
  • 837
1 vote
0 answers
26 views

Is it possible to insert a fixed-size Input Cell in a DockedCell toolbar that directs output if any to a specified Cell in same Notebook?

Ive been coding Mathematica for over a year but this language can do so much more than any other language hence beginners really do need a much longer gestation period. That is why this rarest of ...
Jules Manson's user avatar
  • 2,397
1 vote
1 answer
182 views

Meaning of Out[0]

After some long computations, I obtain %//ExpandAll Out[0] I want to know the meaning of Out[0]. Does this mean my expression %...
phy_math's user avatar
  • 801
1 vote
1 answer
57 views

Why do these results differ?

...
Anixx's user avatar
  • 3,553
0 votes
2 answers
87 views

Can I save data as a three-column matrix?

I need to store values of a function of x and y defined as f[x_, y_] := Sin[Pi*x/3]*Sin[Pi*y/3] at the following points ...
slow_learner's user avatar
1 vote
0 answers
42 views

How to Block the Output of WriteString?

I have an external package that uses the following function internally to print messages, PrintOutput[x__] := WriteString[$Output, x]; I want to block all the ...
Epsilon's user avatar
  • 1,122
0 votes
0 answers
134 views

How can I change the way Mathematica orders exponents?

How can I change the ascending order that Mathematica has of ordering the exponents, to a descending one. For example, get ...
Guillermo Rojas's user avatar
2 votes
1 answer
107 views

Make a Greek letter with a subscript appear in an Input message

I've got a variable that has two names on it. It is defined as follows: par={b, Subscript[λ, 0]} I would like to ask the user to enter a value of the second ...
edgardeitor's user avatar
1 vote
0 answers
118 views

Storing python output to variables in Wolfram

Would like to use the external language input in python to save variables I can potentially use in Mathematica. Any chance there is a way to do this? I do understand there might be a solution with ...
tallsamurai's user avatar
1 vote
1 answer
36 views

No output showing up for example functions [closed]

I am total beginner to Mathematica. I am following some examples from here However, if I run some function, for example, MiniMaxApproimation, then I get no output. ...
Awais Hussain's user avatar

1
2 3 4 5
7