Description:
Mathematica discussion group. (Moderated)
|
|
|
3D plot with orthographic projection
|
| |
Hi, I would like to create a 3D Plot in Mathematica 7 using an orthographic projection instead of the default stereographic mode. So far, I have found that it is possible to give something like "ViewPoint->{0,0,Infinity}" as an option in order to view at the plot from the top plane, using orthographic projection. But the ViewPoint... more »
|
|
Union slowdown when SameTest is specified
|
| |
Hello group! I was a little surprised and puzzled by the following: In[1]:= $Version Out[1]= "7.0 for Mac OS X PowerPC (32-bit) (November 10, 2008)" In[2]:= data = RandomInteger[{1, 10}, {5000, 2, 12}]; Timing[Union[data];] Out[3]= {0.008138, Null} So far so good; so far so speedy. But why does this happen:... more »
|
|
NDSolve to solve a set of "loop" equations
|
| |
Hi, there. I am new to mathematica and recently I am intrigued by the convenience of NDSolve function, since there is no need to write the Runge-kutta like functions myself to solve ODEs. However, if what I want to solve is a list of equations expressed in a loop way, I have no idea how to express it.... more »
|
|
Polynomial rewriting question
|
| |
Consider the following polynomials: Here x,y,z,w,h are variables; rest are constants. (1) x*z-y*z, (2) x^2*w -2*x*y*w +y^2w + p, (3) 2*s+h+x-y When we look closely at these, we notice that everywhere x and y occur, they occur as "x-y". Suppose we let t= x-y, then we can rewrite the above polynomials as (1) tz (2) t^2*w (3) 2*s+h+t.... more »
|
|
Problem with nested StringReplace[]
|
| |
I am trying to match a substring using a regular expression, and right away apply some replacement rules to that substring. Suppose I want to match a substring "bar" and right away replace it using the rule {"bar" -> "baz"}. The following doesn't work: expected: "baz", actual: "bar" StringReplace[... more »
|
|
FullForm of Plot?
|
| |
I know this is kind of a technical question, but I'd like to have a clearer understanding of this if someone is willing to help. A Plot expression Plot[f,List[x,xmin,xmax]] itself appears to be in FullForm. Yet, its FullForm is actually a Graphics expression. I understand that all graphics in Mathematica have the FullForm head Graphics (or... more »
|
|
Precision problem in analytic expression
|
| |
Dear all, I have a problem with some analytic expressions. I want to plot them for different parameters. However, for a certain range of parameters some terms in the expressions get really large. Although these terms cancel out in the end, numerical precision seems to be too small resulting in some differences to the expected result: where it should be (almost)... more »
|
|
DynamicModule Timeout
|
| |
Does anyone know if DynamicModule has a timeout for the Initialization option, and if so what is it? I have a DynamicModule that first needs to load a large amount of data from disk before displaying, and I'm using the Initialization option in DynamicModule to do this. However, it's not working, as after a little while I get a messed up dynamic expression in the... more »
|
|
Bugs in FullGraphics and AbsoluteOptions and temporary workaround
|
| |
Hello, There is one major bug in FullGraphics (as well as in Absolute Options): FullGraphics uses PlotRange from the AbsoluteOptions and fully ignores PlotRangePadding (new in Mathematica version 6) and AxesOrigin (new in 2) options. This is the reason for clipping the X-axis that we see here: g = Plot[Sin[x], {x, 0.2, 10}]... more »
|
|
|