Questions tagged [mathematica-8]

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/

199 questions
4
votes
3 answers

Logarithmically spacing number

I would like to test several values of intensity. I need them to be spaced logarithmically from 1 to 1000. Yet I just use 1, 10, 100, 1000, but I would like to have more data point, let`s say 10. How could I find 10 logarithmically spaced number…
500
  • 6,509
  • 8
  • 46
  • 80
4
votes
1 answer

Mathematica support for non-Wolfram math fonts

Does Mathematica support the installation of non-Wolfram fonts for math symbols? Examples of other math symbol fonts include the recently released STIX fonts, Microsoft's Cambria font, the Math Times font used under Latex, etc.
StackExchanger
  • 245
  • 1
  • 6
4
votes
2 answers

EdgeLabels in a Web Structure Visualization

I've been playing around with Mathematica's visualization and webcrawling capabilities. Building on some demonstration code, I'm able to visualize the a network. Here's an example on a university webpage: webcrawler[rooturl_, depth_] := …
canadian_scholar
  • 1,315
  • 12
  • 26
4
votes
3 answers

Interpolation in mathematica

Please consider the following distribution : rs={{400, 0.00929}, {410, 0.0348}, {420, 0.0966}, {430, 0.2}, {440, 0.328}, {450, 0.455}, {460, 0.567}, {470, 0.676}, {480, 0.793}, {490, 0.904}, {500, 0.982}, {510, 0.997}, {520,0.935}, {530,…
500
  • 6,509
  • 8
  • 46
  • 80
4
votes
2 answers

Weird behavior of InterpolationOrder option of Interpolation

When trying to recreate an InterpolationFunction produced by NDSolve I faced very strange problem with InterpolationOrder option of Interpolation. Consider the following InterpolationFunction (an example function from the Documentation): ifun =…
Alexey Popkov
  • 9,355
  • 4
  • 42
  • 93
4
votes
1 answer

How can I get a Histogram to display bins as a percentage in Mathematica?

I'm currently able to generate a histogram with values on the y-axis between 0.0 and 1.0 using hspec "Probability", but I was wondering if there was a way to display it as a percentage instead (this would change nothing but the labelling of the…
ダンボー
  • 409
  • 4
  • 13
4
votes
4 answers

Processing KMZ in Mathematica

I'm stuck on a conversion. I have a KMZ file with some coordinates. I read the file like this: m=Import["~/Desktop/locations.kmz","Data"] I get something like this: {{LayerName->Point Features, Geometry->{ Point[{-120.934,49.3321,372}], …
Ron
  • 133
  • 5
4
votes
4 answers

Combinatorica`PlanarQ doesn't work

g1=Graph[{UndirectedEdge[a,b]}]; GraphQ[g1] (* OUT: True *) (*Needs["Combinatorica`"]*) PlanarQ[g1] (* OUT: PlanarQ[.-.] *) Combinatorica`PlanarQ[g1] (* OUT: Combinatorica`PlanarQ[.-.] *) Why doesn't PlanarQ give back "True"…
4
votes
1 answer

Bug in Integrate vs NIntegrate in mma8

What is going on here (Mathematica version 8.x): NIntegrate[Log[1/2 + Sqrt[1/4 - 1/(4 x^2)]]/x, {x, 1, Infinity}] --> -0.171007 Integrate[Log[1/2 + Sqrt[1/4 - 1/(4 x^2)]]/x, {x, 1, Infinity}] // N --> 0.171007 The NIntegrate[] value is correct. I…
Timo
  • 4,246
  • 6
  • 29
  • 42
4
votes
1 answer

Using NIntegrate inside NDSolve

I am trying to numerically solve a partial differential equation, where the inhomogeneous term is an integral of another function. Something like this: NDSolve[{D[f[x, y], x] == NIntegrate[h[x,y+y2],{y2, x, y}],f[0,y] == 0}, f, {x, 0, 1},…
user1477337
  • 385
  • 2
  • 9
3
votes
1 answer

How to plot a 3d graph starting from a set of points as a ground XY base

This question might seem a little strange but for my purposes is not that crazy. Its easy but I need you to follow me. The aim My aim is plotting a tridimensional graph. The problem The problem is the material I have in my hands to start building…
Andry
  • 16,172
  • 27
  • 138
  • 246
3
votes
3 answers

How to sort N lists by the total sum of elements of each list with Mathematica?

Given a list containing k sublists, let A={{a1,a2,a3,...},{b1,b2,b3,...},...}, I want to sort those sublists by their Total[A[i]]. Is there any efficient way to make this?
Osiris Xu
  • 713
  • 1
  • 5
  • 13
3
votes
2 answers

Mathematica, FrameTicks inconsistency across different kinds of plots

I came across some unexpected inconsistencies when further developing the solution to an earlier question: How can I show % values on the y axis of a plot? This seemed different enough to merit a new post. Starting with the same data: data =…
Jagra
  • 3,149
  • 1
  • 18
  • 19
3
votes
1 answer

How can I test for bivariate normality using Shapiro-Wilk test in Mathematica?

I've computed the Pearson correlation coefficient between two lists and am now trying to verify whether these two data sets are normally distributed in order to ascertain the validity of the the correlation. From What I've read in the documentation,…
ダンボー
  • 409
  • 4
  • 13
3
votes
5 answers

Line Style using Graphics3D in Mathematica

Consider the following : cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0}, {0, 1, 0}}, {{0, 0,0}, {1, 0, 0}}}; Graphics3D[{Line /@ cAxes}, Boxed -> False] How can Style differently the 3 lines ?
500
  • 6,509
  • 8
  • 46
  • 80