# 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.

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 -0500
**

Seen: **799 times**

Last updated: **Aug 27 '13**

plot sage Graphics() from jupyter notebok in CoCalc

How to make two plots on a different scale

plot issue with a self-defined piecewise function

ATAN2 AssertionError while plotting complex squareroot function

sage.plot.plot3d.shapes2.Line() does not work in the cloud

automatic zordering with plots

No legend when plotting list of points

No result in published worksheet

How to change the default program which open the 2D picture which the plot producted?

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.