2-D plot

3 visualizaciones (últimos 30 días)
Evangelos Rompogiannakis
Evangelos Rompogiannakis el 18 de Nov. de 2020
Comentada: Evangelos Rompogiannakis el 18 de Nov. de 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 !

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 18 de Nov. de 2020
I suggest MATLAB Onramp. Ch 9 covers the basics of plotting. You'll also need Ch 12 (logical arrays).

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by