# All Questions

36 views

### Manipulate Demo Full Screen

Is it possible to create a demo using Manipulate and then open it in a document that can be expanded to full screen?
16 views

### How to combine several graphs in one?

If I have table of for example 5 sets of points which form 5 curves, to plot all of them in the same graph I use this: ...
16 views

### How to create my own procedures in mathematica?

I need to use some sequence of actions several times in my code. This actions includes cycles and some simple mathematics. Is it possible to create procedure (function) like in languges such as c, to ...
48 views

29 views

### Summing the probability distribution to 1 to convince myself

I have worked out a probability distribution and want to check its sum which is necessarily 1. First we write  r \triangleq \frac{(2 \lambda + \mu)^2}{2(\mu + \lambda)^2}, \quad s \triangleq ...
58k views

### Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
70 views

### Parametric contour plot?

I am trying to plot a contour of a function g(x,y) (in particular, the contour g(x,y)=1) on a different set of axes than (x,y): I want to plot it on (f1(x),f2(y)), where f1 and f2 are (monotone ...
38 views

### Can anyone help me to get the solution of this first order ODE?

$\ y'(x)=-sqrt(y(x)^3)$ with initial condition $\ y(0)=-2$. In fact, this is an example here in page 3-4 ...
97 views

### Does anyone know a way to draw lines connecting nearest neighbor points in ListPlot[ ]?

I have a two-dimensional mesh that I am visualizing in Mathematica, with ListPlot[]. The mesh looks like this: Any ideas for how to connect all the nearest neighboring points with lines? Thanks, ...
59 views

### List(Line)Plot with a big jump

I am trying to plot a joined plot. Some possible ways would be ListPlot with Joined -> True or ...
23 views

### I can't connect all wolfram websites if I use VPN

I can connect wolfram's sites if I connect them directly,but once I connect my vpn,even mathematica can't connect to the internet.And there is no problem to connect other sites.Why does this ...
33 views

### Align a plot with other rotated plot

i'm plotting two plots one of them is rotated 90º and has no axes labels, so my problem is that when i plot them together in a row the alignment options bottom top align the top to top or bottom to ...
201 views

### How can I improve speed of code that generates an orbit plot?

I am attempting to generate an orbit for the "time 2 Pi map" of a forced damped pendulum. The example comes from page 57 in the Chaos text by Alligood,Sauer and Yorke, see Figure 2.7. The code ...
49 views

### Mathematica List Selection

I have a list which contains these elements : ...
35 views

### Converting list into Double quote list

I am trying to import a spreadsheet of stocks. I have tried to flatten it and a few other functions but noting seems to work. Can someone help me get the double quotes surrounding each stock like in ...
736 views

### Is it possible to draw really thin lines in Mathematica?

I want to have in Mathematica the same result I have in Python: I have this nice effect simply by using very thin lines. But it seems in Mathematica thickness property has some limit and i just got ...
639 views

### Which Distributions can be Compiled using RandomVariate

Recently, Oleksandr kindly showed a list of Mathematica commands that can be compiled. RandomVariate was part of that list. However, whether this can be compiled depends upon the distribution that is ...
72 views

### Fitting an implicit function to data with error bars

I am trying to fit a Brillouin function to the peak intensity of neutron scattering data, for which I have an error bar for each data point. For this the program has to fit a function, for which the ...
103 views

### How to tell Mathematica that certain variables are real/imaginary, integer-valued, etc

I'm trying to expedite some quantum mechanical calculations by running them through Mathematica. Expectation values and stuff like that. When I say, for example, ...
23 views

### Labelling a bar chart with multiple data sets

I'd like to plot a bar chart with two data sets $\{a_1,a_2,\dots,a_n\}$ and $\{b_1,b_2,\dots,b_n\}$ in such a way that the columns appear in the order $\{a_1,b_1,a_2,b_2,\dots,a_n,b_n\}$ and that each ...
36 views

### Solving for a Transfer Matrix

I am currently working on a program that will solve a transfer matrix and extract several elements. Particularly, the transfer matrix is characterized by four elements in a ...
53 views

### ColorFunction that depends on angle of line

I have a ListLinePlot, and I want the ColorFunction to vary as the angle, so that the color of the whole line depends on its angle from the x-axis. Here is a MWE of what I am doing: ...
39 views

### i cannot create a standalone executable from an exported Mathematica function

I generated the C code: compute.c ...
34k views

### Get a “step by step” evaluation in Mathematica

Is it possible in Mathematica to get a step-by-step evaluation of some functions; that's to say, outputting not only the result but all the stages that have led to it? Example : Let's say I want to ...
54 views

### Finding out all undocumented values for “Properties” in XxxData[] functions

No, XxxData[] is not a new function in Mathematica 11. I am just using that name for all curated data-related functions. As you know, ...
32 views

### Direction Field for an Ordinary Differential Equation

I have found links for plot the direction field of a differential equation. For example: How can I plot the direction field for a differential equation? And: Plotting the direction field of a ...
3k views

### how to make graphic timelines in mathematica

Hi does anyone know how to make timelines with mathematica? http://images.nationmaster.com/images/motw/atlas_middle_east/turkey_timeline.jpg something like that would be great! thanks
1k views

### Linear programming with many variables and parameters

I am trying to reconstruct the answer that is given in this report. (page 153 in Appendix B; Section B.2.1). They are given variables, parameters, constraints, and the objective function to minimize. ...
40 views

### Regarding Evaluated True

Done a bit of reading: Normal[Series[ ]] does not give a normal expression Regarding the Evaluated->True, consider: ...
60 views

### Graphic timeline from array

I found this question where someone put some code to graphic a timeline based on a certain number of events. In that code in particular, the events are hard coded one by one, I want to modify it, so ...
41 views

### Wolfram CDF Player not working anymore in WordPress v.4.0.1

I usually instert my CDF demonstrations in my WordPress site with the WolframCDF plugin v.2.1. It worked fine till a couple of days ago. But, after the recent (automatic) upgrade of WordPress from ...
45 views

### How to take a coordinates of mouse position? [on hold]

There is MousePosition function, which gives a coordinates of mouse right now.But I need coordinates of a line, that been made by user in the picture. I was thinking about writing function, that gives ...
2k views

### Plot draws list of curves in same color when not using Evaluate

This example comes from the Mathematica documentation for Plot under Basic Examples. Can someone please explain why these are each plotted as a different color in ...
42 views

### What is the simplest way to obtain function obect of a given function?

Suppose I have a function p of some arguments: p[x_,y_]:= (* something *) Now I with to pass this function as an object to ...
34 views

### plot the numerical value of the average on a BoxWhiskerChart

Im using BoxWhiskerChart to get a boxplot of a matrix of two columns. I need to read the value of the sample average directly from the plot and not from the axes. That is I need to plot the number ...
106 views

### Merging two lists with possible different keys

This is very similar to my earlier question One to Many Lists Merge but somehow different. I have two lists, first column in each list represents its key. I want to merge these two lists. The only ...
2k views

### Maple vs. Mathematica

I am reading the document "How Maple Compares to Mathematica" found at http://www.maplesoft.com/products/maple/compare/HowMapleComparestoMathematica.pdf. On page 15 there is an example where ...
98 views

### Something wrong with the way units are handled in V10

(This applies only to version 10) I obtain these two properties of silicon: a = ElementData[14, "CrustAbundance"] b = ElementData[14, "MeteoriteAbundance"] both ...
55 views

### replace RHS of rule

is there an elegant way of replacing the RHS of a rule with the value of some function of it. Say I have {{a -> 1.2}, {a -> 2.3}} and I want to replace ...
783 views

### How to vary color of fill between listplots based on y-distance between them

I have two lists with the same x-values but different y-values. I have used ListPlot to plot and fill the space (line) between them; however, I would like the color ...
459 views

### Filling only when one curve is below the other

I want to fill the area between two curves only when curve-1 (Black) is below curve-2(Blue). So In this example, I don't want the middle portion shaded but just the left and right tails to be shaded. ...
372 views

### Improve TextRecognize[] on numbers

I have an image contain only numbers, and TextRecognize fail to recognize some numbers: img=; TextRecognize[img] (*826718*) The documentation says that "The ...
223 views

### How to do color-fill in Mathematica?

Color fill, the ability to apply a desired color to an enclosed area, is one of the basic functions provided by most graphic applications. Is there a similar ...
62 views

### C# Tree view similar

Is it possible in Mathematica to add a GUI like the Tree GUI element in Visual Studio 2010 C# Windows Forms? I want to have the similar feel
61 views

### How to print non zero elements of the matrix containing zero elements and non-zero elements both?

A matrix with both non-zero and zero elements is given. I want to print only the non-zero elements of the matrix. What is syntax that have to be used for this? matr2 = Table[FortranForm[matrixx[[i, ...
30 views

### Histogram bin includes numbers out of range [on hold]

I have a list of large integers I want to plot in a histogram. The integers are distributed in [2^(l-1), 2^l) where l is the bit ...
30 views

How do I avoid having to resend previously evaluated commands when I reopen my notebook? can't it just allow me continue my computation from where I stopped? Also, some inputs take forever to execute, ...
239 views

### “NotAvailable” and “NotApplicable” data points returned by WeatherData[]

I am trying to use ListVectorPlot in combination with WeatherData and CountryData to show ...