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
6
votes
1 answer
Mathematica: Text in Graphics3D relative to image coordinates
Mathematica documentation states: "Text in three-dimensional graphics is placed at a position that corresponds to the projection of the point {x,y,z} specified. Text is drawn in front of all other objects". How do you position the text relative to…

jmlopez
- 4,853
- 4
- 40
- 74
6
votes
2 answers
A problem in Mathematica 8 with function declaration
This is a strange result with a function defined as "functionB" in this example. Can someone explain this? I want to plot functionB[x] and functionB[Sqrt[x]], they must be different, but this code shows that functionB[x] = functionB[Sqrt[x]], which…

Nam Nguyen
- 165
- 5
6
votes
3 answers
Prevent auto-layout of Graph[] objects in Mathematica 8
Some types of objects have special input/output formatting in Mathematica. This includes Graphics, raster images, and, as of Mathematica 8, graphs (Graph[]). Unfortunately large graphs may take a very long time to visualize, much longer than most…

Szabolcs
- 24,728
- 9
- 85
- 174
5
votes
3 answers
Neural Networks package in Wolfram Mathematica is not Parallel?
I just created a VERY large neural net, albeit on very powerful hardware, and imagine my shock and disappointment, when I realized that NeuralFit[] from NeuralNetworks` package only seems to use one core, and not even to its fullest capacity. I was…

Gregory Klopper
- 2,285
- 1
- 14
- 14
5
votes
1 answer
How can the state (active or not) of a scheduled task be queried?
What is the preferred way to check whether a scheduled task is active or not?
I'll outline my solution below, but I am not sure this is indeed the best way to do it.
A scheduled task is created like this:
In[1]:=…

Szabolcs
- 24,728
- 9
- 85
- 174
5
votes
3 answers
What is the minimal difference in RGB color values which Mathematica renders and exports as different colors?
I was amazed when I found that Mathematica gives True for the following code (on 32 bit Windows XP with Mathematica 8.0.1):
Rasterize[Graphics[{RGBColor[0, 0, 0], Disk[]}]] ===
Rasterize[Graphics[{RGBColor[0, 0, 1/257], Disk[]}]]
What is the…

Alexey Popkov
- 9,355
- 4
- 42
- 93
5
votes
1 answer
White area in Mathematica ListPlot
When I create and plot this list:
var = 2;
okList = {{0.8, var, 0.8, 0.8}, {0, 0.3, 0.6, 0.9}, {0, 1, 2, 3}};
lp = ListDensityPlot[okList, ColorFunction -> "SandyTerrain"]
or, unscaled, like this:
lp = ListDensityPlot[okList, ColorFunction ->…

Samizdis
- 1,591
- 1
- 17
- 33
5
votes
2 answers
Subkernel memory control in Mathematica
I have a somewhat similar question as:
Mathematica running out of memory
I am interested in something like this:
ParallelTable[F[i], {i, 0, 14.9, 0.001}]
where F[i] is a complicated numerical integral (I haven't yet found an easy way to reproduce…

Michael Schuett
- 51
- 2
5
votes
1 answer
ComponentMeasurements[ _ ,"Centroid"] results offset
I need to get the Center of Mass (Centroid) for components in a set of binary images with subpixel accuracy.
Mathematica 8 comes with a nice addition:
i = Import@"https://i.stack.imgur.com/2pxrN.png";
m1 =…

Dr. belisarius
- 60,527
- 15
- 115
- 190
5
votes
2 answers
Graph[] cuts off vertex labels in Mathematica
Graph[] has a tendency to cut off vertex labels in Mathematica. I am looking for a robust workaround.
Example:
Graph[{1 -> 2, 2 -> 3, 3 -> 1}, VertexLabels -> "Name"]
My present workaround:
SetOptions[Graph, ImagePadding -> 12]
This is not…

Szabolcs
- 24,728
- 9
- 85
- 174
5
votes
1 answer
Write below keyboard shortcut
It used to be Ctrl+= in Mathematica 7, but in Mathematica 8 instead of writing below this shortcut starts free-form input. The documentation at tutorial/KeyboardShortcutListing hasn't been updated. Which shortcut is now used for writing below?

Max
- 19,654
- 13
- 84
- 122
4
votes
2 answers
Remote parallel kernels and LibraryLink -- how to make them work together?
Does anyone have experience using C extensions to Mathematica (LibraryLink or MathLink -- currently I'm using LibraryLink) with remote parallel kernels?
In short: How can I transparently use a LibraryLink-defined function (see CreateLibrary and…

Szabolcs
- 24,728
- 9
- 85
- 174
4
votes
1 answer
Mathematica Goal Programming Model definition
I am evaluating Wolfram Mathematica 8 for a university course project.
I am having difficulties to define a Goal Programming model.
First because I am really scarce in math :) Second, because what I found in the official documentation (look for…
user237076
4
votes
2 answers
Match legend and Plot size
Please Consider :
intense = Reverse[Round[Rationalize /@ N[10^Range[0, 3, 1/3]]]];
values = Range[0, 9/10, 1/10];
intensityLegend = Column[Prepend[MapThread[
Function[{intensity, values},
…

500
- 6,509
- 8
- 46
- 80
4
votes
3 answers
Multiple directives for listPlot
daList={{0.059, 0.298, 0.726, 0.735, 1.461, 2.311, 3.315},
{0.05, 0.404,0.664, 0.782, 1.376, 2.328, 3.432},
{0.087, 0.628, 0.986, 1.187,1.914, 3.481, 4.993},
{0.073, 0.594, 0.975, 1.147, 2.019, 3.417,5.037},
…

500
- 6,509
- 8
- 46
- 80