Do

x = [1,2,3,4,5]
y = [10,40,100,20,35]
line(zip(x,y))

Type line? for more details.

https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2017-01-27-142848-plot.sagews

On Fri, Jan 27, 2017 at 10:46 AM, Milan Somora <milansom...@gmail.com> wrote:
> Hi,
>
> please, i need to display these values:
>
> 1, 2, 3, 4, 5 for X axis
> 10, 40, 100, 20, 35 for Y axis
>
> In Matlab I do it so:
>
> x = [1 2 3 4 5];
> y = [10 40 100 20 35];
> plot(x,y)
>
> I send my image (graph from Matlab). Thank you very much for help!
> MS
>
> --
> 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 sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to