| 1 | initial version |
The objects returned by list_plot can be added, and result is a plot that is the superposition of the two plots, so you can do:
sage: list_plot(res_red, color='red') + list_plot(res_blue, color='blue')
| 2 | No.2 Revision |
The objects returned by list_plot can be added, and result is a plot that is the superposition of the two plots, so you can do:
sage: list_plot(res_red, color='red') + list_plot(res_blue, color='blue')
Regarding the shape, you can set a marker option, for example:
sage: list_plot(res_red, color='red', marker='s') + list_plot(res_blue, color='blue', marker='o')
This will make the red dots as squares and the blue dots as circles.
You can get the list of all markers trough the documentation of the plot function, see:
sage: plot?
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.