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.

learn more… | top users | synonyms

0
votes
0answers
23 views

How to extract the certain variable from output of coding

Good day, Can anyone help me how can I extract the certain value from the output after run the coding. The output of the coding, ...
0
votes
0answers
47 views

Mathematica, stop sorting my output! [on hold]

I'm trying to get some output from Mathematica / WolframAlpha, but it's coming out in a useless format. Mathematica is, for some reason, sorting my output. Below is the output from my function and ...
0
votes
0answers
30 views

Show full output for a matrix in mathematica [closed]

I have a very large rectangular matrix. It is an incidence matrix that I obtained from a bipartite graph data. I want to view the whole matrix. It only shows SparseArray[...] and specifies dimensions ...
1
vote
2answers
142 views

How to do a parametric histogram?

Is it possible to draw a spectral histogram from two random sets ? More specifically, I have these two random functions (fmin, ...
4
votes
1answer
110 views

Why do I get the Null when I evaluate Print[x] // InputForm? [duplicate]

When I execute: Print[x]//InputForm I get a Null at the last line of the result. This is an example shown in the ...
2
votes
2answers
127 views

How to plot an Eddington-Finkelstein diagram

I need to plot the same thing as what is shown on the third picture of the site below (sorry, I'm unable to poste that picture here) : http://ion.uwinnipeg.ca/~vincent/4500.6-001/Cosmology/...
1
vote
1answer
50 views

Suppress “From KernelObject” when printing in ParallelDo

Is there a way to avoid printing "From KernelObject[n, local]" when Print[] or WriteString[] is used in a parallel computation? ...
0
votes
0answers
54 views

Mathematica does't print the number 10 for small numbers on command line

I'm running this code from commanline using mathematica 10.1 #!/usr/local/bin/MathematicaScript -script vec = Table[10.0^-v,{v,0,10,1}]; Print[vec]; and the ...
16
votes
3answers
224 views

What does the symbol Continuation do?

There is a symbol Continuation (residing in the System` context). There is no usage or documentation for this symbol. ...
1
vote
0answers
42 views

Stop front-end from auto-scrolling notebook to show output [closed]

I have made a simple "percent complete" output to track my For loop, where I incrementally print values and then delete the output right before printing the next ...
1
vote
0answers
42 views

Out[ ] cells suddenly begin with newline

This is a "feature" of Mathematica that persists through several versions. What happens: Mathematica experiences some internal hiccup and from then on starts every Out[ ] cell with a newline, which is ...
5
votes
1answer
121 views

How to export a 3D circle as a single piece PDF vectorial object?

I need to export a circle drawn in 3D with a specific point of view to a PDF file. This is easy to do. However, the exported circle is made of tons of non-connected small bits. I need the whole ...
2
votes
1answer
103 views

Can I improve this sloppy code used with Manipulate?

I'm not an advanced user of Mathematica, and yet I managed to get the Manipulate command work to do something interesting. The problem I have is that I have the ...
3
votes
1answer
50 views

Change of parameters on ouput graph

I have generated the graph, but i lost the settings, i would like to make the Plotmarkers slightly bigger. Is there anything to do this without redoing the computation? Like Show[%1,PlotMarker->{dot,...
1
vote
0answers
45 views

Periodic boundary condition trick

I'm plotting a curve on a compact space which is having periodic boundaries on the left and right parts. Currently, the code I'm using is working great, but I'm wondering if there's a simpler and ...
2
votes
1answer
53 views

Small glitch with EdgeForm and PlotRange

I'm experiencing a small problem with the edges of a square, if the PlotRange has the same size as the square : ...
3
votes
2answers
100 views

How to remove parts of a curve?

I have a curve that have some unwanted parts. How can I remove them ? Or how to constraint the curve to a specific region ? Here's a MWE that shows the problem : ...
3
votes
1answer
74 views

Frame labels without a frame?

Is there a way to add labels to a 2D plot, without the Frame ? Here's a MWE which shows a simple graph with four labels around its frame. I need to remove the frame, but keep the labels. Is that ...
0
votes
1answer
41 views

Help with limiting output

I wrote this program on Mathematica (which I am very new to): ...
7
votes
1answer
185 views

Why is Reap result nested? [closed]

A minimal (toy) example for my question: i= 1; Reap[Do[Sow[i = (i + 1)^2], {4}]] (* {Null, {{4, 25, 676, 458329}}} *) I presume the entire result is a ...
1
vote
1answer
60 views

How to rescale a NDSolve curve to fit in a box?

I'm numerically solving some differential equations and the 3D curve I get has a very complicated shape and size that cannot be predicted from the initial conditions. I need to rescale the whole ...
3
votes
3answers
97 views

How to change random values in manipulate?

I made a Manipulate box that is working very well, using lots of random numbers. I would like to add a button to "reset" (i.e. to change, randomize, or reselect) all the random parameters. Here's ...
1
vote
2answers
85 views

A way to show all the 3D curve, with view still centered on {0, 0, 0}

I frequently have this graphics output problem : I draw a 3D curve using NDSolve, and depending on the initial data, there's no way I could predict the shape and ...
4
votes
2answers
236 views

Plotting a complicated 3D wave on the surface of a sphere [duplicate]

Suppose you have a vectorial wave described by a complicated function of time and cartesian coordinates $t$, $x$, $y$ $z$ (very simple example below) : ...
1
vote
1answer
51 views

Chop not working [closed]

I am running a function that has a large output in matrix format with small, complex parts added to the numbers- basically a rounding error. I am trying to use Chop to obtain use-able results, but ...
0
votes
0answers
34 views

How to output values created by a nested for loop into table/ matrix form

I have successfully created the values i want, however i need to form them into a table. I need to create this table one row at a time, so the first 24 values would be the the first row, values 25-49 ...
1
vote
2answers
41 views

How do I Define a Module Which Displays Some Graphics and Returns Some Data?

I want to bundle some actions of a task in a module to call it a few times. The task shall display some Graphics and it shall return some data (as a list). But I can't do that (it would have been ...
2
votes
3answers
116 views

How to display elements of a product in a certain order [duplicate]

I have several product states, represented by a string of variables - for example, "ABC". I'd like to multiply this state by a constant, call it J, to which I don't want to pre-assign a value. Using J ...
9
votes
2answers
270 views

How to define variable “Rainbow” curve colors?

Firstly, I'm not asking about blending a color gradient on a curve. I would like to make the curve color uniform on all its lenght instead, but the color should change dynamically while we slide a ...
1
vote
3answers
207 views

How to apply a color gradient to a Rectangle primitive? [duplicate]

How can we apply a color gradient (say "Rainbow") to a Rectangle primitive ? Of course, I searched the documentation : http://reference.wolfram.com/language/ref/Rectangle.html, and also the site : ...
1
vote
0answers
84 views

Exporting 3D graphics in vectorial form

I often have to export a 3D graphics to a PDF file, to be opened and edited with my favorite vectorial application ('m using Intaglio, on OS X). I frequently get two problems (see the picture below, ...
0
votes
1answer
101 views

How to prevent extrapolation in Manipulate? [duplicate]

How can I limit the time slider to the NDSolve solution range in a Manipulate box, so no extrapolation is used ? More specifically, here's a stripped down version of my Manipulate code which shows ...
7
votes
1answer
181 views

How to add an outline around a closed 3D surface?

I would like to add a black outline (silhouette) all around a closed surface. Here's a MWE code to work with : ...
-3
votes
1answer
178 views

How to turn off depth sorting of 3D curves for Manipulate?

Is there a way to turn off the default depth sorting of curves in a 3D output of several complicated curves ? Currently, I suspect that depth sorting has a very strong impact on performances on my ...
1
vote
1answer
34 views

Distribute Conjugate over expression?

I have this output: Conjugate[Subscript[a, 0][x] + t^\[Beta] Subscript[a, 1][x]] I want to distribute Conjugate: ...
1
vote
1answer
188 views

Changing the Rotate behavior of a 3D graphics

Is it possible to change the way Mathematica rotate its 3D output graphics, when the user uses the mouse ? Here's a MWE to work with : ...
3
votes
2answers
139 views

How to make the mesh to rotate with a surface in Manipulate?

Here's a Manipulate code to show a particular 3D surface, rotating uniformly in time. The point of this Manipulate box is to show that the surface do indeed rotate like a solid, so I can't "cheat" ...
1
vote
1answer
91 views

Ugly rendering of curve with ParametricPlot3D and NDSolve [closed]

I frequently have this rendering problem when I plot a complicated curve with ParametricPlot3D, found by solving a differential equation with NDSolve : The curve should be more "regular" (it is ...
1
vote
0answers
39 views

How can I change the way a Head is printed on the notebook? [duplicate]

Consider the following simple example: Interpolation[{0, 1, 2, 3}] Despite the FullForm of the output of this expression is ...
0
votes
1answer
58 views

Checkbox in manipulate not properly working

This question is related to another question of mine : How can I add a checkbox to a Manipulate expression?, but I'm still unable to make the checkbox to work properly. Here's a MWE code, from my ...
0
votes
0answers
42 views

Is it possible to make a standalone OS X app from manipulate?

I'm wondering if it's possible to make a standalone app from a manipulate box. I mean a small app that do exactly what the manipulate box is doing in Mathematica, but without Mathematica. In other ...
0
votes
1answer
69 views

NumberForm pesky warning from Manipulate

I'm using the NumberForm command inside a Manipulate environment, and in some special cases Mathematica gives a pesky and mostly useless warning message : NumberForm::sigz: In addition to the ...
1
vote
1answer
34 views

NonlinearStateSpaceModel/OutputResponse gives doubled outputs

I want to simulate a pendulum or rather the controlled system. But NonlinearStateSpaceModel or the OutputResponse gives weird ...
1
vote
2answers
65 views

styles and print and output

I know I can use styles to change how the result of Print looks. But I have a case where I use Print to display some ...
0
votes
1answer
27 views

Trouble interpreting output quantities

I'm trying to use Mathematica to get a numerical answer for a physics problem. I define a function $V$ as the sum of three quantities divided by vector norms: ...
3
votes
1answer
396 views

Wrong result of simple math calculation. Is it possibly a bug of the program? [closed]

I encounter the following issue accidentally (shown in the screenshot) which is very odd to me. The output[4] and [5] is obviously wrong. But with the input value of 991.91, it turns out to be right (...
2
votes
1answer
66 views
1
vote
1answer
61 views

How to export a list of numerical data to a file in the terminal?

I have a very simple program that export a list to a data file in table form. ...
3
votes
1answer
59 views