Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: New Plot output in version 5

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44278] RE: [mg44247] New Plot output in version 5
  • From: "Charles" <mathbone at isp01.net>
  • Date: Tue, 4 Nov 2003 03:23:49 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Mariusz,

Certainly is a strange behavior.  I tried teh following:

Resize[m_, s_] := Module[{},
      a = Flatten[m];
      ii = s[[1]]; jj = s[[2]];
      If[ii*jj == Length[a],
        Table[a[[jj(i - 1) + j]], {i, 1, ii}, {j, 1, jj}], Print["
      Resize Error: Not Correct Dimension"]]];
p = Table[Plot[UnitStep[
        x], {x, -1, i}, DisplayFunction -> Identity], {i, 1, 20}];
Resize[p, {4, 5}];
Show[GraphicsArray[%]]


It looks like the specified range kick in around [-1,12].  Not sure why it
does this, though. Wish I could help more.

Charles


+++++++++++++++++++++++
I just noticed that Plot no longer obeys the domain limits given by its
second argument. Try the following to reproduce my result:

Plot[UnitStep[x], {x,-1,5}]

This cannot possibly be a feature change, can it? I know I can force the
desired behavior by using PlotRange, but why should I need to repeat myself?
(At home, with my kids, I am used to it, but with Mathematica ... )


Mariusz



  • Prev by Date: Solving a matrix equation
  • Next by Date: Report using Fit
  • Previous by thread: Re: Solving a matrix equation
  • Next by thread: Re: New Plot output in version 5