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
0
votes
0answers
16 views

Mmma connectivity . parquet. python

Is there any way to exchange data in binary format with python ? Example. a) I have data in Mmma and want to export them to make use in python ... b) Want to use Parquet format
1
vote
2answers
42 views

How to save expression with its name

I want to save expressions as well as their names in a file. func[i_] := i; Do[func[i] >>> out.m,{i,1,3}]; The output is ...
0
votes
0answers
40 views

Exporting data from NDSolve

I have solved an ODE using NDSolve and I wish to export data to plot in Python. I have solved the ODE and have the output of interpolating functions ...
0
votes
1answer
51 views

Mathematica sometimes failing to write to file

I stumbled upon a weird behaviour where inside a For-loop, Mathematica will not output anything into a file in certain iterations. The code I have is symbolically ...
0
votes
0answers
59 views

Readable formula output on command line

I was trying to solve some differential equations. Mathematica is a little expensive to me, so I went for the free Wolfram Engine for Developers. It is said that the engine offers the full power of ...
0
votes
1answer
35 views

remove one of the column in the output of Solve command

I would like to remove one variable in the output of the "Solve" command without changing the rest. For instance, in the following code ...
0
votes
0answers
24 views

FeynRules error: “Wrong head FC”, followed by “Filter” and $Aborted while trying to output UFO file

I've been trying to create the UFO files for a particular QCD Lagrangian, LQCD := LQuarkD + LUpS + LDownS + LSU3; to no avail. The ...
5
votes
1answer
101 views

ParametricNDSolve fails when I *don't* print the results

Some updates added to end. Truly minimal exampled added at top. Minimal example: ...
0
votes
1answer
41 views

WriteLine[] not working once put into a function

I wrote a function that takes two strings, an integer, and an OutputStream, it's supposed to write to. The function is: ...
6
votes
1answer
107 views

Show timing of every output

I know I can follow Wolfram's guide and enable "ShowTiming" to show the timing of the previous command at the bottom of the window. Additionally, I can enable <...
1
vote
1answer
50 views

Can I get mapping as output from SatisfiabilityInstances?

Consider the code: SatisfiabilityInstances[Implies[a, b], {a, b}, All] (* output *) {{True, True}, {False, True}, {False, False}} I would like to obtain the ...
0
votes
2answers
47 views

Wrong limit result?

I'm trying to evaluate the following limit: Limit[(d + 1/2)*Log[d + 1/2] - (d - 1/2)*Log[d - 1/2],d->a] Normally, when a tends towards 0.5, the limit is ...
0
votes
2answers
31 views
6
votes
1answer
69 views

Can I stop a running NDSolve calculation without losing the data it obtained so far?

I would like to solve a system of ODEs numerically using NDSolve on an interval {t,t0,tf}. For the systems I currently solve, ...
1
vote
0answers
49 views

Can I store output data in the Notebook file? Specifically output from NDSolve[ ]

I am having some outputs from NDSolve of the form {{x→InterpolatingFunction[…], y→InterpolatingFunction, … }} and the ...
0
votes
1answer
54 views

Is it possible to overwrite a button output?

For example, if I have this basic button Button["Sum", Print[2 + 2]] is it possible to overwrite the same output without creating a new one and have a single 4 ...
0
votes
0answers
42 views

How to convert {x -> 4} to simply 4? [duplicate]

I am using the Solve function to obtain two solutions for a quadratic, then I want to use those two solutions as input for something else but I can't because they are in the form of (x->number} ...
2
votes
2answers
116 views

Express HarmonicNumber as sum

If you run the following code, the fifth harmonic number is not evaluated as a sum. Table[HarmonicNumber[i,-1/2],{i,0,5}] How can I get Mathematica to output ...
4
votes
1answer
68 views

Context leak in Wolfram Script?

hello.nb SetOptions[EvaluationNotebook[], CellContext -> Notebook] Print["hello"]; a = 1; Print[a]; Print@Context[] bye.nb ...
0
votes
0answers
22 views

Console Output to file corrupted

When i run WolframScript and write the output of a *.wls to a file and then modified the program slightly, i started getting these more exotic outputs. The function used is NetTrain. Does someone ...
0
votes
1answer
32 views

Limit function and DirectedInfinity as output: Interpretation

I tried to compute the following limit: In[12]:= Limit[-A/2 x - 2 x, x -> +Infinity] Out[12]= DirectedInfinity[-2 - A/2] Does the output tell me that the ...
1
vote
1answer
59 views

Menu object in a notebook that will print text in a new cell

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the cell displaying panel generated with Manipulate. I have been trying ...
1
vote
1answer
93 views

Why do I get different symbols (a) with the same FontFace (Cambria Math)?

When I create an equation in MS Office, it uses Cambria Math, and I get the following when I use variable 'a'. When I try to use Mathematica to create graphics for my files, I can try to use ...
1
vote
0answers
53 views

Mathematica symbolic question - Subexpressions?

Apologies in advance if this has been asked but I cannot find any information. I'm calculating the determinant of a large symbolic polynomial matrix. In the result are symbols such as this: as in ...
2
votes
1answer
122 views

Decimal format in Mathematica exported output

I am using ReadList to read an input file as Table format, and exporting the results. The ...
2
votes
1answer
72 views

Plot shows up as blank output line

Let me start by saying this is NOT one of a thousand duplicates of the function not showing up on the plot. Mathematica has been working fine for the last 2 years, and then all of a sudden, ...
7
votes
2answers
134 views

How can I manipulate the output of Information?

If I type Information[ProductLog] I see If I type Framed[Information[ProductLog]] I see This is expected, though not ...
2
votes
1answer
81 views

Scientific Notation for Quantities

I am using Quantities (units) in Mathematica 11.3 and would like to express the numerical portion of the output in scientific notation. The command ...
0
votes
1answer
60 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: <...
5
votes
1answer
72 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
29 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
233 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
98 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, ...
3
votes
0answers
72 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
131 views

Removing zero dot after solving [closed]

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
32 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 ${...
1
vote
2answers
152 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: ...
1
vote
2answers
108 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
28 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
78 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
846 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
58 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
174 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
177 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
65 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
101 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
61 views

Space between elements using `Write`

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

Storing one of two outputs of For loop

I have a set of data: ...
1
vote
0answers
121 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
32 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.