Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
31 views

FunctionDomain - Meaning of “True” in output and documentation

Can someone tell me the meaning of True in output when I use FunctionDomain please? I guess that the meaning of ...
0
votes
1answer
40 views

How can i get a popup window for my results?

I dont know how to get the results into a popup window i tried a lot of things but nothing works. Can anyone help me? I want the erge and erge 1 to be in the new window. Here is my current code: <...
8
votes
1answer
130 views

Exporting Summary Boxes

I would like to Export a Summary Box in its expanded Form. How do i do this? I can Export a collapsed Summary Box by doing: ...
5
votes
1answer
68 views

Does the position of a comment in a CompoundExpression matter for the result obtained with Out (%)?

I would like to understand what happens when we include a comment at the end of a line that ends with a semicolon. For example, if you execute ...
1
vote
1answer
27 views

Obtaining non-null output from all parts of a compound expression

I've decided to post this question and self-answer, since this might be useful to others wishing to do the same thing. I was wondering how to obtain non-null output from all parts of a compound ...
3
votes
2answers
217 views

Outputting expressions in the order in which they're entered

Background For display purposes, I sometimes find it desirable to defeat Mathematica's canonical ordering of variables, and instead have it output terms in the order in which I type them. E.g., ...
1
vote
1answer
47 views

Why is part of the output “Null”? [closed]

Whenever I execute the code, portions of the output are null. How can I fix this? I am not sure the extent to which the result is invalid because I am not entirely familiar with the null output, ...
2
votes
0answers
50 views

Not getting any output from mathematica script

I am completely new, so this question may be trivial, but I can't find any answers in the Wolfram documentation. I am playing around with scripting in Mathematica, but I cannot seem to get any type ...
0
votes
1answer
88 views

Removing zero dot after solving

I've a question regarding "zero dots". Im using a lot of calculation in an application which i am building within mathematica. However when i use the output of solve for instant i will not have the ...
0
votes
1answer
31 views

PDE's numerical integration: simplify output: get rid of $[t,r]$'s and ${}^{(0,1)}$'s

