Thread Subject: fixe colors scale on contourf annimate plot

Subject: fixe colors scale on contourf annimate plot

From: Jonathan Roy

Date: 24 Nov, 2009 15:46:03

Message: 1 of 1

Hi!

I'm ploting a contourf of soil temperature who evoluate at each minute (I just refresh the plot). My problem is that scale of temperature change at each refresh and it is imposible to realy observe the real evolution of temperature in this annimation due to the scale change.

this is my code:

figure(1)
     contourf(medium.temp_actuelle,10)
      hcb = colorbar('horiz');
      caxis([6 100])

for turn = 1:n
   
     [medium, nb_iteration_total] = Laplace(medium,tableau_voisin, NB_TURNS);

     figure(1)
           contourf(medium.temp_actuelle,10)
           caxis([6 100])
           hcb = colorbar('horiz');
end
...

caxis fixe my colorbar only and I have try freeze without good results...

thx for your help!

John

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
contourf Jonathan Roy 24 Nov, 2009 10:49:20
zaxis Jonathan Roy 24 Nov, 2009 10:49:20
caxis Jonathan Roy 24 Nov, 2009 10:49:20
annimate plot Jonathan Roy 24 Nov, 2009 10:49:20
rssFeed for this Thread

Contact us at files@mathworks.com