3
votes
2answers
27 views

Covering cases with zero and 1 exponent when defining function

I have a function that I am defining as (assume m,n,a,b are non-negative integers): myfcn[x_^m_ p_^n_, x_^a_ p_^b_] := basefcn[m, n, a, b]; and then extending to ...
5
votes
0answers
89 views

Proving the hairy ball theorem using xAct

I would to formally prove the hairy ball theorem in Mathematica, initially just for the $S^2$, and then see about generalizing. An approach I thought about to use the xAct package to define $S^2$ and ...
0
votes
0answers
5 views

Wavelet expansion of given function (as opposed to DWT of given data)

To illustrate, say I take the following function (the reason for the square root will be apparent soon) ...
2
votes
1answer
101 views

Bug in ParallelTable after evaluating another function using NDSolve and FindRoot. What is wrong with this inverse?

I am trying to find the inverse of a function which is defined through NDSolve and NIntegrate. The question is pretty similar ...
4
votes
1answer
66 views

How to sort the functions in a Package?

Once a Package like abc` has been installed, we can use "?abc`*" to scan all the functions defined in this Package. Now I ...
26
votes
2answers
1k views

How can I use the Klingon alphabet symbols?

Note: This functionality is presently missing. See: How to add named characters to Mathematica 10? Mathematica apparently supports the Klingon alphabet: ...
8
votes
5answers
556 views

Will Version 9 functions all work in Version 10?

Having developed a substantial code base in Mathematica 9, leads me to ask these important questions prior to downloading and installing Mathematica 10. Will any Mathematica functions from the ...
3
votes
2answers
41 views

Algebraic expressions on pure functions

I would like to know how to perform algebraic operations with pure functions. Simple version version: Here's a silly toy model: I want to transform the algebraic expression Sin*Cos into the ...
0
votes
0answers
19 views

Different outcomes during Symbolic Integration using MMA-10

I would like to know the underlying reason for different outcomes for the two integration operation below. One of them includes a few assumptions, otherwise both have the same integrand: ...
0
votes
0answers
9 views

How can I get the documentation index for add-on packages working in Mathematica 10?

Using the methods described in the answers to Creating cross-version compatible documentation with Workbench, one can use Wolfram Workbench to create documentation for user packages that works ...
2
votes
2answers
94 views

Density plot of city data

I try to solve a bit tricky problem. I want define line (or vector) between some geographical points with weights (for example how many transactions has been done between these cities). I tried this ...
6
votes
1answer
53 views

Possible Bug in ProbitModelFit when used in a Dataset

Since upgrading to Mathematica 10 on Mac OSX I have come across a number of instances of this error, which occurs using Probit and Logit model fit. A bit of googling show this is something to do ...
12
votes
4answers
661 views

How to determine the convex hull of some text?

How can I get the co-ordinates of the convex hull of a piece of Text?
4
votes
2answers
176 views

Coordinate extraction and manipulating graphs as graphics objects

Consider the image below: GraphData[{"Wheel", 7}] Is it possible in Mathematica to lay several of these Graph along each ...
5
votes
2answers
164 views

Converting a string into a nested list of strings

The following string can be converted easily into a list with ToExpression ...
27
votes
6answers
626 views

Creating cross-version compatible documentation with Workbench

Wolfram Workbench allows you to create documentation for your own packages that is similar to the build-in documentation center. Integrating this type of documentation with the documentation center is ...
15
votes
4answers
1k views

How to get actual triangles from DelaunayTriangulation[]?

The ComputationalGeometry package has a DelaunayTriangulation[] function. It returns a list of points connected to each point, ...
9
votes
1answer
303 views

How to write plain Greek in a text cell

If I create a text cell and type some greek text, most of the symbols are italics as if the cell had an Input style. It doesn't happen with latin characters. I recollect that it is impossible to fix ...
4
votes
1answer
60 views

How do I speed up a plotting of NIntegrate when repeated multiple times inside Plot?

I am studying a set of functions (many of which I know only as a definite integral) and I have assembled into a list. Here is a sample: ...
5
votes
2answers
442 views

Voronoi Diagram: Displaying site specific color in a voronoi diagram

I am using Voronoi Poligonization as a support form simulating island erosion; my data are the output of VoronoiDiagram, ...
0
votes
0answers
29 views

Shortcut for result before previous result? [on hold]

Suppose I execute a large computation and get a huge list back In[1]:= LargeComputation[] Out[1]:= {32,42,...12030...,220313} Then I do something with that ...
3
votes
1answer
65 views

The front end encountered an error while processing a “NotebookPredictions” packet

I occasionally get the error The front end encountered an error while processing a "NotebookPredictions" packet. I cannot find any documentation for this error message online. It does not ...
3
votes
4answers
85 views

Plot range of a 2-dimensional function as a function depending on one variable

I want to plot a function of 2 variables x and y, for discrete values of y, like: ...
12
votes
2answers
151 views

Export Plots to PNG in Printout Style

When creating a plot in Mathematica 10 (OS X 10.9.4 and Win 7) the FrameLabel and Ticks are greyish and only the Frame itself is black (see Screenshot bellow). Only when exporting the plot to PDF all ...
11
votes
2answers
377 views

How can I prevent ColorFunction from disabling antialiasing in graphics?

