2
votes
2answers
347 views

Problem with Poincare section

these are equations for some double oscillators: $x'(t)=p, p'(t)=-x-3y, y'(t)=q, q'(t)=-y-3x$ I would like to plot the Poincare section for collection of $(y,q)$ when $x=0$ and $x'(t)>0$ (or for ...
2
votes
1answer
164 views

How does one get Mesh lines at 0 in ParametricPlot3D?

The following is in the documentation (MMA 10) under ParametricPlot3D -> Options -> Mesh : ...
14
votes
3answers
389 views

Equivalent of ReplaceAll for Associations?

Is there a nice (built-in) way to apply Replace-style rules to key-value pairs in an association? Something like ...
1
vote
0answers
59 views

Operations perform differently in notebook and terminal interfaces

The following command executed on a Raspberry Pi equipped with a RaspiCam behaves differently depending on whether the command is run from the terminal (via ...
2
votes
3answers
126 views

Cases do not return all expected result

I have the following line code: Cases[g[h, r, t, b, m], x_[__, y_, __] -> y, {0, -1}] I am expecting the results to be ...
1
vote
0answers
74 views

How can I modify the interval of the function Image[]?

I think the default interval is [0,1]. when I have all positives I find it easy to rescale but when I included negative values it doesn't give me the results that I expect. for example how can I ...
6
votes
1answer
809 views

Why don't some functions work in trial versions of Mathematica?

I currently use the trial version before I decide to upgrade. However, a number of expressions don't work, i.e. it results in some errors that I don't know how to interpret. For example, if I use the ...
2
votes
3answers
142 views

Initial Image Size of dynamic plot

I have a dynamic plot. I want to set an initial image size and then be able to resize it by dragging with the mouse. When the image is updated, I want to maintain the "dragged" size. A naive attempt ...
5
votes
1answer
267 views

How to construct a polyhedron from its vertex graph?

Consider the graph given by ...
16
votes
1answer
559 views

How to add named characters to Mathematica 10?

It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::tsntxi: "\"!(\[ KlingonA])\" is incomplete; ...
-1
votes
3answers
208 views

Optimization Algorithm: ideas wanted

EDIT: Lets assume a random matrix: ...
1
vote
2answers
217 views

geometric construct in GeoRegionValuePlot doesn't work?

As stated in the documentation of GeoRegionValuePlot: The reg can be Entity objects such as countries corresponding to extended geographic regions, or geometric ...
2
votes
1answer
139 views

How can I programmatically specify the positioning of a window at the time of its creation?

CreateDocument[{}, WindowSize -> {100, 100}] always centers the new window.
11
votes
2answers
1k views

Transfer graphics from Mathematica to Word without loss of quality

I want some high-quality 2D graphics produced by Mathematica in my paper. My step-by-step operation as follows: First I make the plot, for example, ...
1
vote
1answer
215 views

Front End Find feature broken in Version 10 with OSX Mavericks?

I installed Mathematica 10 and on my Macbook-Pro with OSX Mavricks. I was most frustrated to find that the front-end Find feature doesn't work. Do others have this problem? Is it possible something ...
4
votes
1answer
675 views

Image Processing: Detecting and counting small objects

I would like to analyze close-up images of human hair. My goal is to detect and count the number of hair strands and determine their width, but I am having a hard time binarizing the image. Seems like ...
9
votes
4answers
461 views

Labeling triangle edges in Mathematica 10

Mathematica 10 introduced lots of new geometry related functions, and one of these is SSSTriangle which creates a triangle graphic given the three side lengths. Is it possible however to label the ...
3
votes
0answers
325 views

Death of parallel sub-kernels

EDIT : Finally, the new Mathematica 10.0 seems to fix it. I have a little parallelization problem. I wrote a code to generate a quasicrystal by dynamical generation. Here the code: ...
16
votes
1answer
351 views

In Compile “InlineExternalDefinitions” doesn't work anymore in Mma v10 like in v9

In Mma 9 using CompilationOptions -> {"InlineExternalDefinitions" -> True} inside of Compile inlined the values of the ...
3
votes
3answers
220 views

Function that prints a different value than it returns

I want to create a function something like this: test[x_] := (Print[1]; Return[2];) Except it prints 1 when executed as ...
2
votes
1answer
53 views

Is the use of Block to temporarily override definitions inherently unsafe? [duplicate]

This may have been discussed before, if so, please let me know. Consider the following example: x = 5 Dynamic[{Clock[], x}] This will always display the ...
5
votes
1answer
159 views

Obsolete AstronomicalData - how to convert to PlanetData

As of Mathematica version 10, AstronomicalData is obsolete, deprecated in favor of PlanetData, ...
0
votes
2answers
160 views

3D Plot from 3 Polynomial Equations

Here is my code: ...
0
votes
3answers
108 views

Using “With” outside a function on its parameters [duplicate]

I am making complex 3d graphics, and to clear up functions, I want to use With to remove a repeated action. This action occurs many times through many functions, so ...
3
votes
0answers
51 views

How to get rid of Mathematica 10's help tooltips? [duplicate]

Since Mathematica 10 every time your mouse cursor appears above some function or even variable, an annoying tooltip appears offering help: I've become quite used to Mathematica now and I don't need ...
0
votes
1answer
198 views

Density map strange mapping of color

I tried to convince Mathematica 8 to plot a density map of a function: $$f(x,y) = \frac{2(x^2 - y^2)-1}{(x^2 + y^2)^2}$$ with color scheme called "TemperatureMap". At $x = \pm 1$, $y = 0$ it's ...
8
votes
4answers
2k views

Swap elements in list without copy [duplicate]

I have a lists with 100,000 elements and would like two swap to entries without dublicating the list Example: ...
3
votes
1answer
154 views

NDSolve break condition

I'm solving a differential equation numerically by NDSolve[{p'[r] == -function[r,p[r]], p[0] == pcenter}, p,{r, 0, rmax}] with function>0. At some r, p[r] ...
14
votes
1answer
267 views

