Skip to main content
General cleanup
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

ListPlot[..., ListPlot with PlotRange  ->Automatic] problem> Automatic giving unexpected results in V.9

There seem to be a problem with ListPlot auto ranging in MathematicaMathematica 9. 

Here's themy code:

n = 10;
dn = 10;
data = Table[
   If[
    Divisible[iTable[If[Divisible[i - n, dn],
    i,
    1
    ]1],
   {i, 1,  100}
   ];
ListPlot[data, PlotRange -> Automatic]

In version 8 it works as expected (y rangeranges from 0 to 100), but in version 9 it only shows ysy going from 0 to 2. Is there something wrong with my code? A bug in MMAMathematica?

ListPlot[..., PlotRange->Automatic] problem

There seem to be a problem with ListPlot auto ranging in Mathematica 9. Here's the code:

n = 10;
dn = 10;
data = Table[
   If[
    Divisible[i - n, dn],
    i,
    1
    ],
   {i, 1,  100}
   ];
ListPlot[data, PlotRange -> Automatic]

In version 8 it works as expected (y range from 0 to 100), but in version 9 it only shows ys from 0 to 2. Is there something wrong with my code? A bug in MMA?

ListPlot with PlotRange  -> Automatic giving unexpected results in V.9

There seem to be a problem with ListPlot auto ranging in Mathematica 9. 

Here's my code:

n = 10;
dn = 10;
data = Table[If[Divisible[i - n, dn], i, 1], {i, 1,  100}];
ListPlot[data, PlotRange -> Automatic]

In version 8 it works as expected (y ranges from 0 to 100), but in version 9 it only shows y going from 0 to 2. Is there something wrong with my code? A bug in Mathematica?

Source Link
Max
  • 291
  • 1
  • 9

ListPlot[..., PlotRange->Automatic] problem

There seem to be a problem with ListPlot auto ranging in Mathematica 9. Here's the code:

n = 10;
dn = 10;
data = Table[
   If[
    Divisible[i - n, dn],
    i,
    1
    ],
   {i, 1,  100}
   ];
ListPlot[data, PlotRange -> Automatic]

In version 8 it works as expected (y range from 0 to 100), but in version 9 it only shows ys from 0 to 2. Is there something wrong with my code? A bug in MMA?