2-D plot

3 vues (au cours des 30 derniers jours)
Evangelos Rompogiannakis
Evangelos Rompogiannakis le 18 Nov 2020
Hello!
I have a task to create a 2-D plot with (x,y). On this plot I have to show
if x < y ,then all these points should be coloured red .
if x > 11,then the points should be coloured green .
Could you please help me on how to plot this (xy) graph ?
Thank you !

Réponse acceptée

Cris LaPierre
Cris LaPierre le 18 Nov 2020
I suggest MATLAB Onramp. Ch 9 covers the basics of plotting. You'll also need Ch 12 (logical arrays).
  1 commentaire
Evangelos Rompogiannakis
Evangelos Rompogiannakis le 18 Nov 2020
Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by