how do i put different symbols for 1 matrix in plotting?

2 visualizaciones (últimos 30 días)
Matthieu Clarence
Matthieu Clarence el 5 de Ag. de 2022
Comentada: Rena Berman el 23 de Ag. de 2022
plot(av,'rd'); in this av is the matrix and rd is red and diamond, but how do i put different symbols and color for different row of matrix
  2 comentarios
John D'Errico
John D'Errico el 5 de Ag. de 2022
Editada: John D'Errico el 5 de Ag. de 2022
When you delete your question, you insult the person who bothered to spend their time in answering it, as now the answer is out of context and meaningless. You hurt the site, because now this same person has less incentive to answer questions, and certainly less incentive to anser YOUR questions. You make it impossible for anyone else to learn from the answer.
Rena Berman
Rena Berman el 23 de Ag. de 2022
(Answers Dev) Restored edit

Iniciar sesión para comentar.

Respuestas (1)

Kevin Holly
Kevin Holly el 5 de Ag. de 2022
av = rand(4,15);
plot(1:size(av,2),av(1,:),'rd',1:size(av,2),av(2,:),'cs-',1:size(av,2),av(3,:),'*b:',1:size(av,2),av(4,:),'hg--');

Categorías

Más información sobre Call Python from MATLAB 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