Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Plotting in Sage

I have some numbers in two separate arrays, and I want to plot them in such a way that the end result looks more or less like this:

image description

Currently, I have a code that looks like this:

res_blue = [...] # data for the blue crosses (removed for brevity)
res_red = [...] # data for the red crosses (removed for brevity)

list_plot(res_red, color='red')

But, instead the above code generates only plot with red dots. Any ideas how to plot something similar to the above image?

Plotting in Sage

I have some numbers in two separate arrays, and I want to plot them in such a way that the end result looks more or less like this:

image description

Currently, I have a code that looks like this:

res_blue = [...] # data for the blue crosses circles (removed for brevity)
res_red = [...] # data for the red crosses (removed for brevity)

list_plot(res_red, color='red')

But, instead the above code generates only plot with red dots. Any ideas how to plot something similar to the above image?

Plotting in Sage

I have some numbers in two separate arrays, and I want to plot them in such a way that the end result looks more or less like this:

image description

Currently, I have a code that looks like this:

res_blue = [...] # data for the blue circles (removed for brevity)
res_red = [...] # data for the red crosses (removed for brevity)

list_plot(res_red, color='red')

But, instead the above code generates only plot with red dots. Any ideas how How can I combine the two arrays in the same plot, choose their color and the shape to plot something similar to be put in the above image?plot?