For questions specific to version 8.x.x of Wolfram Mathematica, or not applicable to versions 7 or earlier. Dedicated Mathematica Stack Exchange site: https://mathematica.stackexchange.com/
Questions tagged [mathematica-8]
199 questions
12
votes
5 answers
Can we show some Dynamics/CDF in PowerPoint or Keynote ?
I want to show some dynamic content in a presentation. However, I am not sure I have time by Thursday to make slides in the way I would like to within Mathematica.
Is it possible to have Dynamic objects built in Mathematica within A Powerpoint…

500
- 6,509
- 8
- 46
- 80
11
votes
1 answer
Saving FittedModel is buggy
With Mathematica 7 and 8 we have discovered that Mathematica fails to properly Save and Get the result of a fitting routine. I am hoping someone here knows: What is the best practice workaround for this bug?
Our task is that we are fitting lots of…

Chris Kuklewicz
- 8,123
- 22
- 33
11
votes
3 answers
GCC installed. Mathematica still won't compile to C
I'm running Mathematica 8 on a MacOSX, trying to compile even the simplest program to C. Anything having to do with C simply doesn't work in Mathematica. I have GCC 4.2 installed; I've even reinstalled it multiple times with XCode. Here's what I'm…

John Matok
- 157
- 1
- 12
11
votes
3 answers
mathematica 8.0 and psfrag
I recently updated from mathematica 7.0 to 8.0, and have now encountered problem with replacing my plot labels with LaTeX code using the psfrag package. Everything worked perfectly with the earlier version and the exact same plots, but now psfrag…

pmt
- 113
- 1
- 4
10
votes
3 answers
NIntegrate - why is it much slower in Mathematica 8 in this given case?
I have a Mathematica code where I have to evaluate numerically thousands of integrals similar to this one
NIntegrate[
(Pi*Cos[(Pi*(-2*x + y))/(1 + y)] + (1 + y)*(-Sin[(2*Pi*x)/(1 + y)] +
Sin[(Pi*(-2*x + y))/(1 + y)]))/(E^x*(1 + y)),
…

user1091201
- 103
- 1
- 5
10
votes
2 answers
How to use Mathematica functions in Python programs?
I'd like to know how can I call Mathematica functions from Python.
I appreciate a example, for example, using the Mathematica function Prime.
I had search about MathLink but how to use it in Python is a little obscure to me.
I tried to use a…

GarouDan
- 3,743
- 9
- 49
- 75
9
votes
2 answers
Using NProbability[] or Probability[] to work out the probability of 3 or more Heads from 4 coin tosses
Is it possible to work out the probability of 3 or more Head from 4 coin tosses using the Probability or NProbability functions.
This is not a question about the trivial answer to this problem, it is more to get an understanding of how to solve this…

Bart
- 225
- 2
- 5
9
votes
3 answers
Is it possible to control style of digits in Mathematica?
I use the Constantia font (that came with Windows 7) for my book and would like to prepare graphics for this book using the same font in Mathematica. Problem is that that Constantia by default outputs oldstyle digits. I know that, e.g. in XeTeX, it…

Igor
- 265
- 1
- 9
9
votes
2 answers
Mathematica: 3D wire frames
Does Mathematica support hidden line removal for wire frame images? If this isn't the case, has anybody here ever come across a way to do it? Lets start with this:
Plot3D[Sin[x+y^2], {x, -3, 3}, {y, -2, 2}, Boxed -> False]
To create a wire frame…

jmlopez
- 4,853
- 4
- 40
- 74
8
votes
3 answers
Avoid repeated calls to Interpolation
I want to interpolate a function in mathematica.
The function depends on a parameter a, in fact it is the inverse of a function F which also depends on a, so I build my approximation as follows,
approx = Interpolation[Table[{F[0.1 n, a], 0.1 n},…

mark
- 635
- 1
- 6
- 11
8
votes
1 answer
Place an image on the XY plane in a 3D Plot in Mathematica
Please consider the following, from the followings from
Can we generate "foveated Image" in Mathematica
Clear[acuity];
acuity[distance_, x_, y_, blindspotradius_] :=
With[{\[Theta] = ArcTan[distance, Sqrt[x^2 + y^2]]},
…

500
- 6,509
- 8
- 46
- 80
8
votes
4 answers
Formatting usage messages
If you take a look at the Combinatorica package in Mathematica8 in (mathematicapath)/AddOns/LegacyPackages/DiscreteMath/Combinatorica.m you will find the definitions of functions. What I'm interested to know is how Mathematica knows how to format…

jmlopez
- 4,853
- 4
- 40
- 74
7
votes
3 answers
How to stop barchart from hiding labels for data value 0 in Mathematica?
I use this to create a Bar Chart:
BarChart[
Reverse@data,
BarOrigin -> Left,
ChartLabels ->
Placed[{Reverse@labels, Reverse@data}, {Before, After}],
ChartElementFunction -> "FadingRectangle"
]
With data = {7, 10, 0, 6, 0, 3, 5} this…

Mr Alpha
- 1,813
- 1
- 16
- 26
7
votes
4 answers
How can I show % values on the y axis of a plot?
In any Mathematica chart or plot how can I show % values on the y axis?
I may have data like this:
data = {{{2010, 8, 3}, 0.}, {{2010, 8, 31}, -0.052208}, {{2010, 9, 30},
0.008221}, {{2010, 10, 29}, 0.133203}, {{2010, 11, 30},
0.044557},…

Jagra
- 3,149
- 1
- 18
- 19
7
votes
2 answers
Style dynamic value
Can I apply Style to the output of "Labeled" in the below ?
Manipulate[\[Lambda],
Control@{{\[Lambda], 401,
Style[" \[Lambda]", Black, Bold, 24]},
Range[401, 570, 1],
ControlType -> Slider,
ControlPlacement -> Bottom,
Appearance ->…

500
- 6,509
- 8
- 46
- 80