How to fill only half of the rectangle with any color?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Chandra Kishore Danduri
il 30 Gen 2018
Risposto: Harish Ramachandran
il 2 Feb 2018
How to fill only half of the rectangle with any color?
2 Commenti
Risposta accettata
Harish Ramachandran
il 2 Feb 2018
Something which I would try is to fill the entire rectangle A.
Modify the rectangle A's position properties to be halved (depending on which half). Now create a second rectangle B which is transparent (no fill) to start from the boundary of rectangle A.
Now you'll have two rectangles. However, it gives an illusion that it is a single rectangle in your application / use case.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Color and Styling in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!