How can I use colors in my surf, truely?

1 visualizzazione (ultimi 30 giorni)
Ayob
Ayob il 23 Gen 2014
Modificato: Ayob il 23 Gen 2014
I've used surf order with a simple method surf(X,Y,Z). X and Y are p*1 matrices and Z is a p*p matrix. I want to use colors to show me differences for z value, but as you see in my surf colors are not used to show contours for z value and maybe this contour is meaningless. How can I solve the problem?
  2 Commenti
Walter Roberson
Walter Roberson il 23 Gen 2014
Please show the relevant code
Ayob
Ayob il 23 Gen 2014
Modificato: Ayob il 23 Gen 2014
figure(4)
surf(YY,XX,Z)

Accedi per commentare.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 23 Gen 2014
surf(x,y,z,z)
  1 Commento
Ayob
Ayob il 23 Gen 2014
Modificato: Ayob il 23 Gen 2014
I did it, but *it still doesn't work.*

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by