You probably want list_plot sage: r = [(random(),random()) for _ in range(20)] sage: list_plot(r, plotjoined=True)
On Sunday, March 13, 2016 at 10:41:25 AM UTC+1, Bob Ewell wrote: > > Hello, all. It's my first time posting here, cause I have only first > learned sage this semester and am using it in a math modeling class and I > really love it. This is my first question I cannot figure out myself by > searching online, though I'm sure it's an amateur question, so bear with me. > > I need to be able to graph a line based on the Y's I have as numbers in > one given sequence, and I know how to do this normally with > "finance.TimeSeries," which simply associate simple X-values from x=0 to > however long the list of Y's is with each Y-value. However, I have a > custom set of X's I have to use with my given sequence of Y's, so how do I > associate them somehow and be able to graph the result? > > Will appreciate any and all answers. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
