Scatter plot with only two colors

Hallo,
I am sorry to ask this silly question (I searched a lot, but i could find a way only to plot each values in different colours).
I would like to make a scatter plot with only two colours, i.e .. one colour represents the values of X-axis and another represents the value of y-axis.
Thanks in advance.
Regards,
Raja

2 个评论

I'm not sure I understand what you mean. Every point in a scatter plot will have both an x-value and a y-value so which colour would you apply to which point?
I also do not understand the question.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by