When numerically integrating PDE's systems mathematica output can be chaotic and therfore time-consuming or even impossible to understand and use. A major source of confusion are the $[t,r]$'s and ${...
0
votes
1answer
81 views

Output formatting

Is it possible to format a mathematica output in a way that all the fractional numbers are written first followed by other constants or functions? Example: ...
0
votes
0answers
43 views

How to stop evaluation of Zeta with even arguments

It could be a duplicate question. However I could not find much after a huge searching. I have a huge expression in mathematica involving many Zetas. I want not to evaluate the even Zetas which ...
1
vote
2answers
90 views

How can I effectively achieve remote access to Mathematica output?

I will be away from my home institution for an extended period. I plan to leave programs running on machines there. These programs periodically (every several hours) output updated results (improved ...
0
votes
0answers
20 views

Outputting a concatenation of a string and a variable within a loop [duplicate]

In this question, it was mentioned that one can output the concatenation of a string and a variable by using StringForm[]: ...
5
votes
4answers
77 views

Non vector graphics display in a notebook

When I generate multiple scatter plots with a large number of points and display them as output, the notebook becomes very sluggish (I assume that this is because each plot has a huge number of points ...
5
votes
1answer
572 views

What is the meaning after a number with a ` symbol? [duplicate]

Sometimes, when copy pasting some output obtained in Mathematica I obtained a weird comma after a number and then more numbers. Imagine, and output for a computation is ...
4
votes
1answer
55 views

Strange behavior of Print, Do, and merged output cells

The command Do[Print[i], {i, 1, 3}] does what you expect: creates 3 output lines of 1, 2 and ...
0
votes
1answer
46 views

Dynamically updating the output of a loop

Consider the following simple loop: n=0; Do[n++;Print[n],{10}] Mathematica writes: 1 2 3 ... I want mathematica to ...
1
vote
2answers
70 views

Rounding numbers to certain numbers of significant figures

I have code which outputs numbers, for example,(0.2945847, 0.8647834, 1.6*10^-6) and similar. I would like to take these numbers and round them to 4 significant figures, but I can't find a way to do ...
1
vote
0answers
46 views

How to write a power using `WriteString` function

I have a solution of an equation: aa = N[Rationalize[g6[[3, 2]], 0], 16] (* Out: 2.691607147352649*10^-6 *) I want to save this result in a file using ...
0
votes
0answers
45 views

Save output of Mathematica batch job to file

bsub "math -script input.m > output.out" runs the Mathematica command in input.m as a batch job and should print the output ...
2
votes
1answer
37 views

Space between elements using `Write`

I have the code: ...
1
vote
2answers
40 views

Storing one of two outputs of For loop

I have a set of data: ...
2
votes
0answers
85 views

Is it possible to get the original number from DecimalForm?

I'm trying to implement an efficient TSV exporter based on the code from this answer. It works sufficiently quickly but the problem is that OutputForm shows about 6 ...
0
votes
0answers
71 views

Fortranform output in double precision

I want to take the output in fortran form but written in double precision notation. For example, exp=1 + 8*as^2*Log[2*x] which gives ...
-1
votes
1answer
31 views

Trying to animate an m x n matrix one row at a time [closed]

I would like to use ArrayPlot[list, Mesh->True] if possible and I essentially want it to show 1 row at a time and animate the changes it goes through.
2
votes
1answer
38 views

Echoing commands when running packages in batch mode

I run Mathematica packages in batch mode. I need a log file showing input commands and displaying their output. I tried these commands ...
4
votes
3answers
101 views

How can I set the style of one Output cell so it doesn't change after re-evaluating its Input cell?

I have created a notebook for my classes which is full of inputs that need to be evaluated by my students. All these inputs produce standard outputs, which are fine as they are. But there is one of ...
0
votes
1answer
73 views

Saving data in flat files using Mathematica

I am trying to solve a system $dx/dt =f (x, t)$ using the RK4 in Fortran 90 that works for any 2D Hamiltonian systems. I would like to generate using Mathematica a Fortran file .f90 that contains the ...
1
vote
0answers
32 views

How to analyse huge output from Reduce systematically?

I have a constrained optimization problem, looking for Nash equilibria. I use the KKT conditions programmed using Reduce to solve it. For the general case I get a very large output, with more than 100 ...
1
vote
2answers
105 views

Try to find the number of points near the black color ؟

Given this RGB image I want to find the number of points that are, or almost, black ؟
0
votes
1answer
56 views

How do I use Module to convert a calculation into a function? [closed]

I have some code that performs a calculation. I want to make a function out of it so I wont have to cut and paste to calculations with different values of a, ...
3
votes
1answer
45 views

Recover result after “Set” error

I have a function someFunction[] that takes a long time to evaluate. I would like to run ...
1
vote
1answer
31 views

Setting the style of the output in a text file

My problem is related to FormatType of the Output of Print[]. Look at this example code <...
2
votes
2answers
41 views

Paste Print output in a text file [duplicate]

I have a For[...] cycle which calls a function. When the function is at work, it prints some text-string through the command Print[...]. Since I iterate the action of the function for 1000 times, the ...
0
votes
0answers
90 views

Problem with Gamma Package

I wanted to install the Gamma package. The package seems to have installed correctly. However, I am not seeing any symbolic output. The outputs should be like these. But I am getting these. Any idea ...
0
votes
0answers
44 views

Output of intermediate results from very long NDSolve computation into sequenced CSV files

There is a problem that I was not able to solve for months, if not years, and I can't postpone it any longer. It is this: I know how to output the result of a computation from NDSolve into a file ...
1
vote
1answer
408 views

How to suppress printing statments in function call

I defined a function in Mathematica using Module similar to ...
2
votes
1answer
48 views

Incomplete and weird output from Reduce

Reduce[ a >= 0 && b >= 0 && c >= 0 && d >= 0 && a + b + c > 0 && a >= d, {a, b, c, d}] Returns the ...
0
votes
2answers
104 views

Data output in the specific scientific form

If I have data of data = Table[f[x,y],{x,{1,2}},{y,{1,2}}] which gives {{f[1,1],f[1,2]},{f[2,1],f[2,2]}} Then Export["file.txt",data,"Table"] gives ...
0
votes
2answers
202 views

Why can't the function give the numerical value?

Beginner at Mathematica, I cant figure it out how to obtain numerical result from my defined function "Temp[t]". When I run the program, I end up getting the whole expression in terms of variable $t$. ...
7
votes
3answers
346 views

How to convert input expression to FullForm String

Is there a way to convert an input expression to FullForm String? Here is my attempt, which is almost there. ...
14
votes
3answers
206 views

How to make the result of InputForm balance the bracket

I always use InputForm to check the result object,such as Dataset or Graphics or other ...
1
vote
2answers
84 views

Multidimensional plot of output value over all possible combinations of input variables in mathematica

In Mathematica I have a self-defined function in Mathematica: outputval = myfunc[v1, v2, v3, v4, v5, v6, v7, v8, v9] When the function is called as above with ...
0
votes
1answer
66 views

How can I get an array of numbers from the user and show the numbers with formatting?

Suppose that I have to print the following lines: Number 1 is 5 Number 2 is 6 Number 3 is 7 Number 4 is 8 Number 5 is 9 Now, if I were programming in C, I would have run the following code : ...
1
vote
0answers
116 views

Output from Solve is { } [closed]

Why is the answer (output) from the Solve expression shown below {}? Can someone please tell me what's wrong with the expression....
1
vote
0answers
21 views

Is there something like DefaultOutputCellStyle? [duplicate]

Is there any option to set so that e.g. "Input" cell will produce output in e.g. "Custom" style cell as opposed to ...
3
votes
1answer
109 views

Elimination of “1” in HoldComplete [duplicate]

HoldComplete[2 3 3] will return HoldComplete[2 3 3]. HoldComplete[b a] will return ...
0
votes
1answer
55 views

Computing the variance of a PDF [closed]

Inspired by this question I try to find to compute the variance of: $$f(\vec{t}) = \cases{\frac{d + 2}{2 c_d}(1 - \vec{t} \cdot \vec{t}) & if $\vec{t} \cdot \vec{t}< 1$ \\0 & otherwise}$$ ...
7
votes
1answer
90 views

Slider with Appearance “Labeled” Gives Too Much Space

Without Appearance -> "Labeled" Sliders take up the expected space. ...