2-D plot
3 次查看(过去 30 天)
显示 更早的评论
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 !
0 个评论
采纳的回答
Cris LaPierre
2020-11-18
I suggest MATLAB Onramp. Ch 9 covers the basics of plotting. You'll also need Ch 12 (logical arrays).
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!