ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 02 Jul 2019 09:00:09 +0200Octave-like plot function, or, how to plot sequence of points?https://ask.sagemath.org/question/47029/octave-like-plot-function-or-how-to-plot-sequence-of-points/Let's say I have the following set of points: (1, 2), (5, 8), (7, 13), (8, 10), (8.7, 9), (10, 6.3), (13, 2), (15, -1).
I would like to plot a 2D graph passing through them.
In octave, I can do the following:
octave:47> x = [1, 5, 7, 8, 8.7, 10, 13, 15]
octave:48> y = [2, 8, 13, 10, 9, 6.3, 2, -1]
octave:49> plot(x, y)
And I get this [graph](https://drive.google.com/open?id=1iE4hhpcYBGwjAvF45F_hruxKwpl3ccvV).
How can I do something similar in sage?
Hilder Vitor Lima PereiraTue, 02 Jul 2019 09:00:09 +0200https://ask.sagemath.org/question/47029/