StreamPlot in v. 8
- To: mathgroup at smc.vnet.net
- Subject: [mg117213] StreamPlot in v. 8
- From: Skirmantas Janusonis <janusonis at psych.ucsb.edu>
- Date: Fri, 11 Mar 2011 04:36:23 -0500 (EST)
Hello,
I am not sure why, in Mathematica 8,
StreamPlot[{x, 0}, {x, 0, 200}, {y, 0, 0.01}, StreamPoints -> Fine] and
StreamPlot[{100 - x, 0}, {x, 0, 200}, {y, 0, 5}, StreamPoints -> Fine]
work as expected (almost), but
StreamPlot[{100 - x, 0}, {x, 0, 200}, {y, 0, 0.01}, StreamPoints -> Fine]
doesn't.
It appears StreamPlot tries to avoid the situation in which the X and Y
variables differ by a few orders of magnitude. This approach seems to be
reflected in the forced range of the Y-axis in the first command (which
otherwise works fine). It may make sense in some cases (e.g., when the
change of the direction of arrows becomes imperceptibly small but is not
zero), but the third command is very straightforward and should cause no
such difficulties.
These are distilled versions of a slightly more complex stream plot I
want to build.
Thank you.
Skirmantas Janusonis