Bonjour,
comme le dit le titre, j'ai un problème d'utilisation de clabel.
Mon but est de faire un graphe en couleur avec la fonction contour et d'y faire apparaitre les isocontours.

Voici mon code et le message d'erreur:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
phi=[-85:10:85];
z=15:50;
F=8+2*randn(36,18);
cline=[0:1:20];
[c2,h2]=contour(phi,z,F,cline);
clabel(c2,h2)
??? Undefined variable "RandStream" or class "RandStream.getDefaultStream".
 
Error in ==> specgraph.contourgroup.refresh>rands at 683
dflt = RandStream.getDefaultStream();
 
Error in ==> specgraph.contourgroup.refresh>LdrawLabels at 530
    start = 1.5*len_lab + max(len_lab,slop)*rands(1); % Randomize start
 
Error in ==> specgraph.contourgroup.refresh at 196
            LdrawLabels(this);
 
Error in ==> specgraph.contourgroup.schema>LdoDirtyAction at 265
        refresh(h);
 
Warning: Error occurred while evaluating listener callback. 
> In specgraph.contourgroup.schema>LdoShortDirtyAction at 256
  In clabel at 84
Pouvez vous m'expliquer comment faire?
Merci