When I use ColorFunction, the appearance of my plots is ruined, changing from this which has the normal smooth lines and antialiased fonts, to this in which ...
3
votes
1answer
291 views

rasterListContourPlot With PlotLegends in Mathematica 9

Jens Nöckel has write functions about (List) Contour Plots with rasterized shading in Mathematica: http://pages.uoregon.edu/noeckel/computernotes/Mathematica/rasterContourPlot.html It works well. ...
27
votes
4answers
2k views

Saner alternative to ContourPlot fill

I am producing a large number of ContourPlot objects, which when exported generate notoriously large PDF files because it basically generates lots of little ...
23
votes
7answers
4k views

Changing the background color of a framed plot

I frequently generate framed plots like this: Plot[Sin[x], {x, 0, 2 \[Pi]}, Frame -> True] Is there an easy way to change the background color of the framed ...
2
votes
1answer
102 views

RegionPlot3D run forever when plotting 3D ParametricRegion

when working with 2D, RegionPlot works fine with ParametricRegion as can be seen in this example: ...
3
votes
2answers
302 views

How to plot several functions without jumping? (multiple eigenvalues of a system as functions of 2 parameters)

I've been working on this research problem for months with some success by no global/proper solution to the problem. So I have square, Hermitian matrices of various sizes ($8,20,38$ dimensions) with ...
8
votes
2answers
361 views

Distorted graphics when using custom ticks and AspectRatio -> Full

I am having a problem using custom tick specifications along with AspectRatio -> Full. The problem affects both Ticks and ...
8
votes
0answers
47 views

Hyperlinks not preserved when saving in PDF format in MMA V10

I usually create my course contracts in Mathematica and then save them in PDF format. The notebooks include hyperlinks and these have transferred to PDF without problem over the last several versions ...
13
votes
4answers
587 views

“Indexing” a vector

I need to "index" a vector according to the first occurence of its distinct elements. I have written ...
0
votes
1answer
35 views

Importing additional custom data in DIMACS format

I have graphs in DIMACS format, with vertex colors specified. The vertex colors are denoted by lines n u c, where u is the ...
11
votes
3answers
179 views

Manipulate crashes after running 4 minutes

The following code generates the familiar 3D-plot: ...
2
votes
0answers
38 views

Implementation of the Vector Autoregressive Model

I need to code/write a Vector Autoregressive Model VAR(p) as a function of the parameters. There is no estimation, nor Data involved, this is a "population" exercise: Marginal autoregressions $ ...
12
votes
4answers
224 views

Mismatch between numerical and analytic evaluation of an integral

I evaluated the following integral NIntegrate[Sqrt[r] Abs[Cos[(k + 1/2) Pi r]], {r, 0, 1}] getting as a result 0.413232 for ...
5
votes
2answers
291 views

Mapping data on Archimedes' spiral [duplicate]

I would like to map my data on Archimedes' spiral and preserve the distance between points on the curve. The test data consists of 20 evenly spaced {x,y} ...
31
votes
5answers
2k views

Generating evenly spaced points on a curve

In the KnotData package a simple command such as points = Table[KnotData[{3, 1}, "SpaceCurve"][t], {t, 0, 2 Pi, 0.1}]; will ...
7
votes
2answers
234 views

How to Rasterize in “Printout” style

I am trying to ascertain how large a justified text block will be when printed by rasterizing it in the "Printout" style environment. However, ...
0
votes
0answers
30 views

Retrieve style definitions [duplicate]

How can I retrieve the style definitions of a certain style within a cell, notebook or stylesheet? For example how can I retrieve the FontColor and ...
3
votes
1answer
28 views

Package function not called from button in a DockedCell expression

Consider the following minimal example package: ...
1
vote
2answers
485 views

Faster way to test if an expression equals zero

I want to test if expressions (mix of variables, functions and numbers) are zero valued, as fast as possible, and PossibleZeroQ is sometimes very slow. One solution ...
9
votes
3answers
1k views

Create triangular mesh from random list of points

I have a list of points. I would like to take these points and create a mesh of triangles from them, making sure triangles don't overlap. So here's a list of points: ...
7
votes
1answer
124 views

Strange behavior of `BoundaryMeshRegion`

BoundaryMeshRegion is new function of version 10. I am not familiar with the function. I want to decide whether a point is inside or outside in the Boundary using ...
3
votes
2answers
305 views

Why does this integral have a complex component?

I wanted to find the probability of my normally-distributed random variable being at least 15, so I set up this integral: ...
-1
votes
0answers
27 views

Labelling arrayplot - Tried using transpose, doesn't work [on hold]

A section of my code generates a table of values, where the arrayplot can be found. I tried to label them but it doesn't work: ...
0
votes
0answers
62 views

Boundaries of graphical objects not displayed correctly

I have encountered two situations where Mathematica 10 is mishandling the outer pixels of plainly simple objects. I input this: ...
4
votes
2answers
75 views

Can't solve equation having complex coefficients

Why can't Mathematica solve $\quad\quad\frac{1-i}{\sqrt{2}}=e^{i \alpha } \tan \left(\frac{\beta }{2}\right)$ with the restrictions $\alpha \in [0, 2 \, \pi)$ and $\beta \in [0,\pi]$: ...

15 30 50 per page