Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have an array just evaluated to be

: s[2]


But when next step of:
Plot[s[i],{i,0,2}] expecting to see results I get (blank page?) :enter image description here

share|improve this question

closed as too localized by rm -rf Nov 24 '12 at 5:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You should spend some time reading through the documentation for Plot and ListPlot to learn what they do. This is easily answered with a simple lookup in the documentation. –  rm -rf Nov 24 '12 at 5:16

1 Answer 1

You need to use ListPlot. For example:

s[i_] = i^2;
ListPlot[Table[s[i], {i, 1, 10}], PlotStyle -> PointSize[Large]]

Mathematica graphics

share|improve this answer
DiscretePlot would be even better here. –  Sjoerd C. de Vries Nov 24 '12 at 9:15
Thanks, I did not know about that command. Very handy. –  JohnD Nov 24 '12 at 16:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.