In Mathematica 7, I entered(adsbygoogle = window.adsbygoogle || []).push({});

I wanted this to display a dot at each of the 8 points of w,Code (Text):u = {1, 2, 3, 5, 7, 8, 10, 11}; v = {1, 2, 4, 5, 4, 3, 1, 1}; w =

Transpose[{u, v}]; ListPlot[w, PlotRange -> All,

AspectRatio -> 1/1]

{{1, 1}, {2, 2}, {3, 4}, {5, 5}, {7, 4}, {8, 3}, {10, 1}, {11, 1}},

and to show them on a diagram whose axes have the same scale. Instead, it displays a dot at these 4 points only

{{2, 4}, {5, 5}, {7, 4}, {8, 3}},

and the gaps between integers are much smaller on the horizontal axis. Replacing 1/1 with Automatic produces axes of a similar scale, but they look untidy because only every other integer is labelled on the horizonal axis, whereas every integer is labelled on the vertical axis. Replacing All with Full makes no visible difference.

The axes are at least long enough to accomadate all of the correct points: the vertical one goes up to 5, the horizontal to 11.

Why doesn't it plot the right points? Why does it not plot the full amount of points? Why doesn't 1/1 give equally scaled axes? How can I plot all of the right points on equally scalled axes with all integers labelled on both axes?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica: ListPlot weirdness

Loading...

Similar Threads for Mathematica ListPlot weirdness |
---|

Mathematica Storing Mathematica output |

Mathematica Mathematica to MATLAB |

Mathematica Cannot do the integral of the Hyper-geometric function? |

Mathematica Cannot Plot This Function in Mathematica |

Mathematica While Loop in Mathematica |

**Physics Forums | Science Articles, Homework Help, Discussion**