# Plotting Sequence of Points

How do I plot the sequence {1/n} for n = 1 to 100 in Sage? I browsed plot?, but didn't see it as an option, or I didn't know what it was called.

add a comment

Plotting Sequence of Points

add a comment

2

Try this:

```
points([(n,1/n) for n in range(1,101)])
```

You can use `list_plot`

as well.

Asked: **
2013-08-27 06:43:54 -0600
**

Seen: **1,052 times**

Last updated: **Aug 27 '13**

ATAN2 AssertionError while plotting complex squareroot function

Piecewise functions and legend label

plotting multiple functions from a for loop

Save plot in SVG with plain text strings

How to Change Ticks for Y axis Only?

No legend when plotting list of points

Overlaying plots in a specific order

Please help me to draw f(x) = sin(x) if x<=0 and f(x)=cos(x) if x>1

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.