Borrar filtros
Borrar filtros

How to specify 2 different colors in matlab command ' plotmatrix '?

2 visualizaciones (últimos 30 días)
Richa Sharma
Richa Sharma el 4 de Feb. de 2015
I am trying to generate a plot using plotmatrix(X) with row 1:8 of X in blue and 9:16 of X in red color. How to specify 2 different colors in matlab command ' plotmatrix '?
plotmatrix(X,'*r') is plotting entire dataset of X in red color. plotmatrix(X(1:8,:),'*b',X(9:16,:),'*r') gives error.
Richa

Respuestas (0)

Categorías

Más información sobre Graphics Object Identification en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by