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 commentaires

Adam
Adam le 31 Juil 2014
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?
Andrew Reibold
Andrew Reibold le 31 Juil 2014
Modifié(e) : Andrew Reibold le 31 Juil 2014
I also do not understand the question.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by