Hi. i want to plot some thing like this picture how can i do this ?
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti

for 110<t<195 -----------> -5<y<5 else y=0
Risposte (2)
Salaheddin Hosseinzadeh
il 5 Giu 2015
0 voti
You may have to do this with two plot commands,
one to create a red line
one to create a gigantic square, which you can do it by plotting a single point in the position of the square.
you have to change the plot marker to some that produces a square, I'm not sure if the square is fulled or not. and increase the font size or marker size
search for plot and find marker and .... properties.
Give it a try
2 Commenti
Thomas Koelen
il 5 Giu 2015
or just use the rectangle function...
david tito
il 5 Giu 2015
david tito
il 5 Giu 2015
0 voti
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!