Scatter plot with only two colors

1 view (last 30 days)
eshwar kannan
eshwar kannan on 31 Jul 2014
Edited: Andrew Reibold on 31 Jul 2014
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 Comments
Adam
Adam on 31 Jul 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 on 31 Jul 2014
Edited: Andrew Reibold on 31 Jul 2014
I also do not understand the question.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!