Potential pollution of Global` context in fresh kernel

Bug introduced in 10.0.0 and fixed in 10.0.1 If I evaluate, with a fresh kernel Names["Global`*"] I get {"rhs", "z"} ...
4
votes
1answer
92 views

How can I find out where a key binding is coming from?

Related: Automating Esc [[ Esc formatting? In previous versions of Mathematica, I could add these lines to my KeyTranslations.tr file, to map Ctrl+[ to [[: ...
3
votes
6answers
545 views

Triangular numbers boolean function

I read the new book by Paul Wellin Programming in Mathematica. There is an exercise about triangular numbers. (The n-th triangular number is defined as the sum of ...
5
votes
1answer
152 views

Can you make the new “Choose color scheme” helper larger?

Mathematica 10 has a cool new "color data chooser" feature: My question is: Can you make that window larger? Right now, I can only see 3-4 color schemes at once, even though all 51 gradients would ...
0
votes
0answers
27 views

Simplifying (A+B)* C doesn't work [duplicate]

This is simple, but it doesn't work: In[1]=FullSimplify[(A0 + B0) C0] Out[1]=(A0 + B0) C0 which should be: A0 C0+ B0 C0 It ...
4
votes
1answer
194 views

Why GridLines->function does not work with LogPlot?

Bug introduced in 10.0.0 and fixed in 10.0.1 Version 10: This works: ...
2
votes
1answer
71 views

Dynamic with RegionNearest keeps one CPU core at 100% - Is this a bug?

Normally, when you use Dynamic with a CPU-intensive expression, the expression only gets evaluated when a symbol in the expression changes. This doesn't seem to ...
12
votes
3answers
4k views

How to get updates for Mathematica V10

As you know, Mathematica V10 has just been released and I think a lot of updates will be released. However, I don't see any command in the help menu to update (which is present in most other ...
1
vote
1answer
342 views

Mathematica User Interface Tutorial

There I am looking for Mathematica User Interface Tutorial if anyone know Please provide the Link or description UserInface like Importing file using Buttons poping dialog boxes etc. Any help will be ...
30
votes
2answers
9k views

What are the standard colors for plots in Mathematica 10? [duplicate]

Mathematica 10 release appears to have changed the default styling of plots: the most visible changes are thicker lines and different default colors. Thus, answers to this stackoverflow question are ...
1
vote
3answers
2k views

Why does FindFit seem to have trouble fitting exponential data?

I have 4 data points. t is in minutes, and y is radioactive counts per minute. When I input the following lines: ...
4
votes
1answer
270 views

How to make Mathematica save all open files, or automatically ask to save each file when closing

Here is the scenario: You have number of open notebooks at the same time, and made some changes in all or some of them but have not yet saved the changes. Mathematica does not have something like ...
1
vote
2answers
213 views

Is there an easy way to divide a matrix into four blocks?

I often get a data table with column names and row names. For example: ...
16
votes
3answers
1k views

How to get grid lines at all (log) tick marks in Version 10?

Update: It seems that only versions 10.0.0, 10.0.1, and 10.0.2 are affected by this problem. For 10.0.0 there is no general solution known to me due to Why does GridLines option fail with Function? ...
1
vote
1answer
276 views

Plotting Time Series with call to Wolfram Alpha

I am trying to plot stocks showing some of the local maxima. As an exercise I first tried to load Apple's stock data from Wolfram Alpha with the following code: ...
29
votes
5answers
2k views

Mathematica 10 Dataset doesn't format more than 4 columns?

Try this code in Mathematica 10: Dataset@Table[Association[ToString[#] -> # & /@ Range[4]], {2}] I got a nicely formatted table: But when I do the same ...
14
votes
2answers
810 views

Different colors when comparing Plot3D V9 and V10

I am trying to create Plot3D with same color as we used to get in V9 but without success. I used PlotTheme -> "Classic" in V10 but the results looks like somehow ...
2
votes
0answers
150 views

Menu bars on Palette windows don't work properly — any workarounds?

After getting help from Rojo with Menu commands on Palettes and other windows without menu bars? I was able to create a Palette with a menu bar by: Selecting the Palette and opening the Option ...
2
votes
3answers
724 views

Backsubstituting solution into FindRoot and Plot

I want to find roots from a transcendental equation using FindRoot as a function of a real parameter and then plot the solutions vs. the parameter. The following commands work perfectly: ...
11
votes
1answer
333 views

Menu commands on Palettes and other windows without menu bars?

Bug introduced in 10.0.0 and persisting through 10.1.0 or later In the Version 10 interface, at least by default, there is no longer a common menu bar in a separate window, and menus appear to be ...
1
vote
1answer
234 views

How to increase significant digits in Mathematica

How can I increase the number of significant digits in Mathematica? When I import a matrix, an element like 112.5276 is rounded to 112.528. I would like to increase the number of significant digits ...
31
votes
0answers
769 views

Input Aliases in Mathematica 10

Bug introduced in 10.0.0 and persisting through 10.4 or later In Mathematica 9, typing in an input alias such as intt would result in the keyboard cursor ...

15 30 50 per page